OLD | NEW |
(Empty) | |
| 1 Validates that lockOrientation() can take an array in argument. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS screen.orientation is "portrait-primary" |
| 7 PASS screen.lockOrientation(['portrait-primary', 'invalid-orientation']) is fals
e |
| 8 PASS screen.lockOrientation(['portrait-primary', null]) is false |
| 9 PASS screen.lockOrientation(['portrait-primary', undefined]) is false |
| 10 PASS screen.lockOrientation(['portrait-primary', 123]) is false |
| 11 PASS screen.lockOrientation(['portrait-primary', window]) is false |
| 12 Faking device screen orientation change to 'landscape-primary'... |
| 13 PASS Received an 'orientationchange' event. |
| 14 PASS testEvent.type is "orientationchange" |
| 15 PASS orientationChangeCount is 1 |
| 16 PASS screen.orientation is "landscape-primary" |
| 17 PASS successfullyParsed is true |
| 18 |
| 19 TEST COMPLETE |
| 20 |
OLD | NEW |