Closed Bug 958542 Opened 10 years ago Closed 10 years ago

[v1.3] Update locator in test_gallery_delete_image

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: viorela, Assigned: viorela)

Details

Attachments

(1 file)

This test currently fails with the following error:
Traceback (most recent call last):
  File "/home/viorelaioia/.virtualenvs/gaia/local/lib/python2.7/site-packages/marionette_client-0.7.1-py2.7.egg/marionette/marionette_test.py", line 143, in run
    testMethod()
  File "/home/viorelaioia/WebQA/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/viorelaioia/WebQA/gaia/tests/python/gaia-ui-tests/gaiatest/apps/gallery/regions/fullscreen_image.py", line 58, in tap_delete_button
    self.wait_for_element_displayed(*self._confirm_delete_locator)
  File "/home/viorelaioia/WebQA/gaia/tests/python/gaia-ui-tests/gaiatest/apps/base.py", line 71, in wait_for_element_displayed
    raise TimeoutException('Element %s present but not displayed before timeout' % locator)
TEST-UNEXPECTED-FAIL | test_gallery_delete_image.py test_gallery_delete_image.TestGalleryDelete.test_gallery_delete_image | TimeoutException: Element modal-dialog-confirm-ok present but not displayed before timeout
The locator for confirm photo deletion has changed, so we should update it.
Attachment #8358412 - Flags: review?(trifandreialin)
Attachment #8358412 - Flags: review?(florin.strugariu)
Attachment #8358412 - Flags: review?(andrei.hutusoru)
Assignee: nobody → viorela.ioia
Attachment #8358412 - Flags: review?(trifandreialin)
Attachment #8358412 - Flags: review?(florin.strugariu)
Attachment #8358412 - Flags: review?(andrei.hutusoru)
Attachment #8358412 - Flags: review+
merged in https://github.com/mozilla-b2g/gaia/commit/a7619b5e6f48a202bc824de7072544fa8a9625b9
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: