Closed Bug 943897 Opened 11 years ago Closed 8 years ago

Code timeout into contacts_settings.tap_import_from_sim()

Categories

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

Other
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: zcampbell, Unassigned, Mentored)

References

Details

(Whiteboard: [lang=py])

Attachments

(1 file)

46 bytes, text/x-github-pull-request
Bebe
: review+
AndreiH
: review+
Details | Review
The 
self.wait_for_element_not_displayed(*self._loading_overlay_locator)

needs to be overridden to use a larger timeout because if the command line timeout is set to <10seconds then this wait does not wait for long enough.

Please run the test importing 5-10 contacts and judge how much time it will need. Accomodate for slower hardware/speed, don't be afraid to be generous with the timeout.
Assignee: nobody → viorela.ioia
Assignee: viorela.ioia → nobody
This could be (number_of_contacts_on_sim * default timeout) for example.
Whiteboard: [mentor=zac][mentor=bebe][lang=py]
Also please do the same in test_ftu_skip_tour.py
Assignee: nobody → robert.chira
Attached file Pull request
Attachment #8407571 - Flags: review?(zcampbell)
Attachment #8407571 - Flags: review?(florin.strugariu)
Attachment #8407571 - Flags: review?(andrei.hutusoru)
Attachment #8407571 - Flags: review?(andrei.hutusoru) → review+
Zac is the `self.marionette.timeout` the right timeout to use here?
Flags: needinfo?(zcampbell)
Yes that's right correct timeout Bebe.
Flags: needinfo?(zcampbell)
Attachment #8407571 - Flags: review?(zcampbell)
Attachment #8407571 - Flags: review?(florin.strugariu)
Attachment #8407571 - Flags: review+
https://github.com/mozilla-b2g/gaia/commit/afa7142f2dc49b5b131ca48bfe818e2dfda15298
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Reverted:
https://github.com/mozilla-b2g/gaia/commit/cc1f1a807d0e3ce0437310a28e71501d720b4b3d

The passed-in time is not converted to seconds.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
This revert found a bigger issue in our test framework 
Bug 949543 - Use seconds for defining time in Marionette Python client

Let's fix this bug first and then this one
Depends on: 949543
Mentor: zcampbell florin.strugariu
Mentor: florin.strugariu, zcampbell
Whiteboard: [mentor=zac][mentor=bebe][lang=py] → [lang=py]
Mentor: florin.strugariu, zcampbell
QA Whiteboard: [fxosqa-auto-backlog+]
Assignee: robert.chira → nobody
is this bug still active, I am under the impression firefox os is not an active project anymore.
Pretty sure it isn't.
Status: REOPENED → RESOLVED
Closed: 10 years ago8 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: