Closed
Bug 1117115
Opened 10 years ago
Closed 10 years ago
Enable test_settings_sim_manager.py
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: martijn.martijn, Assigned: jlorenzo)
References
()
Details
Attachments
(2 files)
test_settings_sim_manager.py was disabled in bug 1020236, presumably there were no tests with 2 sims in it.
But we have those now.
http://mxr.mozilla.org/gaia/source/tests/python/gaia-ui-tests/gaiatest/tests/functional/settings/manifest.ini#85
http://mxr.mozilla.org/gaia/source/tests/python/gaia-ui-tests/gaiatest/tests/functional/settings/test_settings_sim_manager.py
Reporter | ||
Comment 1•10 years ago
|
||
I'm also wondering about these bit strange run-if/skip-if calls in:
http://mxr.mozilla.org/gaia/source/tests/python/gaia-ui-tests/gaiatest/tests/functional/settings/manifest.ini#36
http://mxr.mozilla.org/gaia/source/tests/python/gaia-ui-tests/gaiatest/tests/functional/settings/manifest.ini#36
http://mxr.mozilla.org/gaia/source/tests/python/gaia-ui-tests/gaiatest/tests/functional/settings/manifest.ini#43
Assignee | ||
Comment 2•10 years ago
|
||
The change is bigger than I expected. I refactored the test to test it against the 2 SIMs. I also changed the return of the 3 properties in order to assert against the visible UI (and not a hidden value of the DOM). By the way _get_displayed_sim might worth it to move in Base because it solves a general problem with <select>.
Tell me what you guys think.
Attachment #8543310 -
Flags: review?(viorela.ioia)
Attachment #8543310 -
Flags: review?(martijn.martijn)
Assignee | ||
Comment 3•10 years ago
|
||
(In reply to Martijn Wargers [:mwargers] (QA) from comment #1)
These tests should (not) run on DSDS devices. But in this case, we don't actually need 2 SIMs in there. We don't need to add dsds = true there.
Reporter | ||
Comment 4•10 years ago
|
||
Wow, this certainly turned out to be bigger than I thought!
Reporter | ||
Comment 5•10 years ago
|
||
Comment on attachment 8543310 [details] [review]
Gaia PR
Looks good, thanks for fixing!
Attachment #8543310 -
Flags: review?(martijn.martijn) → review+
Assignee | ||
Updated•10 years ago
|
QA Whiteboard: [fxosqa-auto-s7+][fxosqa-auto-points=1]
Assignee | ||
Updated•10 years ago
|
Attachment #8543310 -
Flags: review?(gmealer)
Comment 6•10 years ago
|
||
Comment on attachment 8543310 [details] [review]
Gaia PR
r+
Attachment #8543310 -
Flags: review?(viorela.ioia) → review+
Comment 7•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Attachment #8543310 -
Flags: review?(gmealer)
Assignee | ||
Comment 8•10 years ago
|
||
Backed out because this test was running (and failing) on Treeherder: https://github.com/mozilla-b2g/gaia/commit/c67fb679c90372e42e5c48df48da7ccac8047211
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 9•10 years ago
|
||
Oh, this test needs to be skipped on desktop, as it requires SIM existance.
I missed that during review.
Johan, can you please open a new PR and add the skip of this test on desktop? Thanks!
Assignee | ||
Comment 10•10 years ago
|
||
I only changed the manifest.
GIP tests are green on Treeherder: https://treeherder.mozilla.org/ui/#/jobs?repo=gaia-try&revision=3b04329dd562
Attachment #8545221 -
Flags: review?(viorela.ioia)
Comment 11•10 years ago
|
||
Comment on attachment 8545221 [details] [review]
Gaia PR - second try
Merged in: https://github.com/mozilla-b2g/gaia/commit/29370b92526d4ad526182764f6a069e6078ccb90
Attachment #8545221 -
Flags: review?(viorela.ioia) → review+
Updated•10 years ago
|
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•