Index: tools/perf/page_sets/gmail_alt_two_labels.json |
diff --git a/tools/perf/page_sets/gmail_alt_two_labels.json b/tools/perf/page_sets/gmail_alt_two_labels.json |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ebcfa5cc1b4ba35e44e1a983c68e9462eaa01250 |
--- /dev/null |
+++ b/tools/perf/page_sets/gmail_alt_two_labels.json |
@@ -0,0 +1,31 @@ |
+{ |
+ "description": "Chrome Endure test for GMail.", |
+ "archive_data_file": "../data/gmail_alt_two_labels.json", |
+ "credentials_path": "../data/credentials.json", |
+ "user_agent_type": "desktop", |
+ "pages": [ |
+ { |
+ "url": "https://mail.google.com/mail/", |
+ "why": "Alternate between Inbox and Sent Mail", |
+ "credentials": "google", |
+ "navigate_steps" : [ |
+ { "action": "navigate" }, |
+ { "action": "wait", "javascript": "window.gmonkey !== undefined && document.getElementById('gb') !== null" } |
+ ], |
+ "endure": [ |
+ { |
+ "action": "click_element", |
+ "selector": "a[href=\"https://mail.google.com/mail/u/0/?shva=1#sent\"]" |
+ }, |
+ { "action": "wait", "condition": "href_change" }, |
+ { "action": "wait", "seconds": 1 }, |
+ { |
+ "action": "click_element", |
+ "selector": "a[href=\"https://mail.google.com/mail/u/0/?shva=1#inbox\"]" |
+ }, |
+ { "action": "wait", "condition": "href_change" }, |
+ { "action": "wait", "seconds": 1 } |
+ ] |
+ } |
+ ] |
+} |