OLD | NEW |
(Empty) | |
| 1 Validates that screen.lockOrientation() fires an event if the orientation had to
be changed to meet the locking requirements. |
| 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 locking orientation to 'landscape-primary'. |
| 8 PASS screen.lockOrientation('landscape-primary') is true |
| 9 PASS screen.orientation is "portrait-primary" |
| 10 Received an 'orientationchange' event. |
| 11 PASS orientationChangeEventCount is 1 |
| 12 PASS testEvent.type is "orientationchange" |
| 13 PASS screen.orientation is "landscape-primary" |
| 14 PASS successfullyParsed is true |
| 15 |
| 16 TEST COMPLETE |
| 17 |
OLD | NEW |