Commit 757614a6 authored by tonyg@chromium.org's avatar tonyg@chromium.org

[Telemetry] Attempt to fix flaky testClickWithSelectorWaitForNavigation

I wasn't able to repro locally, but based on the failure, this looks like it
would do the trick.

BUG=244459
TEST=tools/telemetry/run_tests testClickWithSelectorWaitForNavigation --repeat-count=5
NOTRY=True

Review URL: https://chromiumcodereview.appspot.com/15929007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202629 0039d316-1c4b-4281-b951-d872f2087c98
parent cf782b84
...@@ -18,7 +18,7 @@ class ClickElementActionTest(tab_test_case.TabTestCase): ...@@ -18,7 +18,7 @@ class ClickElementActionTest(tab_test_case.TabTestCase):
self._tab.EvaluateJavaScript('document.location.pathname;'), self._tab.EvaluateJavaScript('document.location.pathname;'),
'/page_with_link.html') '/page_with_link.html')
data = {'selector': 'a[id="clickme"]', 'wait_for_navigation': True} data = {'selector': 'a[id="clickme"]', 'wait_for_href_change': True}
i = click_element.ClickElementAction(data) i = click_element.ClickElementAction(data)
i.RunAction(None, self._tab, None) i.RunAction(None, self._tab, None)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment