Closed Bug 1020166 Opened 10 years ago Closed 10 years ago

Update IMEI tests to handle 1 and 2 IMEIs

Categories

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

x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: zcampbell, Assigned: zcampbell)

References

Details

(Whiteboard: [xfail])

Attachments

(2 files, 2 obsolete files)

46 bytes, text/x-github-pull-request
Bebe
: review+
Details | Review
46 bytes, text/x-github-pull-request
Bebe
: review+
Details | Review
Flame device should have two IMEIs reported in Gaia. Currently this is broken; see bug 1019783.

However when that bug is resolved, the tests that use IMEI (test_mmi.py and test_settings_device_info.py) need to be updated to handle both 1 and 2 IMEI devices

We can use the contents of the testvars file to set the expectation of 1 or 2 IMEI as the testvars file is configured precisely with the correct IMEIs depending upon device.

Update these tests to get the list of IMEI from the testvars file and loop through 1 or 2 of them in the UI.
Assignee: nobody → zcampbell
Attached file github pr (obsolete) —
This needs a corresponding update in the Jenkins credentials and will also need to be patched to v1.4
Now that patch has landed we need to resolve this.

https://github.com/mozilla-b2g/gaia/commit/c329a67bafe60032820ab64b52c07c22eeff114e
Still blocked by bug 1008737.
Whiteboard: [xfail]
Comment on attachment 8434197 [details] [review]
github pr

Until the testvars files are updated on Jenkins this will fail but let's r? it locally in the meantime.
Attachment #8434197 - Flags: review?(robert.chira)
Attachment #8434197 - Flags: review?(florin.strugariu)
2.0 PR will come soon too
Attached file github pr (obsolete) —
Attachment #8455224 - Flags: review?(robert.chira)
Attachment #8455224 - Flags: review?(florin.strugariu)
Comment on attachment 8434197 [details] [review]
github pr

Comment in PR.
Attachment #8434197 - Flags: review?(robert.chira) → review+
Attachment #8434197 - Flags: review?(florin.strugariu) → review+
Dwong will update this bug after we manually check and update the IMEI for all the FLAME devices we have.
Flags: needinfo?(dwong)
Does this mean all testvars should be updated to be an array? i.e. non dual SIM devices?
Flags: needinfo?(dwong)
(In reply to Dylan Chun Wong [:dwong] from comment #9)
> Does this mean all testvars should be updated to be an array? i.e. non dual
> SIM devices?

Dylan lets do this for all devices for now. Thanks
A PR has been submitted to resolve Bug 1038079
Comment on attachment 8455224 [details] [review]
github pr

https://github.com/mozilla-b2g/gaia/commit/6d3f100db3019619423639443fc772c6c3caa188
Attachment #8455224 - Attachment is obsolete: true
Attachment #8455224 - Flags: review?(robert.chira)
Attachment #8455224 - Flags: review?(florin.strugariu)
Attachment #8455224 - Attachment is obsolete: false
Attached file github pr
Should have fixed this one earlier, sorry :/
Attachment #8434197 - Attachment is obsolete: true
Attachment #8455224 - Attachment is obsolete: true
Attachment #8456184 - Flags: review?(robert.chira)
Attachment #8456184 - Flags: review?(florin.strugariu)
Attachment #8456184 - Flags: review?(robert.chira)
Attachment #8456184 - Flags: review?(florin.strugariu)
Attachment #8456184 - Flags: review+
Attached file Test MMI PR v2.0
Attachment #8456713 - Flags: review?(zcampbell)
Attachment #8456713 - Flags: review?(florin.strugariu)
Attachment #8456713 - Flags: review?(florin.strugariu) → review+
Comment on attachment 8456713 [details] [review]
Test MMI PR v2.0

Test MMI fix Merged on v2.0

https://github.com/mozilla-b2g/gaia/commit/404edc9230fb925a31845622a99de84fd35d1c7b
Attachment #8456713 - Flags: review?(zcampbell)
Fix from bug 1008737 should be uplifted to v2.0 also
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: