Closed Bug 1013806 Opened 10 years ago Closed 10 years ago

The data connection doesn't work after Enable Data in FTU via test_ftu_skip_tour.py

Categories

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

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1013920

People

(Reporter: askeing, Unassigned)

References

Details

Buri
    Gaia      c462d9183d294a2d8ecc472f593ea8cfa15bc9de
    Gecko     https://hg.mozilla.org/mozilla-central/rev/9d8d16695f6a
    BuildID   20140520160203
    Version   32.0a1
    ro.build.version.incremental=324
    ro.build.date=Thu Dec 19 14:04:55 CST 2013

Run test_ftu_skip_tour.py, after "self.ftu.enable_data()", the "self.data_layer.is_cell_data_connected" always be False.

Note:
The code of is_cell_data_connected()
=====
@property
def is_cell_data_connected(self):
 # XXX: check bug-926169
 # this is used to keep all tests passing while introducing multi-sim APIs
 return self.marionette.execute_script('var mobileConnection = window.navigator.mozMobileConnection || ' +
   'window.navigator.mozMobileConnections && ' +
   'window.navigator.mozMobileConnections[0]; ' +
   'return mobileConnection.data.connected;')
=====

It only can reproduce by gaiatests.
Can not reproduce when user Enable Data in FTU manually (after flash the gaia/gecko).
Blocks: 1013800
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.