Closed
Bug 935052
Opened 11 years ago
Closed 11 years ago
Reduce exposure to launch() method in tests
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect)
Tracking
(b2g-v1.2 fixed)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
b2g-v1.2 | --- | fixed |
People
(Reporter: zcampbell, Assigned: viorela)
Details
Attachments
(5 files, 5 obsolete files)
46 bytes,
text/x-github-pull-request
|
Bebe
:
review+
bsilverberg
:
review+
|
Details | Review |
46 bytes,
text/x-github-pull-request
|
bsilverberg
:
review+
|
Details | Review |
358 bytes,
text/html
|
bsilverberg
:
review+
|
Details |
358 bytes,
text/html
|
bsilverberg
:
review+
|
Details |
358 bytes,
text/html
|
bsilverberg
:
review+
|
Details |
We know that launch() is a bit unreliable but similarly we also know that it takes some liberties by launching the app into user focus. This is an un-natural behaviour. I think as an ongoing task we can slowly migrate some app objects over to use `self.apps.displayed_app` in some cases. In some cases we will have to retain `launch()` but that is OK. I'm going to start off with a patch to the gallery app object to show what kind of code and how we should do it all.
Reporter | ||
Comment 1•11 years ago
|
||
Attachment #827458 -
Flags: review?(florin.strugariu)
Updated•11 years ago
|
Attachment #827458 -
Flags: review?(florin.strugariu) → review+
Comment 2•11 years ago
|
||
https://github.com/mozilla-b2g/gaia/commit/5663b202d9a901186f3b1037841a855721dd8bca
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 3•11 years ago
|
||
Leave this open until we clear out as many `launch` from tests and apps as we can :)
Status: RESOLVED → UNCONFIRMED
Ever confirmed: false
Resolution: FIXED → ---
Reporter | ||
Comment 4•11 years ago
|
||
I'll work on `Phone` app now
Reporter | ||
Comment 5•11 years ago
|
||
Attachment #827458 -
Attachment is obsolete: true
Attachment #827502 -
Flags: review?(florin.strugariu)
Comment 6•11 years ago
|
||
As per my email of earlier today: This needs to be flagged for uplifting to v1.2. I think it makes sense to wait for all the apps to be updated, and then attach an additional PR to this bug for all of them in v1.2 at the end. Either that, or attach PRs for each cherry-picked commit as we go. If we aren't vigilant about this on each and every bug we're going to end up with a mess again very soon.
Updated•11 years ago
|
Attachment #827502 -
Flags: review?(florin.strugariu) → review+
Comment 7•11 years ago
|
||
Hi Zac and Bob, Please refer to following two jobs. We found that Travis CI failed after 83300b7 merged. 9231f8a: https://travis-ci.org/mozilla-b2g/gaia/jobs/13547926 83300b7: https://travis-ci.org/mozilla-b2g/gaia/jobs/13549820 Could you please help check this? Thanks.
Flags: needinfo?(zcampbell)
Flags: needinfo?(bob.silverberg)
Comment 8•11 years ago
|
||
@Luke, the step that failed in Travis is the CI_ACTION=test_agent step, which has nothing to do with the Python tests that were affected by the merged pull request, so while it's true that Travis failed, it cannot be a result of that commit. I'm not even sure what the test_agent step is doing. Perhaps James can shed some light on that.
Flags: needinfo?(bob.silverberg) → needinfo?(jlal)
Reporter | ||
Updated•11 years ago
|
Flags: needinfo?(zcampbell)
Reporter | ||
Updated•11 years ago
|
Flags: needinfo?(jlal)
Reporter | ||
Comment 9•11 years ago
|
||
Rob I think this better represents the intention of the code here. See this bug comments for background information about why I'm doing this to the app objects/tests.
Attachment #830215 -
Flags: review?(rwood)
Reporter | ||
Updated•11 years ago
|
Attachment #827502 -
Attachment is obsolete: true
Reporter | ||
Comment 10•11 years ago
|
||
Attachment #830229 -
Flags: review?(florin.strugariu)
Reporter | ||
Comment 11•11 years ago
|
||
Attachment #830244 -
Flags: review?(florin.strugariu)
Updated•11 years ago
|
Attachment #830229 -
Flags: review?(florin.strugariu) → review+
Comment 12•11 years ago
|
||
merged https://github.com/mozilla-b2g/gaia/commit/69c20f0ca276c46a9704214eb994073660f28ad2
Updated•11 years ago
|
Attachment #830244 -
Flags: review?(florin.strugariu) → review+
Comment 13•11 years ago
|
||
Merged in https://github.com/mozilla-b2g/gaia/commit/d1b799166e6ad3095784034f4aaa8ff73b09e148
Comment 14•11 years ago
|
||
Comment on attachment 830215 [details] [review] github pr LGTM (I didn't actually run the code)
Attachment #830215 -
Flags: review?(rwood) → review+
Updated•11 years ago
|
status-b2g-v1.2:
--- → affected
Reporter | ||
Comment 15•11 years ago
|
||
Merged endurance tests pull too: https://github.com/mozilla-b2g/gaia/commit/2c46c4a8f5dd7b593460fdc18a5001a4bc9e7329
Reporter | ||
Comment 16•11 years ago
|
||
Attachment #830215 -
Attachment is obsolete: true
Attachment #830229 -
Attachment is obsolete: true
Attachment #830244 -
Attachment is obsolete: true
Attachment #8334468 -
Flags: review?(florin.strugariu)
Attachment #8334468 -
Flags: review?(bob.silverberg)
Updated•11 years ago
|
Attachment #8334468 -
Flags: review?(florin.strugariu) → review+
Comment 17•11 years ago
|
||
retested this and still OK
Updated•11 years ago
|
Attachment #8334468 -
Flags: review?(bob.silverberg) → review+
Comment 18•11 years ago
|
||
Landed on master in https://github.com/mozilla-b2g/gaia/commit/80889faa46c3ce400cbfa748ce00791d796afcb2 This should be brought over to v1.2 as well.
Comment 19•11 years ago
|
||
I need this for another commit I'm trying to get into v1.2, so taking this for uplift.
Assignee: nobody → bob.silverberg
Comment 20•11 years ago
|
||
Oops, this isn't the one. Letting go for now.
Assignee: bob.silverberg → nobody
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → viorela.ioia
Assignee | ||
Comment 21•11 years ago
|
||
Attachment #8338502 -
Flags: review?(trifandreialin)
Attachment #8338502 -
Flags: review?(bob.silverberg)
Attachment #8338502 -
Flags: review?(andrei.hutusoru)
Updated•11 years ago
|
Attachment #8338502 -
Flags: review?(trifandreialin)
Attachment #8338502 -
Flags: review?(bob.silverberg)
Attachment #8338502 -
Flags: review?(andrei.hutusoru)
Attachment #8338502 -
Flags: review+
Comment 22•11 years ago
|
||
Landed on v1.2 in https://github.com/mozilla-b2g/gaia/commit/e396bf145c0759a5f1830e82853f9c015ad205bf
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Comment 23•11 years ago
|
||
Pointer to Github pull-request
Comment 24•11 years ago
|
||
Comment on attachment 8338996 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/14094 Uplift for v1.2
Comment 25•11 years ago
|
||
Pointer to Github pull-request
Comment 26•11 years ago
|
||
Comment on attachment 8339001 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/14095 Uplift for v1.2
Updated•11 years ago
|
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: FIXED → ---
Comment 27•11 years ago
|
||
Pointer to Github pull-request
Comment 28•11 years ago
|
||
Comment on attachment 8339004 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/14096 Uplift to v1.2
Comment 29•11 years ago
|
||
Comment on attachment 8339004 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/14096 This landed on v1.2 in https://github.com/mozilla-b2g/gaia/commit/a5269e1fd2efdf714e75531fe76c9871882026ec
Updated•11 years ago
|
Attachment #8339004 -
Flags: review+
Comment 30•11 years ago
|
||
Comment on attachment 8338996 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/14094 Landed on v1.2 in https://github.com/mozilla-b2g/gaia/commit/c387ea866deb393beb99cb8b2c61313bc97dd1f7
Attachment #8338996 -
Flags: review+
Comment 31•11 years ago
|
||
Comment on attachment 8339001 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/14095 Landed on v1.2 in https://github.com/mozilla-b2g/gaia/commit/b7dfbbdca05f83a194b137a75d1bfc17cba04554
Attachment #8339001 -
Flags: review+
Comment 32•11 years ago
|
||
All the uplifts have landed.
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•