test_quick_run_app autopilot test fails immediately after boot

Bug #1081187 reported by Francis Ginther
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity
Confirmed
Undecided
Unassigned
unity (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

unity.tests.test_home_lens.HomeLensSearchTests.test_quick_run_app fails if run immediately after reboot. The test attempts to enter the search phrase "gedit" then <enter> to immediately launch it before the search is complete. This works as long as the lenses have finished loading, but fails due to lazy loading of lenses after initial boot.

Should the application be launched or should the test be updated to ensure that the lenses have loaded first?

Observed with unity rev 2910 from ppa:unity-team/staging.

[Test Case]
0. Reboot
1. Immediately execute test
1. a. cd ${unity_source}/tests/autopilot/
1. b. autopilot run unity.tests.test_home_lens.HomeLensSearchTests.test_quick_run_app

Expected result - the test expects gedit to be started
Observed result - The search will stop and then momentarily display the 'no results' message in the dash. Then the dash will display the actual search results (showing "Text Editor") a few seconds later.

Changed in unity:
status: New → Confirmed
Changed in unity (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.