OLD | NEW |
1 { | 1 { |
2 "description": "Pica demo app for the Polymer UI toolkit", | 2 "description": "Pica demo app for the Polymer UI toolkit", |
3 "archive_data_file": "data/pica.json", | 3 "archive_data_file": "data/pica.json", |
4 "pages": [ | 4 "pages": [ |
5 { "url": "http://localhost/polymer/projects/pica/", | 5 { "url": "http://localhost/polymer/projects/pica/", |
6 "script_to_evaluate_on_commit": | 6 "script_to_evaluate_on_commit": |
7 "document.addEventListener('WebComponentsReady', function(){var unused
= document.body.offsetHeight; window.__pica_load_time = performance.now(); setT
imeout(function(){window.__web_components_ready=true}, 1000)})", | 7 "document.addEventListener('WebComponentsReady', function(){var unused
= document.body.offsetHeight; window.__pica_load_time = performance.now(); setT
imeout(function(){window.__web_components_ready=true}, 1000)})", |
8 "navigate_steps" : [ | 8 "navigate_steps" : [ |
9 { "action": "navigate" }, | 9 { "action": "navigate" }, |
10 { "action": "wait", "javascript": "window.__web_components_ready" } | 10 { "action": "wait", "javascript": "window.__web_components_ready" } |
11 ], | 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 } | 12 } |
18 ] | 13 ] |
19 } | 14 } |
OLD | NEW |