Closed
Bug 944274
Opened 12 years ago
Closed 12 years ago
The self.lockscreen.is_locked is True when user unlock from lockscreen to camera with passcode
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect)
Tracking
(b2g-v1.2 fixed)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
b2g-v1.2 | --- | fixed |
People
(Reporter: askeing, Assigned: askeing)
References
Details
Attachments
(2 files)
After have the discussion with Tim, the self.lockscreen.is_locked is True when user unlock from lockscreen to camera with passcode.
Becasue this camera is system's camera, and the lockscreen still be locked.
gaiatest/gaia_test.py:
@property
def is_locked(self):
self.marionette.switch_to_frame()
return self.marionette.execute_script('return window.wrappedJSObject.LockScreen.locked')
gaiatest/tests/functional/lockscreen/test_lockscreen_unlock_to_camera_with_passcode.py:
camera = self.lock_screen.unlock_to_camera()
self.lock_screen.wait_for_lockscreen_not_visible()
self.assertFalse(self.lockscreen.is_locked)
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #8339783 -
Flags: review?(zcampbell)
Attachment #8339783 -
Flags: review?(bob.silverberg)
Comment 2•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Status: RESOLVED → UNCONFIRMED
status-b2g-v1.2:
--- → affected
Ever confirmed: false
Resolution: FIXED → ---
Updated•12 years ago
|
Attachment #8339783 -
Flags: review?(zcampbell)
Attachment #8339783 -
Flags: review?(bob.silverberg)
Attachment #8339783 -
Flags: review+
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → fyen
Comment 3•12 years ago
|
||
Askeing, please take a look at bug 944692, which proposes a different solution. Which makes the most sense?
Flags: needinfo?(fyen)
Assignee | ||
Comment 4•12 years ago
|
||
Hmm, I think it is a trade off.
We can keep the assertion to make sure the value should be True after unlock to camera with passcode.
Or we can remove the assertion to only focus on UI.
If we only want to focus on UI, I will suggest to remove it.
Flags: needinfo?(fyen)
Comment 5•12 years ago
|
||
I agree with Tim that it is still locked.
After Alive merges his AppWindowManager pull I plan to try to change this to focus on the UI (camera frame) being the active one so a short term fix here is fine.
This came around because the is_locked property never actually worked but Dave fixed it the other day.
Comment 7•12 years ago
|
||
Pointer to Github pull-request
Updated•12 years ago
|
Attachment #8343061 -
Flags: review?(trifandreialin)
Attachment #8343061 -
Flags: review?(bob.silverberg)
Attachment #8343061 -
Flags: review?(andrei.hutusoru)
Updated•12 years ago
|
Attachment #8343061 -
Flags: review?(trifandreialin) → review+
Comment 8•12 years ago
|
||
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Attachment #8343061 -
Flags: review?(bob.silverberg)
Attachment #8343061 -
Flags: review?(andrei.hutusoru)
Attachment #8343061 -
Flags: review+
You need to log in
before you can comment on or make changes to this bug.
Description
•