Manual Unity 5.0 tests

Rationale

This is the temporary manual unity 5.0 tests before the tool for having them is done for community participation.

Those tests requires that you have the default settings enabled and default theme.

Unity2D specific differences are commented like this: [2D: difference]

Tests

Unity

-> you should see, on a blank desktop, a panel, (top bar), a launcher (left bar) with buttons.


Panel

-> you should see "Ubuntu Desktop" (or any localized string) in the panel (top bar)

-> you should see the "Ubuntu Desktop" label fading out [2D: no fade, it vanishes] and some menu titles appearing

-> you should see a menu appearing

-> the menu should close, and it the menu titles should disappear


-> the different menus should open without having any additional click to do


-> the different menus should open and be keyboard navigable


-> the menu should close, but the menu titles are still displayed.


-> The title in the bar should match the newly active application

-> You should see the application name and the menu titles.


-> the title should change to "close;minimize;restore buttons"

-> the application window should restore

-> the application should close


-> the window should restore


-> the window should be automatically maximized [2D: fail]



-> you should see a menu attached to each indicator


-> the application menu titles should appear and the first menu should be opened


-> the application menu titles should appear and the corresponding application menu should opened


-> ensure an application indicator is appearing in the panel

-> ensure a menu is appearing

-> the application should close


-> ensure an application indicator is appearing in the panel

-> ensure a menu is appearing

-> the application should close


-> ensure that the title bar, and menu displaying is the current focused application one (there is no control button in the panel as well)

-> the maximized application should get the focus [2D: known fail, lp:731761]


Launcher

-> a tooltip should immediately appear having the application of icon function name.


-> the launcher icon should be flashing while the application is opening -> You should see an arrow on the left of the launcher icon displaying there is an instance opened -> You should see an arrow on the right of the launcher icon showing that it's the current application


-> the launcher should disappear

-> the launcher should reappear

-> the launcher should disappear

-> the launcher should reappear


-> the launcher should disappear [2D: fail, lp:898238]


-> the launcher should not disappear


-> after a while, some numbers (0-9) should appear in the first launcher icons.

-> the application should start


-> after a while, some numbers (0-9) should appear in the first launcher icons.

-> a new firefox window should appear


-> the launcher should disappear [2D: fail, lp:898239]


-> the application should be minimized, the launcher should show the application icon for less than a second and then hide again. [2D: fail, lp:898242]



-> the launcher should appear -> after a while, some numbers (0-9) should appear in the first launcher icons.


-> a quicklist is displayed, showing at least the application name, "keep in launcher" and "quit".

-> the application should close


-> this application should get the focus


-> you should see an specific entry for firefox "open a new window"

-> a second firefox window should appear -> two arrow should now be on the left of the launcher icon

-> a third arrow should now be on the left of the launcher icon

-> there should still be a third arrow should now be on the left of the launcher icon


-> you should see the firefox window being exposed and the launcher should still be visible

-> this one should be focused


-> all firefox windows (even the minimized ones) should be exposed

-> this window should be restored and visible


-> the application should start and appear in the launcher

-> a quicklist should appear

-> the launcher icon should stay in the launcher


-> a quicklist should appear, with "Keep in launcher" ticked

-> the launcher icon should disappear


-> you should see the icon decoralate from the launcher

-> you should see the icons changing positions


-> you should get the same launcher icons at the same position


-> you should see it after restart


-> the launcher show fold the icons

-> the launcher show unfold the icons and your cursor should be on the one you pointed [2D: fail]


-> the launcher should scroll until showing the latest icon

-> the launcher should scroll until the first icon


-> you should see the first icon highlighted

-> the focused application should change

-> no launcher icon should be focused


-> you should see the first icon highlighted

-> the focused application should change

-> no launcher icon should be focused


-> the launcher should appear

-> the launcher should disappear


-> the application should be started


-> the quicklist for the application should be displayed

-> the application should close and the launcher should lost the focus


-> a new firefox window should open [2D: fail, lp:898244]


Warning /!\ Read the whole test case before starting

-> all workspaces should be visible with windows exposed on all workspaces

-> you should see the window set in the destination workspace. Also, the orange border showing the current workspace should change. [2D: fail]

-> the chosen workspace should be zoomed in and become the current one.



-> you should be moved to the workspace containing that window and focusing the application


-> you should see all windows from all workspaces exposed


-> the trash icon should show a "full trash" icon

-> nautilus should open with in the trash directory, restore every files -> the trash icon should show an "empty trash" icon


-> the trash should then be emptied


-> check that there is still a launcher icon shown

-> the previous skype instance should be raised again


public int main (string[] args)
{
  /* Pretend to be gnome-terminal for the sake of the example */
  var l = Unity.LauncherEntry.get_for_desktop_id ("gnome-terminal.desktop");

  /* Set progress to 42% done */
  l.progress = 0.42;
  l.progress_visible = true;

  /* Set count to 42 */
  l.count = 42;
  l.count_visible = true;

  /* We also want a quicklist */
  var ql = new Dbusmenu.Menuitem ();
  var item1 = new Dbusmenu.Menuitem ();
  item1.property_set (Dbusmenu.MENUITEM_PROP_LABEL, "Item 1");
  var item2 = new Dbusmenu.Menuitem ();
  item2.property_set (Dbusmenu.MENUITEM_PROP_LABEL, "Item 2");
  ql.child_append (item1);
  ql.child_append (item2);
  l.quicklist = ql;

  new MainLoop().run();
  return 0;
}

-> You should see: - a launcher icon for gnome-terminal - a count on it labeled (42) - a progress bar showing a progress of 42%

-> you should see a quicklist containing "Item 1" and "Item 2"


Dash

-> the dash should be shown, you should see icons for each lenses at the bottom. You should see a "Search" label in the search entry. The launcher icon are

-> each new lenses should get the focus and the view is refreshed

-> the dash should close [2D: fail, lp:891565 ]


-> all launcher icons should be darkened. [2D: fail, lp:898247]

-> the launcher icons should be lightened up.

-> the dash should close and the new application executed


-> the dash size should change

-> nothing should happen

-> the dash should close


Prereq: firefox installed

-> a spinning icon should appear shortly in the text search area and a firefox match should be there [2D: fail, lp:898262]

-> you should see a hovering hint on the firefox icon [2D: fail]

-> firefox should be launched


-> firefox should be launched


prereq: you should have the files and applications lenses installed

-> you should have multiple result in different categories (files, applications at least, maybe music)

-> the "f" search should be canceled, you should have back a generic "Search" entry and should see the default elements

-> the dash should close


-> some results should appear

-> the search should be canceled, you should have back a generic "Search" entry and should see the default elements


-> each new lenses should get the focus and the view is refreshed


Prerequ: have the application, music, and file lens [2D: fail, lp:834078]

-> the dash should open in the application lens

-> the dash should open in the file lens

-> the dahs should open in the music lens


Prereq: having the application lens installed

-> the search entry should show "search applications" and you should have three categories: - most used apps - installed - apps available for download


Prereq: having the application lens installed

-> it should impact the result on each category

-> it should change the result, at least on one category


-> All launcher icons should become unsaturated and an empty place should appear in the launcher [2D: fail, lp:898247]

-> a new launcher icon should appear and stick in the launcher


Prereq: having the file lens installed

-> the search entry should show "search files" and you should have three categories: - recent (if you at least opened a file on your computer) - download (if you have file in ~/Download) - folder


Prereq: having the file lens installed

-> it should impact the result on each category

-> it should change the result, at least on one category


Prereq: having the music lens installed

-> the search entry should show "search music" and you should have two categories: - tracks - albums


Prereq: having the music lens installed

-> it should impact the result on each category. A search for a popular group like "u2" should show some online result in an additional category

-> it should change the result, at least on one category


-> the result content should expand and show more content

-> this should scroll the whole windows content

-> the results should collapse and show less results


-> a new lens should be shown [2D: fail, lp:891648]


FIX KEYBOARD NAVIGATION ON FILTERS AND THEN WRITE TEST CASES FOR IT


-> you should see the same search results, with the same filter enabled [2D: fail]


-> you should have the "search field" reseted


prereq: gedit is installed

-> the runner lens should be shown (no filter should be there)

-> you should see gedit in a "result" category with the gedit icon

-> gedit should run


prereq: previous case

-> the runner lens should be shown, with a "history" category (10 results at most)


-> you should see a lot of dpkg- in a "result category" with an engine icon


-> in the result, the / content should be shown

-> you should see only the /bin with a directory icon

-> nautilus (or your default file manager) should open in /bin


-> all executables from the /bin directory should be proposed as result


prereq: knowing a directory from your home

-> ensure that a match is done


Alt - Tab

-> you should see an alt tab dialog appearing after few milliseconds, showing icons for "show desktop" [2D: fail], application A and application B. The application B icon should be highlighted

-> the highlight should cycle through the available icons, having the window title displayed below the icon


-> application B should get the focus and being raised


-> application B should get the focus and being restored and raised


-> the alt-tab window should not appear [2D: fail] and application B should get the focus and being raised


-> Nothing should happen


-> after a tempo, all windows for this application should be shown [2D: fail]

-> the highlight should go over the next window, the title of each window should be displayed at the bottom. Then, if you continue pressing tab, it will then cycle to the next application (and application to application) [2D: fail]


-> after a tempo, all windows for this application should be shown [2D: fail]

-> the selected window should be focused


-> after a tempo, all windows for this application should be shown (even minimized ones) [2D: fail]

-> the selected window should be restored and focused


-> the alt - tab window should be presented, showing the application windows directly [2D: fail]


-> the focus should go over the next window from the same application


-> the focus should go over the previous window of the same application


-> all windows from this applications should be raised. One should be focused [2D: fail]

-> the focus should go over another window of the same application, not on the application with only one instance [2D: fail]


-> the other application on the other workspace should be focused and your view should be moved to that workspace. [2D: fail]


Window Management

-> the window should move


-> this one should get the focus and be shown above the other window. The title bar should go from being dark to have buttons with colors (on the left), and containing the application title.

-> this one should get the focus, the other application window should go to the previous state and the new window should be stacked above the other one.


-> the window should move


[2D: entire test-case not supported]

-> the window should should a maximize preview and then, be maximized on release

-> the window should be restored

-> the window should be semi-maximized, taking half of the screen

-> after some resistance, the window should be restored

-> the window should be semi-maximized, taking half of the screen

-> after some resistance, the window should be restored


[2D: entire test-case not supported]

-> you should have some "resistance" on the window before it starts going off the screen.


-> the window should be maximize


-> the window should be maximize


-> the application should be closed


-> the application should be minimized, the launcher


-> the cursor sould transform in a resize cursor

-> some window shadows should appear when you start resizing. Release the drag should actually resize the window. [2D: fail]


-> a menu should appear


-> a menu should appear

-> check that the other application is will stay behind the first one, even when having the focus


-> a menu should appear

-> check that this application is visible on all workspaces


-> a menu should appear


Multi-monitors (BLOCKED: needs the multimonitor upstream work done first)

Touch

UnityTests (last edited 2011-11-30 17:53:28 by gerboland)