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)

defect
Not set
normal

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.
Summary: Fix broken locator for video app object → Fix broken progress locator for video app object
Please assign this to me. Bebe will help me with the necessary steps.
Assignee: nobody → viorelaioia
Attachment #812603 - Flags: review?(florin.strugariu)
Attachment #812603 - Flags: review?(dave.hunt)
:davehunt I updated the locator and I added "wait_for_element" to check that the element is visible when loading content.
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-
Attachment #812603 - Flags: review- → review?
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)
Attachment #812603 - Flags: review?(dave.hunt) → review-
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.
Attached file update PR
Attachment #828032 - Flags: review?(dave.hunt)
Attachment #828032 - Flags: review?(bob.silverberg)
Attachment #828032 - Flags: review-
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+
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.

Attachment

General

Created:
Updated:
Size: