OLD | NEW |
1 { | 1 { |
2 "description": "Chrome Endure test for Google Calendar.", | 2 "description": "Chrome Endure test for Google Calendar.", |
3 "archive_data_file": "../data/calendar_forward_backward.json", | 3 "archive_data_file": "../data/calendar_forward_backward.json", |
4 "credentials_path": "../data/credentials.json", | 4 "credentials_path": "../data/credentials.json", |
5 "user_agent_type": "desktop", | 5 "user_agent_type": "desktop", |
6 "pages": [ | 6 "pages": [ |
7 { | 7 { |
8 "url": "https://www.google.com/calendar/", | 8 "url": "https://www.google.com/calendar/", |
9 "why": "Click forward(4x) and backwards(4x) repeatedly", | 9 "why": "Click forward(4x) and backwards(4x) repeatedly", |
10 "credentials": "google", | 10 "credentials": "google", |
11 "navigate_steps" : [ | 11 "navigate_steps" : [ |
12 { "action": "navigate" }, | 12 { "action": "navigate" }, |
13 { "action": "wait", "seconds": 2 }, | 13 { "action": "wait", "seconds": 2 }, |
14 { "action": "wait", "condition": "element", "selector": "div[class~=\"n
avForward\"]" }, | 14 { "action": "wait", "condition": "element", "selector": "div[class~=\"n
avForward\"]" }, |
15 { "action": "javascript", "expression": "(function() { var elem = docume
nt.createElement('meta');elem.name='viewport';elem.content='initial-scale=1';doc
ument.body.appendChild(elem); })();" } | 15 { "action": "javascript", "expression": "(function() { var elem = docume
nt.createElement('meta');elem.name='viewport';elem.content='initial-scale=1';doc
ument.body.appendChild(elem); })();" } |
16 ], | 16 ], |
17 "endure": [ | 17 "endure": [ |
18 { "action": "click_element", "selector": "div[class~=\"navForward\"]" }, | 18 { "action": "click_element", "selector": "div[class~=\"navForward\"]" }, |
| 19 { "action": "wait", "seconds": 2 }, |
19 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vForward\"]" }, | 20 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vForward\"]" }, |
20 { "action": "click_element", "selector": "div[class~=\"navForward\"]" }, | 21 { "action": "click_element", "selector": "div[class~=\"navForward\"]" }, |
| 22 { "action": "wait", "seconds": 2 }, |
21 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vForward\"]" }, | 23 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vForward\"]" }, |
22 { "action": "click_element", "selector": "div[class~=\"navForward\"]" }, | 24 { "action": "click_element", "selector": "div[class~=\"navForward\"]" }, |
| 25 { "action": "wait", "seconds": 2 }, |
23 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vForward\"]" }, | 26 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vForward\"]" }, |
24 { "action": "click_element", "selector": "div[class~=\"navForward\"]" }, | 27 { "action": "click_element", "selector": "div[class~=\"navForward\"]" }, |
| 28 { "action": "wait", "seconds": 2 }, |
25 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vBack\"]" }, | 29 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vBack\"]" }, |
26 { "action": "click_element", "selector": "div[class~=\"navBack\"]" }, | 30 { "action": "click_element", "selector": "div[class~=\"navBack\"]" }, |
| 31 { "action": "wait", "seconds": 2 }, |
27 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vBack\"]" }, | 32 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vBack\"]" }, |
28 { "action": "click_element", "selector": "div[class~=\"navBack\"]" }, | 33 { "action": "click_element", "selector": "div[class~=\"navBack\"]" }, |
| 34 { "action": "wait", "seconds": 2 }, |
29 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vBack\"]" }, | 35 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vBack\"]" }, |
30 { "action": "click_element", "selector": "div[class~=\"navBack\"]" }, | 36 { "action": "click_element", "selector": "div[class~=\"navBack\"]" }, |
| 37 { "action": "wait", "seconds": 2 }, |
31 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vBack\"]" }, | 38 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vBack\"]" }, |
32 { "action": "click_element", "selector": "div[class~=\"navBack\"]" }, | 39 { "action": "click_element", "selector": "div[class~=\"navBack\"]" }, |
| 40 { "action": "wait", "seconds": 2 }, |
33 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vForward\"]" } | 41 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vForward\"]" } |
34 ] | 42 ] |
35 } | 43 } |
36 ] | 44 ] |
37 } | 45 } |
OLD | NEW |