OLD | NEW |
| (Empty) |
1 Tests that watchPosition does not report position changes when the page is not v
isible. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 * Page is visible | |
7 device moved to (52.478, 0.834) | |
8 Page is notified of the position change | |
9 PASS isPageVisible is true | |
10 PASS position.coords.latitude is 52.478 | |
11 PASS position.coords.longitude is 0.834 | |
12 | |
13 device moved to (53.478, 1.834) | |
14 Page is notified of the position change | |
15 PASS isPageVisible is true | |
16 PASS position.coords.latitude is 53.478 | |
17 PASS position.coords.longitude is 1.834 | |
18 | |
19 * Hiding page | |
20 device moved to (54.478, 2.834) | |
21 PASS isPageVisible is false | |
22 | |
23 *Showing page | |
24 device moved to (55.478, 3.834) | |
25 Page is notified of the position change | |
26 PASS isPageVisible is true | |
27 PASS position.coords.latitude is 55.478 | |
28 PASS position.coords.longitude is 3.834 | |
29 | |
30 PASS successfullyParsed is true | |
31 | |
32 TEST COMPLETE | |
33 | |
OLD | NEW |