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 "name": "calendar_forward_backward", |
9 "why": "Click forward(4x) and backwards(4x) repeatedly", | 10 "why": "Click forward(4x) and backwards(4x) repeatedly", |
10 "credentials": "google", | 11 "credentials": "google", |
11 "navigate_steps" : [ | 12 "navigate_steps" : [ |
12 { "action": "navigate" }, | 13 { "action": "navigate" }, |
13 { "action": "wait", "seconds": 2 }, | 14 { "action": "wait", "seconds": 2 }, |
14 { "action": "wait", "condition": "element", "selector": "div[class~=\"n
avForward\"]" }, | 15 { "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); })();" } | 16 { "action": "javascript", "expression": "(function() { var elem = docume
nt.createElement('meta');elem.name='viewport';elem.content='initial-scale=1';doc
ument.body.appendChild(elem); })();" } |
16 ], | 17 ], |
17 "endure": [ | 18 "endure": [ |
18 { "action": "click_element", "selector": "div[class~=\"navForward\"]" }, | 19 { "action": "click_element", "selector": "div[class~=\"navForward\"]" }, |
(...skipping 17 matching lines...) Expand all Loading... |
36 { "action": "click_element", "selector": "div[class~=\"navBack\"]" }, | 37 { "action": "click_element", "selector": "div[class~=\"navBack\"]" }, |
37 { "action": "wait", "seconds": 2 }, | 38 { "action": "wait", "seconds": 2 }, |
38 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vBack\"]" }, | 39 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vBack\"]" }, |
39 { "action": "click_element", "selector": "div[class~=\"navBack\"]" }, | 40 { "action": "click_element", "selector": "div[class~=\"navBack\"]" }, |
40 { "action": "wait", "seconds": 2 }, | 41 { "action": "wait", "seconds": 2 }, |
41 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vForward\"]" } | 42 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vForward\"]" } |
42 ] | 43 ] |
43 } | 44 } |
44 ] | 45 ] |
45 } | 46 } |
OLD | NEW |