Closed
Bug 956031
Opened 11 years ago
Closed 10 years ago
Ensure geolocation UI automated test checks for presence of geolocation icon in status bar
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jsmith, Assigned: AndreiH)
References
Details
Attachments
(1 file)
Context - bug 955906 Apparently our UI automation didn't catch a regression where the geolocation icon was failing to appear after requesting a location in geolocation. We should enhance the geolocation UI automated test to verify the geolocation icon is present in the status bar.
Reporter | ||
Updated•11 years ago
|
Blocks: 955906
Summary: Ensure geolocation UI automated test checks for presence of geolocation icon in status bar → Ensure geolocation UI automated test to check for presence of geolocation icon in status bar
Reporter | ||
Updated•11 years ago
|
Summary: Ensure geolocation UI automated test to check for presence of geolocation icon in status bar → Ensure geolocation UI automated test checks for presence of geolocation icon in status bar
Assignee | ||
Comment 2•10 years ago
|
||
Attachment #8355516 -
Flags: review?(zcampbell)
Comment 3•10 years ago
|
||
Comment on attachment 8355516 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/15008 r-, the bug requests a check of the icon on the permission prompt. This is the 'target' shaped icon next to the text "Geoloc would like to know your location" on the prompt.
Attachment #8355516 -
Flags: review?(zcampbell) → review-
Assignee | ||
Comment 4•10 years ago
|
||
That is what I also thought at first, but when I read https://bugzilla.mozilla.org/show_bug.cgi?id=955906#c8, they are referring at the 'target' geolocation icon from the status bar
Assignee | ||
Updated•10 years ago
|
Attachment #8355516 -
Flags: feedback?(zcampbell)
Reporter | ||
Comment 5•10 years ago
|
||
(In reply to AndreiH from comment #4) > That is what I also thought at first, but when I read > https://bugzilla.mozilla.org/show_bug.cgi?id=955906#c8, they are referring > at the 'target' geolocation icon from the status bar Yup, that's right. This is referring to the geolocation icon that appears in the status bar after you allow permissions for geolocation.
Comment 6•10 years ago
|
||
Comment on attachment 8355516 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/15008 I feel like a simple page object region would be helpful here Zac what do you think?
Attachment #8355516 -
Flags: review-
Flags: needinfo?(zcampbell)
Comment 7•10 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #5) > (In reply to AndreiH from comment #4) > > That is what I also thought at first, but when I read > > https://bugzilla.mozilla.org/show_bug.cgi?id=955906#c8, they are referring > > at the 'target' geolocation icon from the status bar > > Yup, that's right. This is referring to the geolocation icon that appears in > the status bar after you allow permissions for geolocation. My apologies Andrei :) This makes much more sense!
Comment 8•10 years ago
|
||
(In reply to Florin Strugariu [:Bebe] from comment #6) > Comment on attachment 8355516 [details] [review] > Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/15008 > > I feel like a simple page object region would be helpful here > Zac what do you think? Not a page region, a class is too heavy for just one feature. You can make it a property in the System app as that's where the HTML belongs.
Flags: needinfo?(zcampbell)
Assignee | ||
Comment 9•10 years ago
|
||
Comment on attachment 8355516 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/15008 Updated the pull
Attachment #8355516 -
Flags: review?(zcampbell)
Attachment #8355516 -
Flags: review?(florin.strugariu)
Attachment #8355516 -
Flags: review-
Attachment #8355516 -
Flags: feedback?(zcampbell)
Comment 10•10 years ago
|
||
Comment on attachment 8355516 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/15008 r- variable name is wrong.
Attachment #8355516 -
Flags: review?(zcampbell) → review-
Assignee | ||
Comment 11•10 years ago
|
||
Comment on attachment 8355516 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/15008 Updated
Attachment #8355516 -
Flags: review- → review?(zcampbell)
Comment 12•10 years ago
|
||
Comment on attachment 8355516 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/15008 Looks good my friend! r+!
Attachment #8355516 -
Flags: review?(zcampbell)
Attachment #8355516 -
Flags: review?(florin.strugariu)
Attachment #8355516 -
Flags: review+
Comment 13•10 years ago
|
||
Merged: https://github.com/mozilla-b2g/gaia/commit/8ca18c3dcf83bbdbcad203962e39e049baf9a6b8
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 14•10 years ago
|
||
Jason this has now had the effect of meaning we cannot run this test on CI environments Travis and TBPL because they don't have the Geolocation hardware. Previously this did run on CI but only tested the presence of the prompt (which was the original regression target). With this change we can only run it on device now. Is that OK?
Flags: needinfo?(jsmith)
Updated•10 years ago
|
Assignee: nobody → andrei.hutusoru
You need to log in
before you can comment on or make changes to this bug.
Description
•