OLD | NEW |
1 Test multiple windows with page visibility. | 1 Test multiple windows with page visibility. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 first window: page is visible | 6 first window: page is visible |
7 resolution in window | 7 resolution in window |
8 PASS batteryInfo is defined. | 8 PASS batteryInfo is defined. |
9 PASS mockBatteryInfo is defined. | 9 PASS lastSetMockBatteryInfo is defined. |
10 PASS batteryInfo.charging is mockBatteryInfo.charging | 10 PASS batteryInfo.charging is lastSetMockBatteryInfo.charging |
11 PASS batteryInfo.chargingTime is mockBatteryInfo.chargingTime | 11 PASS batteryInfo.chargingTime is lastSetMockBatteryInfo.chargingTime |
12 PASS batteryInfo.dischargingTime is mockBatteryInfo.dischargingTime | 12 PASS batteryInfo.dischargingTime is lastSetMockBatteryInfo.dischargingTime |
13 PASS batteryInfo.level is mockBatteryInfo.level | 13 PASS batteryInfo.level is lastSetMockBatteryInfo.level |
14 first window: page is hidden | 14 first window: page is hidden |
15 resolution in secondWindow | 15 resolution in secondWindow |
16 PASS batteryInfo is defined. | 16 PASS batteryInfo is defined. |
17 PASS mockBatteryInfo is defined. | 17 PASS lastSetMockBatteryInfo is defined. |
18 PASS batteryInfo.charging is mockBatteryInfo.charging | 18 PASS batteryInfo.charging is lastSetMockBatteryInfo.charging |
19 PASS batteryInfo.chargingTime is mockBatteryInfo.chargingTime | 19 PASS batteryInfo.chargingTime is lastSetMockBatteryInfo.chargingTime |
20 PASS batteryInfo.dischargingTime is mockBatteryInfo.dischargingTime | 20 PASS batteryInfo.dischargingTime is lastSetMockBatteryInfo.dischargingTime |
21 PASS batteryInfo.level is mockBatteryInfo.level | 21 PASS batteryInfo.level is lastSetMockBatteryInfo.level |
22 first window: page is visible | 22 first window: page is visible |
23 PASS batteryInfo is defined. | 23 PASS batteryInfo is defined. |
24 PASS mockBatteryInfo is defined. | 24 PASS lastSetMockBatteryInfo is defined. |
25 PASS batteryInfo.charging is mockBatteryInfo.charging | 25 PASS batteryInfo.charging is lastSetMockBatteryInfo.charging |
26 PASS batteryInfo.chargingTime is mockBatteryInfo.chargingTime | 26 PASS batteryInfo.chargingTime is lastSetMockBatteryInfo.chargingTime |
27 PASS batteryInfo.dischargingTime is mockBatteryInfo.dischargingTime | 27 PASS batteryInfo.dischargingTime is lastSetMockBatteryInfo.dischargingTime |
28 PASS batteryInfo.level is mockBatteryInfo.level | 28 PASS batteryInfo.level is lastSetMockBatteryInfo.level |
29 PASS successfullyParsed is true | 29 PASS successfullyParsed is true |
30 | 30 |
31 TEST COMPLETE | 31 TEST COMPLETE |
32 | 32 |
OLD | NEW |