Closed
Bug 1014426
Opened 10 years ago
Closed 10 years ago
Make sure home2 marionette tests work well after bug 1003788 are landed
Categories
(Firefox OS Graveyard :: Gaia::Homescreen, defect)
Tracking
(b2g-v2.0 fixed)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
b2g-v2.0 | --- | fixed |
People
(Reporter: evanxd, Assigned: evanxd)
References
Details
Attachments
(1 file)
No description provided.
Assignee | ||
Comment 1•10 years ago
|
||
Assignee | ||
Comment 2•10 years ago
|
||
Comment on attachment 8426873 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/19527 Hi Kevin, Could you help to review the patch? Thanks.
Attachment #8426873 -
Flags: review?(kgrandon)
Comment 3•10 years ago
|
||
Comment on attachment 8426873 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/19527 Not sure why, but it failed =|
Attachment #8426873 -
Flags: review?(kgrandon) → review-
Assignee | ||
Comment 4•10 years ago
|
||
Hi Kevin, It is weird. It works on Travis Ruby VM. Sorry, let me check for that.
Assignee | ||
Comment 5•10 years ago
|
||
Seems to fix the issue. `NoSuchElement: (7) Unable to locate element: iframe[src*="app://home2.gaiamobile.org"]` Wait for travis light is green, and we could review the patch.
Assignee | ||
Comment 6•10 years ago
|
||
Comment on attachment 8426873 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/19527 Hi Kevin, It is passed on Travis, see at https://travis-ci.org/mozilla-b2g/gaia/jobs/26017317#L2968. But one test of Contacts app is failed(https://travis-ci.org/mozilla-b2g/gaia/jobs/26017317#L3359), I will file a bug to for that, and disable the test. Could you help to review the patch? Thanks.
Attachment #8426873 -
Flags: review- → review?(kgrandon)
Comment 7•10 years ago
|
||
Evan - I think I am fine with this, but I would like to understand exactly why switchToApp(url) will no longer be supported. I'm still confused as to what's going on, and it seems like we use this method all over gaia. Could you give me the 1-paragraph reason as to why we need it, and what's changing that would cause us to need it? Thanks!
Flags: needinfo?(evanxd)
Comment 8•10 years ago
|
||
Comment on attachment 8426873 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/19527 Please flag me after providing info. Thanks!
Attachment #8426873 -
Flags: review?(kgrandon)
Assignee | ||
Comment 9•10 years ago
|
||
Hi Kevin, Does the info of http://bugzil.la/1003795#c8 make sense for you?
Flags: needinfo?(evanxd) → needinfo?(kgrandon)
Assignee | ||
Updated•10 years ago
|
Attachment #8426873 -
Flags: review?(kgrandon)
Assignee | ||
Comment 10•10 years ago
|
||
After we have the updated `switchToApp` method, we could not use the `switchToApp` method to switch to homescreen frame when the homescreen is not displayed on the screen(`transition-state="closed"). Because `switchToApp` always waits for the `transition-state` of the frame is `opened`. In the home2 case, we could not use `switchToApp` there because https://github.com/mozilla-b2g/gaia/blob/master/dev_apps/home2/test/marionette/bookmark_test.js#L50 makes Browser app show on the screen, and the home2's `transition-state` keeps as `closed`.
Comment 11•10 years ago
|
||
Comment on attachment 8426873 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/19527 (In reply to Evan Tseng [:evanxd][:愛聞插低] from comment #10) > After we have the updated `switchToApp` method, we could not use the > `switchToApp` method to switch to homescreen frame when the homescreen is > not displayed on the screen(`transition-state="closed"). Because > `switchToApp` always waits for the `transition-state` of the frame is > `opened`. I think I'm still confused. I guess I don't understand why we don't update switchToApp to be smarter and continue working in this case. Gareth - does this make sense to you? I guess I'm ok landing this, but I feel like the real solution is that we should make switchToApp() continue working.
Attachment #8426873 -
Flags: review?(kgrandon) → review?(gaye)
Flags: needinfo?(kgrandon)
Assignee | ||
Comment 12•10 years ago
|
||
Hi Kevin, If you're OK landing this, how about landing the patch now? This bug blocks Bug 950673 and Bug 1003788. We need to land these two bug to skip more new intermittent failing tests into gaia code base. Thanks.
Assignee | ||
Comment 13•10 years ago
|
||
We're fix the failing tests once Bug 950673 and Bug 1003788 are landed. Currently, we have only last two tests need to be fixed. For skipping more failing tests, I would like to land the system app and marionette-apps changes as soon as possible.
Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(kgrandon)
Assignee | ||
Updated•10 years ago
|
Summary: Re-enable the disabled marionette tests for home2 app → Make sure home2 marionette tests work well after bug 1003788 are landed
Comment 14•10 years ago
|
||
Comment on attachment 8426873 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/19527 I still disagree that this is the right approach and that the system updates/test framework updates should be transparent to these APIs. (I bet there will still be problems landing if not). Travis is green though and you have more context than me at this point, so let's land for now :)
Attachment #8426873 -
Flags: review?(gaye) → review+
Flags: needinfo?(kgrandon)
Comment 15•10 years ago
|
||
Landed: https://github.com/mozilla-b2g/gaia/commit/784fe3902db9d7220fa4eb3fcf14bdafed7c6136
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 16•10 years ago
|
||
Hi Kevin, Thanks for the review. And I think we need to refine the `marionette-apps` module after we fix these things. Thanks again.
Comment 17•10 years ago
|
||
Mass modify - set status-b2g-v2.0 fixed for fixed bugs under vertical homescreen dependency tree.
status-b2g-v2.0:
--- → fixed
Comment 18•10 years ago
|
||
I am unable to verify this issue as this has back-end requirements.
QA Whiteboard: [QAnalyst-Triage?][QAnalyst-verify-]
Flags: needinfo?(ktucker)
Updated•10 years ago
|
QA Whiteboard: [QAnalyst-Triage?][QAnalyst-verify-] → [QAnalyst-Triage+][QAnalyst-verify-]
Flags: needinfo?(ktucker)
You need to log in
before you can comment on or make changes to this bug.
Description
•