Closed Bug 1203504 Opened 9 years ago Closed 8 years ago

[Flame] Intermittent failure in test_gallery_crop_photo.py, because crop buttons not responding

Categories

(Firefox OS Graveyard :: Gaia::Gallery, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: martijn.martijn, Unassigned)

References

()

Details

Follow-up from bug 1202602, comment 5:
"
Btw, I occasionally got this failure, still, after this patch:
TEST-UNEXPECTED-ERROR | test_gallery_crop_photo.py TestGalleryCropPhoto.test_gallery_crop_photo | TimeoutException: TimeoutException: Timed out after 10.1 seconds


Traceback (most recent call last):
  File "/Users/mwargers/.virtualenvs/test3/lib/python2.7/site-packages/marionette_client-0.17-py2.7.egg/marionette/marionette_test.py", line 296, in run
    testMethod()
  File "/Users/mwargers/B2G/gaia_clean/tests/python/gaia-ui-tests/gaiatest/tests/functional/gallery/test_gallery_crop_photo.py", line 32, in test_gallery_crop_photo
    image = edit_image.tap_edit_save_button()
  File "/Users/mwargers/B2G/gaia_clean/tests/python/gaia-ui-tests/gaiatest/apps/gallery/regions/edit_photo.py", line 50, in tap_edit_save_button
    Wait(self.marionette).until(expected.element_displayed(element))
  File "/Users/mwargers/.virtualenvs/test3/lib/python2.7/site-packages/marionette_driver-0.13-py2.7.egg/marionette_driver/wait.py", line 143, in until
    cause=last_exc)
TEST-INFO took 92408ms

SUMMARY
-------
passed: 0
failed: 1
todo: 0

This seems to be happening when the crop buttons are available before the image is available, which then causes the various crop buttons to not respond to what they should be doing.
I guess this is a case of a "Gaia UI test is running so quickly, which is uncovering errors on the slow Flame device" bug.
I guess I need to file a new bug for that.
"

This looks like a product bug to me. When the image is not there yet due to slowness of the device, the various crop buttons should still be working or they should just not be visible either.

Anyway, if this failure in the Gaia UI test is happening a lot, I guess we can solve this with adding some time.sleep() call.
Summary: [Flame] Intermittent failure in test_gallery_crop_photo.py, because → [Flame] Intermittent failure in test_gallery_crop_photo.py, because crop buttons not responding
Marking WONFTIX, sorry for the bug spam. If somebody still wants to work on this, please open a new bug.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.