- add sources.
[platform/framework/web/crosswalk.git] / src / tools / perf / page_sets / pica.json
1 {
2   "description": "Pica demo app for the Polymer UI toolkit",
3   "archive_data_file": "data/pica.json",
4   "pages": [
5     { "url": "http://localhost/polymer/projects/pica/",
6       "script_to_evaluate_on_commit":
7           "document.addEventListener('WebComponentsReady', function(){var unused = document.body.offsetHeight; window.__pica_load_time = performance.now(); setTimeout(function(){window.__web_components_ready=true}, 1000)})",
8       "navigate_steps" : [
9         { "action": "navigate" },
10         { "action": "wait", "javascript": "window.__web_components_ready" }
11       ],
12       "smoothness": {
13         "action": "tap_element",
14         "find_element_expression": "document.querySelector('pi-app').$.Topics.$.topics.$.container.querySelector('.item > .card')",
15         "wait_for_event": "polymer-pages-animation-end"
16       }
17     }
18   ]
19 }