Index: tools/perf/page_sets/gmail_expand_collapse_conversation.json |
diff --git a/tools/perf/page_sets/gmail_expand_collapse_conversation.json b/tools/perf/page_sets/gmail_expand_collapse_conversation.json |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e03105ac494e4ed0d8484c3e7c04542b49289461 |
--- /dev/null |
+++ b/tools/perf/page_sets/gmail_expand_collapse_conversation.json |
@@ -0,0 +1,30 @@ |
+{ |
+ "description": "Chrome Endure test for GMail.", |
+ "archive_data_file": "../data/gmail_expand_collapse_conversation.json", |
+ "credentials_path": "../data/credentials.json", |
+ "user_agent_type": "desktop", |
+ "pages": [ |
+ { |
+ "url": "https://mail.google.com/mail/u/0/#inbox/13c6a141fa95ffe0", |
+ "why": "Expand and Collapse a long conversation. # TODO(edmundyan): Find a long conversation rather than hardcode url", |
+ "credentials": "google", |
+ "navigate_steps": [ |
+ { "action": "navigate" }, |
+ { "action": "wait", "condition": "element", "selector": "img[alt=\"Expand all\"]" }, |
+ { "action": "click_element", "selector": "img[alt=\"Expand all\"]" }, |
+ { "action": "wait", "seconds": 5 }, |
+ { "action": "wait", "condition": "element", "selector": "img[alt=\"Collapse all\"]" }, |
+ { "action": "click_element", "selector": "img[alt=\"Collapse all\"]" }, |
+ { "action": "wait", "seconds": 1 } |
+ ], |
+ "endure": [ |
+ { "action": "wait", "condition": "element", "selector": "img[alt=\"Expand all\"]" }, |
+ { "action": "click_element", "selector": "img[alt=\"Expand all\"]" }, |
+ { "action": "wait", "seconds": 1 }, |
+ { "action": "wait", "condition": "element", "selector": "img[alt=\"Collapse all\"]" }, |
+ { "action": "click_element", "selector": "img[alt=\"Collapse all\"]" }, |
+ { "action": "wait", "seconds": 1 } |
+ ] |
+ } |
+ ] |
+} |