Autopilot test flakyness in test_add_photo
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gallery-app |
Fix Released
|
Low
|
Unassigned | ||
gallery-app (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
There seems to be a test flakyness in one of the gallery_app tests. In smoketesting [1] we noticed in 2 images failures in the same test: gallery_
From the logs it seems that maybe the MediaSelector doesn't appear - maybe the toolbar didn't get unhidden properly and the button click wasn't registered? Hard to say without reproducing it locally.
Traceback (most recent call last):
File "/home/
self.
File "/home/
media_selector = self.media_
File "/home/
return self.app.
File "/usr/lib/
return self.select_
File "/usr/lib/
raise StateNotFoundEr
StateNotFoundError: Object not found with name 'MediaSelector'.
[1] http://
Related branches
- Barry Warsaw (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
- Leo Arias (community): Approve
- Chris Gagnon: Pending requested
-
Diff: 994 lines (+241/-184)21 files modifieddebian/control (+4/-3)
debian/gallery-app-autopilot.lintian-overrides (+1/-1)
tests/autopilot/CMakeLists.txt (+1/-1)
tests/autopilot/gallery_app/emulators/album_editor.py (+1/-1)
tests/autopilot/gallery_app/emulators/album_view.py (+56/-1)
tests/autopilot/gallery_app/emulators/albums_view.py (+1/-1)
tests/autopilot/gallery_app/emulators/events_view.py (+50/-18)
tests/autopilot/gallery_app/emulators/gallery_utils.py (+23/-1)
tests/autopilot/gallery_app/emulators/media_selector.py (+1/-1)
tests/autopilot/gallery_app/emulators/media_viewer.py (+5/-3)
tests/autopilot/gallery_app/emulators/photo_viewer.py (+29/-1)
tests/autopilot/gallery_app/emulators/photos_view.py (+1/-1)
tests/autopilot/gallery_app/emulators/picker_screen.py (+0/-3)
tests/autopilot/gallery_app/tests/__init__.py (+6/-5)
tests/autopilot/gallery_app/tests/test_album_editor.py (+0/-2)
tests/autopilot/gallery_app/tests/test_album_view.py (+4/-23)
tests/autopilot/gallery_app/tests/test_albums_view.py (+7/-5)
tests/autopilot/gallery_app/tests/test_events_view.py (+18/-39)
tests/autopilot/gallery_app/tests/test_photo_viewer.py (+33/-66)
tests/autopilot/gallery_app/tests/test_photos_view.py (+0/-2)
tests/autopilot/gallery_app/tests/test_picker_mode.py (+0/-6)
- Leo Arias (community): Approve
- Barry Warsaw (community): Approve
- Chris Gagnon: Pending requested
-
Diff: 933 lines (+234/-174)20 files modifieddebian/control (+4/-3)
debian/gallery-app-autopilot.lintian-overrides (+1/-1)
tests/autopilot/CMakeLists.txt (+1/-1)
tests/autopilot/gallery_app/emulators/album_editor.py (+1/-1)
tests/autopilot/gallery_app/emulators/album_view.py (+56/-1)
tests/autopilot/gallery_app/emulators/albums_view.py (+1/-1)
tests/autopilot/gallery_app/emulators/events_view.py (+50/-18)
tests/autopilot/gallery_app/emulators/gallery_utils.py (+23/-1)
tests/autopilot/gallery_app/emulators/media_selector.py (+1/-1)
tests/autopilot/gallery_app/emulators/media_viewer.py (+5/-3)
tests/autopilot/gallery_app/emulators/photo_viewer.py (+29/-1)
tests/autopilot/gallery_app/emulators/photos_view.py (+1/-1)
tests/autopilot/gallery_app/tests/__init__.py (+6/-5)
tests/autopilot/gallery_app/tests/test_album_editor.py (+0/-2)
tests/autopilot/gallery_app/tests/test_album_view.py (+4/-23)
tests/autopilot/gallery_app/tests/test_albums_view.py (+0/-2)
tests/autopilot/gallery_app/tests/test_events_view.py (+18/-39)
tests/autopilot/gallery_app/tests/test_photo_viewer.py (+33/-66)
tests/autopilot/gallery_app/tests/test_photos_view.py (+0/-2)
tests/autopilot/gallery_app/tests/test_picker_mode.py (+0/-2)
Changed in gallery-app: | |
status: | New → Fix Released |
I've noticed several flaky tests in my Python 3 port: https:/ /code.launchpad .net/~barry/ gallery- app/py3autopilo t/+merge/ 208055/ comments/ 514642
Building and running the app on desktop produces 13 test failures fairly regularly, both with trunk and my branch.