Closed
Bug 974048
Opened 10 years ago
Closed 10 years ago
Improve waiting for wifi in wifi connection tests
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: zcampbell, Assigned: zcampbell)
Details
Attachments
(2 files)
Instead of waiting for some wifi networks listed, let's wait for the actual one we want to be there.
Assignee | ||
Comment 1•10 years ago
|
||
Andrei this change might help stability on v1.3
Attachment #8377775 -
Flags: review?(fyen)
Attachment #8377775 -
Flags: review?(andrei.hutusoru)
Comment 2•10 years ago
|
||
Comment on attachment 8377775 [details] [review] github pr r+
Attachment #8377775 -
Flags: review?(fyen) → review+
Comment 3•10 years ago
|
||
Comment on attachment 8377775 [details] [review] github pr On master, this works fine. I will tests this on v1.3 also.
Attachment #8377775 -
Flags: review?(andrei.hutusoru) → review+
Comment 4•10 years ago
|
||
Zac I got some intermittents here [1] when waiting for _password_input_locator [1] https://github.com/zacc/gaia/blob/bug_974048/tests/python/gaia-ui-tests/gaiatest/apps/settings/regions/wifi.py#L40 I think that we will have a stronger wait if we change it to something like self.wait_for_condition(lambda m: (ok.location['x'] + ok.size['width']) == screen_width) the locator being the ok button: https://github.com/zacc/gaia/blob/bug_974048/tests/python/gaia-ui-tests/gaiatest/apps/settings/regions/wifi.py#L43
Assignee | ||
Comment 5•10 years ago
|
||
ok thanks AndreiH! Actually I only checked this on open wifi :/ so thanks. Fortunately this is not blocking so I'll try to get to this later today or tomorrow.
Comment 6•10 years ago
|
||
Ok Zac, thanks! I will make the changes for v1.3 and I will start and adhoc job to see the results
Comment 7•10 years ago
|
||
Attachment #8378217 -
Flags: review?(zcampbell)
Attachment #8378217 -
Flags: review?(florin.strugariu)
Updated•10 years ago
|
Attachment #8378217 -
Flags: review?(florin.strugariu) → review+
Assignee | ||
Comment 8•10 years ago
|
||
Merged: https://github.com/mozilla-b2g/gaia/commit/c04786dc0fe892da79b1d1443cc43292b83fbe05 v1.3 merged: https://github.com/mozilla-b2g/gaia/commit/295c15a1c19f5ce064e18af61bc6315903e543dc
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 9•10 years ago
|
||
Comment on attachment 8378217 [details] [review] PR on v1.3 https://github.com/mozilla-b2g/gaia/pull/16447 r+
Attachment #8378217 -
Flags: review?(zcampbell) → review+
You need to log in
before you can comment on or make changes to this bug.
Description
•