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

Side by Side Diff: tools/perf/page_sets/gmail_alt_threadlist_conversation.json

Issue 186593007: Remove href_change and navigate from wait action (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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 unified diff | Download patch
« no previous file with comments | « no previous file | tools/perf/page_sets/gmail_alt_two_labels.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "description": "Chrome Endure test for GMail.", 2 "description": "Chrome Endure test for GMail.",
3 "archive_data_file": "data/gmail_alt_threadlist_conversation.json", 3 "archive_data_file": "data/gmail_alt_threadlist_conversation.json",
4 "credentials_path": "data/credentials.json", 4 "credentials_path": "data/credentials.json",
5 "user_agent_type": "desktop", 5 "user_agent_type": "desktop",
6 "pages": [ 6 "pages": [
7 { 7 {
8 "url": "https://mail.google.com/mail/", 8 "url": "https://mail.google.com/mail/",
9 "name": "gmail_alt_threadlist_conversation", 9 "name": "gmail_alt_threadlist_conversation",
10 "why": "Alternate between Inbox and the first email conversation", 10 "why": "Alternate between Inbox and the first email conversation",
11 "credentials": "google", 11 "credentials": "google",
12 "navigate_steps" : [ 12 "navigate_steps" : [
13 { "action": "navigate" }, 13 { "action": "navigate" },
14 { "action": "wait", "javascript": "window.gmonkey !== undefined && docum ent.getElementById('gb') !== null" } 14 { "action": "wait", "javascript": "window.gmonkey !== undefined && docum ent.getElementById('gb') !== null" }
15 ], 15 ],
16 "endure": [ 16 "endure": [
17 { 17 {
18 "action": "javascript_click", 18 "action": "javascript_click",
19 "xpath": "//span[@email]" 19 "xpath": "//span[@email]",
20 "wait_until" : { "condition" : "href_change" }
20 }, 21 },
21 { "action": "wait", "condition": "href_change" },
22 { "action": "wait", "seconds": 1 }, 22 { "action": "wait", "seconds": 1 },
23 { 23 {
24 "action": "javascript_click", 24 "action": "javascript_click",
25 "selector": "a[href=\"https://mail.google.com/mail/u/0/?shva=1#inbox\" ]" 25 "selector": "a[href=\"https://mail.google.com/mail/u/0/?shva=1#inbox\" ]",
26 "wait_until" : { "condition" : "href_change" }
26 }, 27 },
27 { "action": "wait", "condition": "href_change" },
28 { "action": "wait", "seconds": 1 } 28 { "action": "wait", "seconds": 1 }
29 ] 29 ]
30 } 30 }
31 ] 31 ]
32 } 32 }
OLDNEW
« no previous file with comments | « no previous file | tools/perf/page_sets/gmail_alt_two_labels.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698