Closed Bug 1011784 Opened 11 years ago Closed 11 years ago

Investigate test_lockscreen_unlock_to_camera.TestLockScreen.test_unlock_to_camera

Categories

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

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jlorenzo, Unassigned)

References

Details

(Whiteboard: [xfail])

Caught via Tinderbox job: http://selenium.qa.mtv2.mozilla.com:8080/job/b2g.hamachi.mozilla-central.tinderbox.ui/374/testReport/ Traceback (most recent call last): File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.tinderbox.ui/.env/local/lib/python2.7/site-packages/marionette_client-0.7.7-py2.7.egg/marionette/marionette_test.py", line 163, in run testMethod() File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.tinderbox.ui/tests/python/gaia-ui-tests/gaiatest/tests/functional/lockscreen/test_lockscreen_unlock_to_camera.py", line 25, in test_unlock_to_camera lock_screen.wait_for_lockscreen_not_visible() File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.tinderbox.ui/tests/python/gaia-ui-tests/gaiatest/apps/lockscreen/app.py", line 58, in wait_for_lockscreen_not_visible self.wait_for_element_not_displayed(*self._lockscreen_locator) File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.tinderbox.ui/tests/python/gaia-ui-tests/gaiatest/apps/base.py", line 48, in wait_for_element_not_displayed lambda m: not m.find_element(by, locator).is_displayed()) File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.tinderbox.ui/.env/local/lib/python2.7/site-packages/marionette_client-0.7.7-py2.7.egg/marionette/wait.py", line 143, in until cause=last_exc) TimeoutException: TimeoutException: Timed out after 30.1 seconds Reproduced locally 100% times on build: Gaia 17cc405ab6163528efe321e831bf0e72d1166a28 Gecko https://hg.mozilla.org/mozilla-central/rev/616dc757d98a BuildID 20140516122632 Version 32.0a1 ro.build.version.incremental=eng.tclxa.20131223.163538 ro.build.date=Mon Dec 23 16:36:04 CST 2013 The test unlocks the devices and launch the camera apps. Nothing else happens then. Not reproduced manually.
Hamachi Gaia 101c500903a2477f9de1ea5ce523b9e0be4d45d0 Gecko https://hg.mozilla.org/mozilla-central/rev/41a54c8add09 BuildID 20140518160203 Version 32.0a1 ro.build.version.incremental=324 ro.build.date=Thu Dec 19 14:04:55 CST 2013 hook pdb into Lockscreen.wait_for_lockscreen_not_visible(), and get the following result: (Pdb) ls = self.marionette.find_element('id', 'lockscreen') (Pdb) ls.is_displayed() True (Pdb) ls.get_attribute('class') u'unlocked hidden' However, the test unlocks the lockscreen and launch the camera.
'hidden' class should not be on the element?
This issue is still reproduced on latest master build: Gaia 101c500903a2477f9de1ea5ce523b9e0be4d45d0 Gecko https://hg.mozilla.org/mozilla-central/rev/41a54c8add09 BuildID 20140519040204 Version 32.0a1 ro.build.version.incremental=eng.tclxa.20131223.163538 ro.build.date=Mon Dec 23 16:36:04 CST 2013 The failure is not reproducible manually but it fails 100% with automation.
Mdas This might be a Marionette issue. The app has not been changed as far as we know and manually it woks as expected. But marionette still sees that element visible.
Flags: needinfo?(mdas)
Please file a Marionette bug with the test case, ping AutomatedTester and then xfail this test.
Flags: needinfo?(mdas)
Depends on: 1013222
Whiteboard: xfail
Whiteboard: xfail → [xfail]
The test is passing now, the issue could have been caused by a gaia change. Closing this.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.