Upstream version 7.35.144.0
[platform/framework/web/crosswalk.git] / src / tools / perf / page_sets / gmail_alt_two_labels.json
1 {
2   "description": "Chrome Endure test for GMail.",
3   "archive_data_file": "data/gmail_alt_two_labels.json",
4   "credentials_path": "data/credentials.json",
5   "user_agent_type": "desktop",
6   "pages": [
7     {
8       "url": "https://mail.google.com/mail/",
9       "name": "gmail_alt_two_labels",
10       "why": "Alternate between Inbox and Sent Mail",
11       "credentials": "google",
12       "navigate_steps" : [
13         { "action": "navigate" },
14         { "action": "wait", "javascript": "window.gmonkey !== undefined && document.getElementById('gb') !== null" }
15       ],
16       "endure": [
17         {
18           "action": "javascript_click",
19           "selector": "a[href=\"https://mail.google.com/mail/u/0/?shva=1#sent\"]",
20           "wait_until" : { "condition" : "href_change" }
21         },
22         { "action": "wait", "seconds": 1 },
23         {
24           "action": "javascript_click",
25           "selector": "a[href=\"https://mail.google.com/mail/u/0/?shva=1#inbox\"]",
26           "wait_until" : { "condition" : "href_change" }
27         },
28         { "action": "wait", "seconds": 1 }
29       ]
30     }
31   ]
32 }