Closed Bug 819374 Opened 12 years ago Closed 12 years ago

[B2G] Using on settings app , settings don't load properly and then correct settings lost

Categories

(Remote Protocol :: Marionette, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: zcampbell, Unassigned)

Details

This is not replicable manually. STR 1. Manually set the display timeout to 5 minutes 2. Cards view kill the settings app 3. Use marionette to open Settings app 4. Use marionette to click Display menu option The display timeout reads 'Never' 5. Close marionette/ Kill settings app 6. Manually go back into the Settings app The display timeout reads 'Never' -- marionette code-- self.app = self.apps.launch('Settings') self.wait_for_element_displayed('id', 'menuItem-display') self.marionette.find_element('id', 'menuItem-display').click() import time time.sleep(10) self.apps.kill(self.app)
This isn't a bug per se, it's due to https://github.com/mozilla/gaia-ui-tests/blob/master/gaiatest/atoms/gaia_lock_screen.js#L10 We need to do something like this to prevent the screen from turning off during tests, which does affect test results if it happens. You could still write a test to manipulate this setting, however.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.