| Index: tools/perf/page_sets/pica.json
|
| diff --git a/tools/perf/page_sets/pica.json b/tools/perf/page_sets/pica.json
|
| index 2315276805a04eec9bd2cfceaf074c15fea65701..58ead5414155f1c227628fb3737cee5a190faa5b 100644
|
| --- a/tools/perf/page_sets/pica.json
|
| +++ b/tools/perf/page_sets/pica.json
|
| @@ -5,7 +5,10 @@
|
| { "url": "http://www.polymer-project.org/polymer-all/projects/pica/index.html",
|
| "script_to_evaluate_on_commit":
|
| "document.addEventListener('WebComponentsReady', function(){var unused = document.body.offsetHeight; window.__pica_load_time = performance.now(); setTimeout(function(){window.__web_components_ready=true}, 1000)})",
|
| - "wait_for_javascript_expression": "window.__web_components_ready",
|
| + "navigate_steps" : [
|
| + { "action": "navigate" },
|
| + { "action": "wait", "condition": "javascript", "javascript": "window.__web_components_ready"}
|
| + ],
|
| "smoothness": {
|
| "action": "tap_element",
|
| "find_element_expression": "document.querySelector('pi-app').$.Topics.$.topics.$.container.querySelector('.item > .card')",
|
|
|