Closed
Bug 1202805
Opened 10 years ago
Closed 10 years ago
test_gallery_crop_photo.py: IndexError: list index out of range
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: NicholasN, Unassigned)
References
()
Details
Description:
This test fails in bitbar after opening an image in gallery. When the test is run locally, it progresses to the crop screen where it attempts to select the 2:3 option but fails there. When running the test manually the issue does not reproduce.
Steps:
1. Update a flame to 20150908030224.
2. Open gallery and tap an image thumbnail.
3. Select the edit icon, then the crop icon.
4. Select the 2:3 aspect ratio.
Actual Result:
Test fails at step 2 or 4.
Expected Result:
Test does not fail.
Traceback (most recent call last):
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_client-0.17-py2.7.egg/marionette/marionette_test.py", line 296, in run
testMethod()
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/tests/python/gaia-ui-tests/gaiatest/tests/functional/gallery/test_gallery_crop_photo.py", line 36, in test_gallery_crop_photo
cropped_image_size = gallery.thumbnails[0].absolute_image_size
IndexError: list index out of range
Comment 1•10 years ago
|
||
There is currently bug 1202602 that is also causing test_gallery_crop_photo.py to fail.
I noticed in bug 1202602, comment 5, there is another race condition where I got a failure from.
But this seems like a different failure.
The weird thing, this is failing in line 36 of test_gallery_crop_photo.py, which is later then it would fail with the failure it would get due to bug 1202602.
Depends on: 1202602
Comment 2•10 years ago
|
||
Bug 1202602 is now fixed, so I hope this will be fixed too. Optimistically resolving this bug, please reopen if you still see this happening on Bitbar.
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.
Description
•