Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(225)

Unified Diff: tools/telemetry/telemetry/page/actions/scroll_unittest.py

Issue 277143003: Add NavigateToPage API for action_runner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/telemetry/telemetry/page/actions/scroll_unittest.py
diff --git a/tools/telemetry/telemetry/page/actions/scroll_unittest.py b/tools/telemetry/telemetry/page/actions/scroll_unittest.py
index d4630381dc89ef1f26ea5aac832a0e3b49afdd59..a60b089b60e6362a9cbce5c6007d80991f5f5a3c 100644
--- a/tools/telemetry/telemetry/page/actions/scroll_unittest.py
+++ b/tools/telemetry/telemetry/page/actions/scroll_unittest.py
@@ -40,7 +40,7 @@ class ScrollActionTest(tab_test_case.TabTestCase):
|| document.body.scrollTop"""), 0)
i = scroll.ScrollAction()
- i.WillRunAction(page, self._tab)
+ i.WillRunAction(self._tab)
self._tab.ExecuteJavaScript("""
window.__scrollAction.beginMeasuringHook = function() {
@@ -49,7 +49,7 @@ class ScrollActionTest(tab_test_case.TabTestCase):
window.__scrollAction.endMeasuringHook = function() {
window.__didEndMeasuring = true;
};""")
- i.RunAction(page, self._tab)
+ i.RunAction(self._tab)
self.assertTrue(self._tab.EvaluateJavaScript('window.__didBeginMeasuring'))
self.assertTrue(self._tab.EvaluateJavaScript('window.__didEndMeasuring'))
« no previous file with comments | « tools/telemetry/telemetry/page/actions/scroll_bounce.py ('k') | tools/telemetry/telemetry/page/actions/seek.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698