Closed Bug 881435 Opened 11 years ago Closed 11 years ago

navigator.id.get() needs a test page in gaia UI Tests app

Categories

(Firefox OS Graveyard :: Gaia, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:leo+, b2g18 fixed, b2g-v1.1hd fixed)

RESOLVED FIXED
blocking-b2g leo+
Tracking Status
b2g18 --- fixed
b2g-v1.1hd --- fixed

People

(Reporter: jedp, Assigned: jedp)

References

Details

(Whiteboard: [NPOTB])

Attachments

(1 file)

Create a page like the one for 'navigator.mozId tests' in the gaia UI Tests app.  It can't use the existing navigator.mozId tests page because the watch and get apis don't mix.
Component: Identity → Gaia
Product: Core → Boot2Gecko
Version: 22 Branch → unspecified
Comment on attachment 760666 [details]
gaia PR - add navigator.mozId.get tests to UI Tests app

Hi, Fernando,

Can I ask you to review this addition to the gaia UI Tests app?

It's very similar to the existing navigator.mozId tests; It just tests a different part of the Persona api.

Thanks!
j
Attachment #760666 - Flags: review?(ferjmoreno)
Assignee: nobody → jparsons
Comment on attachment 760666 [details]
gaia PR - add navigator.mozId.get tests to UI Tests app

Looks good to me.

Even if this patch didn't cause it, the travis run failed. It would be great to have a green travis run before merging this PR.
Attachment #760666 - Flags: review?(ferjmoreno) → review+
(In reply to Fernando Jiménez Moreno [:ferjm] (needinfo instead of CC, please) from comment #3)
> Comment on attachment 760666 [details]
> gaia PR - add navigator.mozId.get tests to UI Tests app
> 
> Looks good to me.

Thanks for the speedy review, Fernando.

> Even if this patch didn't cause it, the travis run failed. It would be great
> to have a green travis run before merging this PR.

Yes, it blew up on "[costcontrol] Custom VIVO configuration Test Suite > Balance request matches the proper pattern".  I'll try to find someone to look into that.
Talked with lightsofapollo on irc.  Sounds like this is a known intermittent failure.  He suggested we go ahead and merge this.

Which I have done.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Hi, Triage!  It would be good to get this uplifted into gaia 1.1 so QA can run automated tests for this part of the browserid api on the nightly eng builds.

Risk is low; it's a test app that's not normally part of the build.
Benefit for all is increased automated test coverage, ergo stability.
blocking-b2g: --- → leo?
(In reply to Jed Parsons [:jparsons] from comment #6)
> Hi, Triage!  It would be good to get this uplifted into gaia 1.1 so QA can
> run automated tests for this part of the browserid api on the nightly eng
> builds.
> 
> Risk is low; it's a test app that's not normally part of the build.
> Benefit for all is increased automated test coverage, ergo stability.

This reminds me that we really need to include the a=test only for Gaia type of approval. There's zero impact on these changes to core Gaia.
blocking-b2g: leo? → leo+
Whiteboard: [NPOTB]
Flags: in-moztrap-
I was not able to uplift this bug to v1-train.  If this bug has dependencies which are not marked in this bug, please comment on this bug.  If this bug depends on patches that aren't approved for v1-train, we need to re-evaluate the approval.  Otherwise, if this is just a merge conflict, you might be able to resolve it with:

  git checkout v1-train
  git cherry-pick -x -m1 278d090ceada5ac7ab0519116cd23a3f2be42267
  <RESOLVE MERGE CONFLICTS>
  git commit
Flags: needinfo?(jparsons)
Hi, John,

Thanks.  I cherry-picked and made this PR for v1-train:

https://github.com/mozilla-b2g/gaia/pull/10585

(The only issue was that there are more test apps on master than v1-train, so the index.html file didn't merge nicely on v1-train.)

Does that look ok?
Flags: needinfo?(jparsons) → needinfo?(jhford)
(In reply to Jed Parsons [:jedp, :jparsons] from comment #9)
> Hi, John,
> 
> Thanks.  I cherry-picked and made this PR for v1-train:
> 
> https://github.com/mozilla-b2g/gaia/pull/10585
> 
> (The only issue was that there are more test apps on master than v1-train,
> so the index.html file didn't merge nicely on v1-train.)
> 
> Does that look ok?

I can't speak to the contents of the patch, but it looks reasonable to me.  I've merged it with

v1-train: a1560eb
Flags: needinfo?(jhford)
1.1hd: a1560eb8724536703e2fadfcdbd3883c0167ec70
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: