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

Unified Diff: tools/telemetry/telemetry/page/actions/navigate_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/navigate_unittest.py
diff --git a/tools/telemetry/telemetry/page/actions/navigate_unittest.py b/tools/telemetry/telemetry/page/actions/navigate_unittest.py
index a0e136e79bd7c082fd17f96ff61cff86a9e4f9e5..d501e291f55d8643d5b468325c7cac2e147752d8 100644
--- a/tools/telemetry/telemetry/page/actions/navigate_unittest.py
+++ b/tools/telemetry/telemetry/page/actions/navigate_unittest.py
@@ -17,8 +17,8 @@ class NavigateActionTest(tab_test_case.TabTestCase):
def testNavigateAction(self):
page = self.CreatePageFromUnittestDataDir('blank.html')
- i = navigate.NavigateAction()
- i.RunAction(page, self._tab)
+ i = navigate.NavigateAction({'url' : page.url})
+ i.RunAction(self._tab)
self.assertEquals(
self._tab.EvaluateJavaScript('document.location.pathname;'),
'/blank.html')
« no previous file with comments | « tools/telemetry/telemetry/page/actions/navigate.py ('k') | tools/telemetry/telemetry/page/actions/page_action.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698