Closed Bug 923674 Opened 12 years ago Closed 12 years ago

Fix failing /gallery/test_gallery_delete_image.py on aurora

Categories

(Firefox OS Graveyard :: Gaia::UI Tests, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: moz.teodosia, Unassigned)

References

Details

(Whiteboard: [gaia-ui-test])

The test is failing TEST-START test_gallery_delete_image.py test_gallery_delete_image (test_gallery_delete_image.TestGalleryDelete) ... ERROR ERROR ====================================================================== ERROR: test_gallery_delete_image (test_gallery_delete_image.TestGalleryDelete) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/teodosiapop/.virtualenvs/vegaia2/local/lib/python2.7/site-packages/marionette_client-0.5.37-py2.7.egg/marionette/marionette_test.py", line 132, in run testMethod() File "/home/teodosiapop/workspace/gaia/gaia/tests/python/gaia-ui-tests/gaiatest/tests/functional/gallery/test_gallery_delete_image.py", line 26, in test_gallery_delete_image image.tap_delete_button() File "/home/teodosiapop/workspace/gaia/gaia/tests/python/gaia-ui-tests/gaiatest/apps/gallery/regions/fullscreen_image.py", line 56, in tap_delete_button self.marionette.find_element(*self._delete_image_locator).tap() File "/home/teodosiapop/.virtualenvs/vegaia2/local/lib/python2.7/site-packages/marionette_client-0.5.37-py2.7.egg/marionette/marionette.py", line 83, in tap return self.marionette._send_message('singleTap', 'ok', element=self.id, x=x, y=y) File "/home/teodosiapop/.virtualenvs/vegaia2/local/lib/python2.7/site-packages/marionette_client-0.5.37-py2.7.egg/marionette/marionette.py", line 560, in _send_message raise TimeoutException(message='socket.timeout', status=ErrorCodes.TIMEOUT, stacktrace=None) TEST-UNEXPECTED-FAIL | test_gallery_delete_image.py TestGalleryDelete.test_gallery_delete_image | TimeoutException: socket.timeout ====================================================================== ERROR: test_gallery_delete_image (test_gallery_delete_image.TestGalleryDelete) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/teodosiapop/.virtualenvs/vegaia2/local/lib/python2.7/site-packages/marionette_client-0.5.37-py2.7.egg/marionette/marionette_test.py", line 162, in run self.tearDown() File "/home/teodosiapop/workspace/gaia/gaia/tests/python/gaia-ui-tests/gaiatest/gaia_test.py", line 681, in tearDown MarionetteTestCase.tearDown(self) File "/home/teodosiapop/.virtualenvs/vegaia2/local/lib/python2.7/site-packages/marionette_client-0.5.37-py2.7.egg/marionette/marionette_test.py", line 307, in tearDown self.marionette.set_context("content") File "/home/teodosiapop/.virtualenvs/vegaia2/local/lib/python2.7/site-packages/marionette_client-0.5.37-py2.7.egg/marionette/marionette.py", line 796, in set_context return self._send_message('setContext', 'ok', value=context) File "/home/teodosiapop/.virtualenvs/vegaia2/local/lib/python2.7/site-packages/marionette_client-0.5.37-py2.7.egg/marionette/marionette.py", line 546, in _send_message raise MarionetteException(message="Please start a session") TEST-UNEXPECTED-FAIL | test_gallery_delete_image.py TestGalleryDelete.test_gallery_delete_image | MarionetteException: Please start a session
Whiteboard: [gaia-ui-test]
I found this bug 879816
Sia is right, we should be able to do this now. This should be fixed by this bug but it's clearly not working for us: https://bugzilla.mozilla.org/show_bug.cgi?id=779284 The first action item here is to double check that our test is not out of date (ie locators changed or something) and if it is OK then to reopen bug #779284 providing this test as a use case to Malini.
Depends on: 779284
I checked the locators and they are all ok, all I found is bug 879816 for instance if you tap Cancel and then tap again on Delete photo the test will pass
Depends on: 927592
No longer depends on: 779284
This no longer fails for me on aurora, tested it with great results!
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.