Closed Bug 1235105 Opened 8 years ago Closed 8 years ago

Add integration test: |lockscreen_unlock_handler_test.js|

Categories

(Firefox OS Graveyard :: Gaia::System::Lockscreen, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gweng, Assigned: gweng)

Details

Attachments

(1 file)

It should contain such tests:

## Unlock handler
----
Set NO password then lock the device ->
Slide to the handler ->
[*Show home screen]
Press the power button ->
[*Panel dismissed] && [*Slider reset]
----
Set password then lock the device ->
Slide to the handler ->
[*Show the password panel] ->
Press the power button ->
[*Panel dismissed] && [*Slider reset]
----
Well, in fact these tests are already in Gaia repo. However, this is for the plan to collect all similar tests at once, and to implement them by the component. So only when the organization of these tests matters this is a must-have feature.
Or, we should focus on the UI check part, which was not addressed in the previous tests. So even though most of these code will be duplicated, and the flow is almost the same, we can still test different items in our concern.
Assignee: nobody → gweng
Comment on attachment 8701910 [details] [review]
[gaia] snowmantw:bug1235105 > mozilla-b2g:master

It works well on the TaskCluster so I set the review.

https://treeherder.mozilla.org/#/jobs?repo=gaia&revision=e199ed03426ae7c5812efe6b7bd65e65f5426df8
Attachment #8701910 - Flags: review?(timdream)
Attachment #8701910 - Flags: review?(timdream) → review+
master: https://github.com/mozilla-b2g/gaia/commit/0fac66f5d43933e391642ceed35749795ce0565f
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: