2 "description": "Chrome Endure test for GMail.",
3 "archive_data_file": "data/gmail_expand_collapse_conversation.json",
4 "credentials_path": "data/credentials.json",
5 "user_agent_type": "desktop",
8 "url": "https://mail.google.com/mail/u/0/#inbox/13c6a141fa95ffe0",
9 "name": "gmail_expand_collapse_conversation",
10 "why": "Expand and Collapse a long conversation. # TODO(edmundyan): Find a long conversation rather than hardcode url",
11 "credentials": "google",
13 { "action": "navigate" },
14 { "action": "wait", "condition": "element", "selector": "img[alt=\"Expand all\"]" },
15 { "action": "javascript_click", "selector": "img[alt=\"Expand all\"]" },
16 { "action": "wait", "seconds": 5 },
17 { "action": "wait", "condition": "element", "selector": "img[alt=\"Collapse all\"]" },
18 { "action": "javascript_click", "selector": "img[alt=\"Collapse all\"]" },
19 { "action": "wait", "seconds": 1 }
22 { "action": "wait", "condition": "element", "selector": "img[alt=\"Expand all\"]" },
23 { "action": "javascript_click", "selector": "img[alt=\"Expand all\"]" },
24 { "action": "wait", "seconds": 1 },
25 { "action": "wait", "condition": "element", "selector": "img[alt=\"Collapse all\"]" },
26 { "action": "javascript_click", "selector": "img[alt=\"Collapse all\"]" },
27 { "action": "wait", "seconds": 1 }