OLD | NEW |
| (Empty) |
1 Basic screen.lockOrientation() / screen.unlockOrientation() testing | |
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.unlockOrientation() did not throw exception. | |
8 PASS screen.lockOrientation('any') is true | |
9 PASS screen.lockOrientation('portrait') is true | |
10 PASS screen.lockOrientation('landscape') is true | |
11 PASS screen.lockOrientation('portrait-primary') is true | |
12 PASS screen.lockOrientation('portrait-secondary') is true | |
13 PASS screen.lockOrientation('landscape-primary') is true | |
14 PASS screen.lockOrientation('landscape-secondary') is true | |
15 PASS screen.orientation is "portrait-primary" | |
16 PASS screen.unlockOrientation() did not throw exception. | |
17 PASS successfullyParsed is true | |
18 | |
19 TEST COMPLETE | |
20 | |
OLD | NEW |