Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: tools/perf/page_sets/gmail_expand_collapse_conversation.json

Issue 23465003: Adding pagesets for gmail and plus. Creating endure benchmark (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..eda38e74afd80df58fb44cb1469c3e4028b4fdce
--- /dev/null
+++ b/tools/perf/page_sets/gmail_expand_collapse_conversation.json
@@ -0,0 +1,26 @@
+{
+ "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",
edmundyan 2013/08/26 21:31:55 How do we ensure we enter a long conversation mail
dennis_jeffrey 2013/08/27 20:02:35 Right now we have to ensure the account is set up
edmundyan 2013/08/27 23:01:48 So is the explicit URL acceptable? This won't wor
dennis_jeffrey 2013/08/27 23:17:22 I'd say it's acceptable with a TODO added to the c
+ "why": "Expand and Collapse a long conversation",
+ "credentials": "google",
+ "navigate_steps": [
+ { "action": "navigate" },
+ { "action": "endure" },
+ { "action": "wait", "condition": "duration", "seconds": 10 }
edmundyan 2013/08/26 21:31:55 Need to ensure that all expanded emails have their
+ ],
+ "endure": [
+ { "action": "wait", "condition": "element", "selector": "img[alt=\"Expand all\"]" },
+ { "action": "click_element", "selector": "img[alt=\"Expand all\"]" },
+ { "action": "wait", "condition": "duration", "seconds": 1 },
+ { "action": "wait", "condition": "element", "selector": "img[alt=\"Collapse all\"]" },
+ { "action": "click_element", "selector": "img[alt=\"Collapse all\"]" },
+ { "action": "wait", "condition": "duration", "seconds": 1 }
+ ]
+ }
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698