The gallery_app tests started failing because the toolbar is closed by the time we try to click the button
Bug #1302706 reported by
Leo Arias
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
Fix Released
|
Undecided
|
Unassigned | ||
gallery-app |
Fix Released
|
Undecided
|
Leo Arias | ||
gallery-app (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Undecided
|
Leo Arias |
Bug Description
We started seeing some failures on the gallery app
http://
It seems that we try to click the button when the toolbar is opened, but by the time we have selected the autopilot button the toolbar it's already closed. Autopilot takes just a few milliseconds to select the button, so the window for the app to get this error is really small. But anyway, we can make the window smaller by making the check before selecting the button.
Related branches
lp://qastaging/~elopio/ubuntu-ui-toolkit/fix1302706-click_toolbar_button_failure_window
- PS Jenkins bot: Approve (continuous-integration)
- Tim Peeters: Approve
-
Diff: 23 lines (+4/-4)1 file modifiedtests/autopilot/ubuntuuitoolkit/emulators.py (+4/-4)
lp://qastaging/~elopio/gallery-app/workaround1302706-fix1302706-click_toolbar_button_failure
- Bill Filler (community): Approve
- PS Jenkins bot: Needs Fixing (continuous-integration)
-
Diff: 49 lines (+33/-1)1 file modifiedtests/autopilot/gallery_app/emulators/toolbar.py (+33/-1)
lp://qastaging/~elopio/gallery-app/revert_workaround-1302706-click_toolbar_button_failure
- PS Jenkins bot: Needs Fixing (continuous-integration)
- Ubuntu Phablet Team: Pending requested
-
Diff: 62 lines (+0/-58)1 file modifiedtests/autopilot/gallery_app/emulators/toolbar.py (+0/-58)
Changed in ubuntu-ui-toolkit: | |
status: | New → In Progress |
Changed in gallery-app: | |
status: | New → In Progress |
Changed in gallery-app: | |
assignee: | nobody → Leo Arias (elopio) |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Leo Arias (elopio) |
Changed in ubuntu-ui-toolkit: | |
status: | In Progress → Won't Fix |
Changed in ubuntu-ui-toolkit: | |
status: | Won't Fix → Fix Released |
Changed in gallery-app: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
This bug was fixed in the package gallery-app - 0.0.67+ 14.04.20140408. 1-0ubuntu1
--------------- 14.04.20140408. 1-0ubuntu1) trusty; urgency=low
gallery-app (0.0.67+
[ Bill Filler ]
* skip broken test until root cause can be found
[ Arthur Mello ]
* Make sure that album cover will be not behind header at album edit
screen (LP: #1294291)
* Add unittest to check if only videos on the correct path are beeing
added to gallery on device
* Add an overlay play icon over Video preview on media navigation (LP:
#1294282)
* Apply a similar workaround to the one suggested by Zsombor to work
around bug #1296832 to temporarily replace MouseAreas within
PinchAreas (LP: #1296832, #1288695)
[ Ugo Riboni ]
* Fix album navigation, allowing to page all the way to the last page,
and to close the album by paging to the cover. (LP: #1287355)
* Apply a similar workaround to the one suggested by Zsombor to work
around bug #1296832 to temporarily replace MouseAreas within
PinchAreas (LP: #1296832, #1288695)
* fix autopilot test
[ Leo Arias ]
* Properly override the toolkit toolbar autopilot helper.
* On the autopilot helpers to click a toolbar button, check that the
toolbar is opened first. (LP: #1302706)
-- Ubuntu daily release <email address hidden> Tue, 08 Apr 2014 18:51:30 +0000