[v1.3] Update locator in test_gallery_delete_image

RESOLVED FIXED

Status

RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: viorela, Assigned: viorela)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
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.
(Assignee)

Comment 1

5 years ago
Created attachment 8358412 [details] [review]
Github PR: https://github.com/mozilla-b2g/gaia/pull/15201
Attachment #8358412 - Flags: review?(trifandreialin)
Attachment #8358412 - Flags: review?(florin.strugariu)
Attachment #8358412 - Flags: review?(andrei.hutusoru)
(Assignee)

Updated

5 years ago
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
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.