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

Unified Diff: tools/perf/page_sets/key_silk_cases.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
« no previous file with comments | « tools/perf/page_sets/key_mobile_sites.py ('k') | tools/perf/page_sets/maps.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/key_silk_cases.py
diff --git a/tools/perf/page_sets/key_silk_cases.py b/tools/perf/page_sets/key_silk_cases.py
index ad52e857dfecadd1b8c99cabca35059f8a87de7c..4a1482988f0a3f3cd639fc9d6d63967ec9381b44 100644
--- a/tools/perf/page_sets/key_silk_cases.py
+++ b/tools/perf/page_sets/key_silk_cases.py
@@ -17,7 +17,7 @@ class KeySilkCasesPage(page_module.Page):
self.archive_data_file = 'data/key_silk_cases.json'
def RunNavigateSteps(self, action_runner):
- action_runner.RunAction(NavigateAction())
+ action_runner.NavigateToPage(self)
action_runner.RunAction(WaitAction(
{
'seconds': 2
@@ -283,7 +283,7 @@ class Page16(KeySilkCasesPage):
page_set=page_set)
def RunNavigateSteps(self, action_runner):
- action_runner.RunAction(NavigateAction())
+ action_runner.NavigateToPage(self)
action_runner.RunAction(WaitAction({'seconds': 2}))
def SwipeToDismiss(self, action_runner):
@@ -317,7 +317,7 @@ class Page17(KeySilkCasesPage):
page_set=page_set)
def RunNavigateSteps(self, action_runner):
- action_runner.RunAction(NavigateAction())
+ action_runner.NavigateToPage(self)
action_runner.RunAction(WaitAction({'seconds': 2}))
def RunSmoothness(self, action_runner):
@@ -361,7 +361,7 @@ class Page18(KeySilkCasesPage):
page_set=page_set)
def RunNavigateSteps(self, action_runner):
- action_runner.RunAction(NavigateAction())
+ action_runner.NavigateToPage(self)
action_runner.RunAction(WaitAction(
{
'seconds': 2
@@ -399,7 +399,7 @@ class Page19(KeySilkCasesPage):
def RunNavigateSteps(self, action_runner):
- action_runner.RunAction(NavigateAction())
+ action_runner.NavigateToPage(self)
action_runner.RunAction(WaitAction({'seconds': 2}))
self.ToggleDrawer(action_runner)
@@ -476,7 +476,7 @@ class Page21(KeySilkCasesPage):
def RunNavigateSteps(self, action_runner):
- action_runner.RunAction(NavigateAction())
+ action_runner.NavigateToPage(self)
action_runner.RunAction(WaitAction({'seconds': 3}))
self.ScrollKnowledgeCardToTop(action_runner)
@@ -495,7 +495,7 @@ class Page22(KeySilkCasesPage):
self.credentials = 'google'
def RunNavigateSteps(self, action_runner):
- action_runner.RunAction(NavigateAction())
+ action_runner.NavigateToPage(self)
action_runner.RunAction(WaitAction(
{
'javascript': 'document.getElementsByClassName("fHa").length > 0'
@@ -552,7 +552,7 @@ class Page24(KeySilkCasesPage):
page_set=page_set)
def RunNavigateSteps(self, action_runner):
- action_runner.RunAction(NavigateAction())
+ action_runner.NavigateToPage(self)
action_runner.RunAction(WaitAction(
{
'javascript': 'document.getElementById(":h") != null'
@@ -580,7 +580,7 @@ class Page25(KeySilkCasesPage):
page_set=page_set)
def RunNavigateSteps(self, action_runner):
- action_runner.RunAction(NavigateAction())
+ action_runner.NavigateToPage(self)
action_runner.RunAction(WaitAction(
{
'javascript': 'document.getElementById(":h") != null'
@@ -615,7 +615,7 @@ class Page26(KeySilkCasesPage):
page_set=page_set)
def RunNavigateSteps(self, action_runner):
- action_runner.RunAction(NavigateAction())
+ action_runner.NavigateToPage(self)
action_runner.RunAction(WaitAction(
{
'javascript': 'document.getElementsByClassName("tweet").length > 0'
« no previous file with comments | « tools/perf/page_sets/key_mobile_sites.py ('k') | tools/perf/page_sets/maps.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698