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

Unified Diff: tools/perf/page_sets/tough_pinch_zoom_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/tough_energy_cases.py ('k') | tools/perf/page_sets/tough_webgl_cases.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/tough_pinch_zoom_cases.py
diff --git a/tools/perf/page_sets/tough_pinch_zoom_cases.py b/tools/perf/page_sets/tough_pinch_zoom_cases.py
index 799cfc4547ef9e33496f0560c6d008c2adc6d432..0f80719643c1b01d8e4421fead286f546ee2542e 100644
--- a/tools/perf/page_sets/tough_pinch_zoom_cases.py
+++ b/tools/perf/page_sets/tough_pinch_zoom_cases.py
@@ -30,7 +30,7 @@ class GoogleSearchPage(ToughPinchZoomCasesPage):
page_set=page_set)
def RunNavigateSteps(self, action_runner):
- action_runner.RunAction(NavigateAction())
+ action_runner.NavigateToPage(self)
action_runner.RunAction(WaitAction(
{
'text': 'Next',
@@ -50,7 +50,7 @@ class GmailPage(ToughPinchZoomCasesPage):
self.credentials = 'google'
def RunNavigateSteps(self, action_runner):
- action_runner.RunAction(NavigateAction())
+ action_runner.NavigateToPage(self)
action_runner.RunAction(WaitAction(
{
'javascript' : (
@@ -71,7 +71,7 @@ class GoogleCalendarPage(ToughPinchZoomCasesPage):
self.credentials = 'google'
def RunNavigateSteps(self, action_runner):
- action_runner.RunAction(NavigateAction())
+ action_runner.NavigateToPage(self)
action_runner.RunAction(WaitAction({'seconds':2}))
def RunSmoothness(self, action_runner):
@@ -106,7 +106,7 @@ class GooglePlusPage(ToughPinchZoomCasesPage):
self.credentials = 'google'
def RunNavigateSteps(self, action_runner):
- action_runner.RunAction(NavigateAction())
+ action_runner.NavigateToPage(self)
action_runner.RunAction(WaitAction(
{
'text': 'Home',
@@ -135,7 +135,7 @@ class YoutubePage(ToughPinchZoomCasesPage):
self.credentials = 'google'
def RunNavigateSteps(self, action_runner):
- action_runner.RunAction(NavigateAction())
+ action_runner.NavigateToPage(self)
action_runner.RunAction(WaitAction({'seconds':2}))
class BlogSpotPage(ToughPinchZoomCasesPage):
@@ -151,7 +151,7 @@ class BlogSpotPage(ToughPinchZoomCasesPage):
page_set=page_set, name='Blogger')
def RunNavigateSteps(self, action_runner):
- action_runner.RunAction(NavigateAction())
+ action_runner.NavigateToPage(self)
action_runner.RunAction(WaitAction(
{
'text': 'accessibility',
@@ -170,7 +170,7 @@ class FacebookPage(ToughPinchZoomCasesPage):
self.credentials = 'facebook'
def RunNavigateSteps(self, action_runner):
- action_runner.RunAction(NavigateAction())
+ action_runner.NavigateToPage(self)
action_runner.RunAction(WaitAction(
{
'text': 'About',
@@ -208,7 +208,7 @@ class TwitterPage(ToughPinchZoomCasesPage):
page_set=page_set, name='Twitter')
def RunNavigateSteps(self, action_runner):
- action_runner.RunAction(NavigateAction())
+ action_runner.NavigateToPage(self)
action_runner.RunAction(WaitAction({'seconds':2}))
class ESPNPage(ToughPinchZoomCasesPage):
@@ -242,7 +242,7 @@ class YahooGamePage(ToughPinchZoomCasesPage):
page_set=page_set)
def RunNavigateSteps(self, action_runner):
- action_runner.RunAction(NavigateAction())
+ action_runner.NavigateToPage(self)
action_runner.RunAction(WaitAction({'seconds':2}))
class ToughPinchZoomCasesPageSet(page_set_module.PageSet):
« no previous file with comments | « tools/perf/page_sets/tough_energy_cases.py ('k') | tools/perf/page_sets/tough_webgl_cases.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698