Closed
Bug 922019
Opened 12 years ago
Closed 12 years ago
Fix broken progress locator for video app object
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect)
Firefox OS Graveyard
Gaia::UI Tests
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: davehunt, Assigned: viorela)
Details
(Whiteboard: [gaia-ui-test])
Attachments
(2 files)
There is a locator (and wait) in the video app object for the progress indicator, however the locator is incorrect.
Currently we're looking for an element with ID 'progress':
https://github.com/mozilla-b2g/gaia/blob/aaef2ff42f99fbeba30a1f5b8aa3bed4e011f8e2/tests/python/gaia-ui-tests/gaiatest/apps/videoplayer/app.py#L13
We should be looking for the element with ID 'throbber':
https://github.com/mozilla-b2g/gaia/blob/aaef2ff42f99fbeba30a1f5b8aa3bed4e011f8e2/apps/video/index.html#L136
We should also add a test that checks this element is visible when loading content, otherwise we won't detect any future changes to this element that causes the locator to break.
| Reporter | ||
Updated•12 years ago
|
Summary: Fix broken locator for video app object → Fix broken progress locator for video app object
| Assignee | ||
Comment 1•12 years ago
|
||
Please assign this to me. Bebe will help me with the necessary steps.
Updated•12 years ago
|
Assignee: nobody → viorelaioia
| Assignee | ||
Comment 2•12 years ago
|
||
Attachment #812603 -
Flags: review?(florin.strugariu)
Attachment #812603 -
Flags: review?(dave.hunt)
| Assignee | ||
Comment 3•12 years ago
|
||
:davehunt I updated the locator and I added "wait_for_element" to check that the element is visible when loading content.
| Reporter | ||
Comment 4•12 years ago
|
||
Comment on attachment 812603 [details] [diff] [review]
https://github.com/mozilla-b2g/gaia/pull/12574
Thanks for the patch Viorela. The locator looks fine, but I commented in the pull request about the visibility check. If we can improve this, we can get it landed.
Attachment #812603 -
Flags: review?(florin.strugariu)
Attachment #812603 -
Flags: review?(dave.hunt)
Attachment #812603 -
Flags: review-
| Assignee | ||
Updated•12 years ago
|
Attachment #812603 -
Flags: review- → review?
| Assignee | ||
Comment 5•12 years ago
|
||
Comment on attachment 812603 [details] [diff] [review]
https://github.com/mozilla-b2g/gaia/pull/12574
I updated the pull request. Can you review it again? Thanks
Attachment #812603 -
Flags: review? → review?(dave.hunt)
Comment 6•12 years ago
|
||
Comment on attachment 812603 [details] [diff] [review]
https://github.com/mozilla-b2g/gaia/pull/12574
Comments in the pull request.
Attachment #812603 -
Flags: review?(dave.hunt) → review-
Comment 7•12 years ago
|
||
Comment on attachment 812603 [details] [diff] [review]
https://github.com/mozilla-b2g/gaia/pull/12574
I was never flagged for review again, but I did just review this again, and it's still an r-. Comments in the PR.
| Assignee | ||
Comment 8•12 years ago
|
||
Attachment #828032 -
Flags: review?(dave.hunt)
Attachment #828032 -
Flags: review?(bob.silverberg)
Updated•12 years ago
|
Attachment #828032 -
Flags: review-
Comment 9•12 years ago
|
||
Comment on attachment 828032 [details] [review]
update PR
LGTM. Thanks Viorela.
Attachment #828032 -
Flags: review?(dave.hunt)
Attachment #828032 -
Flags: review?(bob.silverberg)
Attachment #828032 -
Flags: review+
Comment 10•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•