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..cc435d6050343f5d7b90d81343f6b310c089b260 |
--- /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", "condition": "javascript", "javascript": "window.gmonkey !== undefined && document.getElementById('gb') !== null"} |
dennis_jeffrey
2013/08/27 20:02:35
add space before the closing }
edmundyan
2013/08/27 23:01:48
Done.
|
+ ], |
+ "endure": [ |
+ { |
+ "action": "click_element", |
+ "selector": "a[href=\"https://mail.google.com/mail/u/0/?shva=1#sent\"]" |
+ }, |
+ { "action": "wait", "condition": "href_change" }, |
+ { "action": "wait", "condition": "duration", "seconds": 1 }, |
+ { |
+ "action": "click_element", |
+ "selector": "a[href=\"https://mail.google.com/mail/u/0/?shva=1#inbox\"]" |
+ }, |
+ { "action": "wait", "condition": "href_change"}, |
dennis_jeffrey
2013/08/27 20:02:35
add space before the closing }
edmundyan
2013/08/27 23:01:48
Done.
|
+ { "action": "wait", "condition": "duration", "seconds": 1 } |
+ ] |
+ } |
+ ] |
+} |