Closed Bug 1043924 Opened 10 years ago Closed 10 years ago

Disable screen lock, display sleep, and switch on screen in super harness

Categories

(Firefox OS Graveyard :: Certification Suite, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ato, Assigned: ato)

References

Details

In addition to backing up the system and preparing the device for testing, the super/meta harness should:

  - Disable the screen lock
  - Disable display sleep
  - Switch screen on

Some of this is already done in semiauto.TestCase, but there is more generic code to do this in gaiatest:

    http://gaiatest.readthedocs.org/en/latest/api/devicemanager.html#gaiatest.gaia_test.GaiaDevice.unlock
Assignee: nobody → ato
Status: NEW → ASSIGNED
Correspondingly it should also reset these options as post steps after the tests have run, much like it restores the pre-testrun system state.
Bug 1038420 asked for screen lock and display dimming to be removed from cert.py. Rather than adding it to the metaharness, that bug said that this should be a manual set up step which the metaharness would verify.
Depends on: 1038420
Fixed: https://github.com/mozilla-b2g/fxos-certsuite/pull/172
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.