Closed Bug 952123 Opened 11 years ago Closed 11 years ago

Improve wait and frame switch after closing the cost control FTU

Categories

(Firefox OS Graveyard :: Gaia::UI Tests, defect, P1)

Other
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: zcampbell, Assigned: viorela)

References

Details

Attachments

(1 file)

In the method `run_ftu_accepting_defaults` there is not a very good wait after closing the cost control's FTU. I think this is causing some intermittents. We should re-jig this to switch back to the main cost control frame and wait for the FTU frame to be closed/destroyed or whatever. Remove the launch() that is in `run_ftu_accepting_defaults` as this may attempt to reinitialize the app. The displayed_app should be cost control, not the FTU so it should be safe to use that.
Attachment #8350588 - Flags: review?(zcampbell)
Attachment #8350588 - Flags: review?(florin.strugariu)
Attachment #8350588 - Flags: review?(andrei.hutusoru)
This seems to fix the intermittent problem in Bug 952133 - Investigate intermittent fail in test_cost_control_data_alert_mobile.py: https://pastebin.mozilla.org/3817638
Comment on attachment 8350588 [details] [review] Github PR: https://github.com/mozilla-b2g/gaia/pull/14896 Logic is fine but just move it into the tap_lets_go method so it's more implicit that we wait.
Attachment #8350588 - Flags: review?(zcampbell) → review-
Attachment #8350588 - Flags: review- → review?(zcampbell)
Attachment #8350588 - Flags: review?(florin.strugariu) → review-
Attachment #8350588 - Flags: review- → review?(trifandreialin)
Attachment #8350588 - Flags: review?(zcampbell)
Attachment #8350588 - Flags: review?(trifandreialin)
Attachment #8350588 - Flags: review?(andrei.hutusoru)
Attachment #8350588 - Flags: review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee: nobody → viorela.ioia
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: