Merge lp:~mrazik/unity/tests-feedback-from-nice into lp:unity

Proposed by Martin Mrazik
Status: Work in progress
Proposed branch: lp:~mrazik/unity/tests-feedback-from-nice
Merge into: lp:unity
Diff against target: 92 lines (+22/-8)
4 files modified
manual-tests/Dash.txt (+6/-4)
manual-tests/Launcher.txt (+10/-4)
manual-tests/Panel.txt (+3/-0)
manual-tests/WindowButtons.txt (+3/-0)
To merge this branch: bzr merge lp:~mrazik/unity/tests-feedback-from-nice
Reviewer Review Type Date Requested Status
Thomi Richards (community) quality Needs Fixing
jenkins (community) continuous-integration Needs Fixing
Review via email: mp+116651@code.launchpad.net

Commit message

Improving manual test-cases based on the feedback from nice.fi.

Description of the change

Our test-contractor (nice.fi) had few difficulties with the current test-cases. This MP is incorporating their feedback.

To post a comment you must log in.
Revision history for this message
Martin Mrazik (mrazik) wrote :

8 -#. Open the Dash - there shouldn't be any results displayed, since this user
9 - account didn't interact with anything yet
10 +#. Open the Dash

I think this needs some more info -- I've removed the "there shouldn't be any results displayed" part as it is not true. Even in guest session you have a section with recent apps and you can see stuff like thunderbird there.This confused our testers enough to make them think something is wrong.

Revision history for this message
MC Return (mc-return) wrote :

RhytmBox -> Rhythmbox

2522. By Martin Mrazik

correct spelling of Rhythmbox

Revision history for this message
jenkins (martin-mrazik+qa) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Martin Mrazik (mrazik) wrote :

The failure above is clearly not related to this MP.

Revision history for this message
jenkins (martin-mrazik+qa) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote :

Hi Martin,

IMO these tests could still use some fixing:

18 +#. Make sure you already opened a music file using your Unity desktop (e.g. by
19 + playing it with Rhythmbox). Downloading a file, e.g. using a Firefox will not
20 + show the music in the Music Lens (see the steps below).
21 +

I think this needs to be more explicit. We ship a bunch of sound files in /usr/share/sounds, so how about something like:

 #. Open Rhythmbox
 #. Inside Rhythmbox, open the file /usr/share/sounds/some_sound_file.ogg
 #. Click Play.

39 + * Assert: The numbers [0-9] should be displayed overlaid on the icons
40 + (0 is the last number as it is the 10th icon). If there are more than 10
41 + application icons they don't have any overlaid numbers.

I don't think we should be using the word "Assert" in the test text. Also, instead of using the word "should" we should say "must". Finally, I think multiple-sentence outcome statements like this one should be broken down. I suggest replacing the above with the following:

 * The numbers 0-9 must be overlaid on the icons starting with the first icon after the BFB.
 * After the 10th icon, icons must have no overlay text displayed.
 * The workspace switcher must have an overlay text of "s"
 * The trash can icon must have an overlay text of "t"

review: Needs Fixing (quality)
Revision history for this message
Martin Mrazik (mrazik) wrote :

Some more feedback from nice.

On 07/27/2012 11:44 AM, Slade Martin wrote:
> Hi,
>
> Thank you for the updates. I just have one query for the ' Dash no-results-hint' test case.
> With the changes is this test testing anything?
> As the purpose of the test was:
> "This tests that the text displaying "Sorry nothing matches your search" is hidden when results are present (even in hard-to-automatically-test scenarios)."
>

You are right. I will find out what changed and will update (or delete?) the test-case accordingly.

Unmerged revisions

2522. By Martin Mrazik

correct spelling of Rhythmbox

2521. By Martin Mrazik

improved some test-cases based on feedback from nice.fi

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'manual-tests/Dash.txt'
2--- manual-tests/Dash.txt 2012-07-12 12:03:05 +0000
3+++ manual-tests/Dash.txt 2012-07-25 14:34:22 +0000
4@@ -88,8 +88,7 @@
5
6 Actions:
7 #. Start guest session
8-#. Open the Dash - there shouldn't be any results displayed, since this user
9- account didn't interact with anything yet
10+#. Open the Dash
11 #. Run an application not present in the launcher (for example gedit)
12 #. Close previously opened application
13
14@@ -201,10 +200,13 @@
15 -----------------------------------
16
17 Setup:
18+#. Make sure you already opened a music file using your Unity desktop (e.g. by
19+ playing it with Rhythmbox). Downloading a file, e.g. using a Firefox will not
20+ show the music in the Music Lens (see the steps below).
21+
22+Actions:
23 #. Open the Dash (Super).
24 #. Go to the Music Lens.
25-
26-Actions:
27 #. Drag any music file into the Firefox icon on the launcher.
28
29 Expected Result:
30
31=== modified file 'manual-tests/Launcher.txt'
32--- manual-tests/Launcher.txt 2012-07-20 02:24:47 +0000
33+++ manual-tests/Launcher.txt 2012-07-25 14:34:22 +0000
34@@ -502,11 +502,15 @@
35
36 Actions:
37 * Hold down Super until the "Keyboard Shortcuts" screen appears
38- * Assert: The numbers [1-9] should be displayed overlaid on the icons.
39+ * Assert: The numbers [0-9] should be displayed overlaid on the icons
40+ (0 is the last number as it is the 10th icon). If there are more than 10
41+ application icons they don't have any overlaid numbers.
42 "Keyboard Shortcut" menu should appear as well.
43 * Mouse over an icon in the launcher
44 * Hold down Super until the "Keyboard Shortcuts" screen appears
45- * Assert: The numbers [1-9] should be displayed overlaid on the icons.
46+ * Assert: The numbers [0-9] should be displayed overlaid on the icons
47+ (0 is the last number as it is the 10th icon). If there are more than 10
48+ application icons they don't have any overlaid numbers.
49 "Keyboard Shortcut" menu should appear as well.
50
51 Expected Result:
52@@ -612,9 +616,11 @@
53
54 Actions:
55 * Open Nautilus
56- * Mount an internal partition using the sidebar
57+ * There is a "Devices" section in the upper left corner of nautilus
58+ * Mount one of the devices there by clicking on it
59 * Make sure the launcher has the launcher icon for the partition
60- * Unmount that partition using Nautilus
61+ * Unmount that partition using Nautilus by clicking on the "eject" button in
62+ the "Devices" section
63
64 Expected Result:
65 * The device launcher icon has been removed.
66
67=== modified file 'manual-tests/Panel.txt'
68--- manual-tests/Panel.txt 2012-07-20 02:24:47 +0000
69+++ manual-tests/Panel.txt 2012-07-25 14:34:22 +0000
70@@ -83,6 +83,9 @@
71
72 Disabled Top-level Menus
73 ------------------------
74+This test-case is not valid anymore. See also
75+https://bugs.launchpad.net/unity/+bug/1028836
76+
77 Setup:
78 #. Install the 'gnome-dictionary' package.
79
80
81=== modified file 'manual-tests/WindowButtons.txt'
82--- manual-tests/WindowButtons.txt 2012-07-12 12:03:05 +0000
83+++ manual-tests/WindowButtons.txt 2012-07-25 14:34:22 +0000
84@@ -1,5 +1,8 @@
85 Window Close Button should be Disabled if not available
86 -------------------------------------------------------
87+This test-case is not valid anymore. See also
88+https://bugs.launchpad.net/unity/+bug/1028922
89+
90 Setup:
91 Actions:
92 * Start the Update Manager