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

Unified Diff: tools/perf/page_sets/top_7_stress.py

Issue 1013803003: [Telemetry] Remove is_smooth flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix failing test Created 5 years, 9 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/top_25_smooth.py ('k') | tools/perf/page_sets/top_desktop_sites_2012Q3.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/top_7_stress.py
diff --git a/tools/perf/page_sets/top_7_stress.py b/tools/perf/page_sets/top_7_stress.py
index 2cf1831ef05658bb4edc5cedf15106c0027d7b14..5547358b819ed5eac382012adf9dfc604a4dde1a 100644
--- a/tools/perf/page_sets/top_7_stress.py
+++ b/tools/perf/page_sets/top_7_stress.py
@@ -42,7 +42,7 @@ class GoogleWebSearchPage(Top7StressPage):
def RunPageInteractions(self, action_runner):
interaction = action_runner.BeginGestureInteraction(
- 'ScrollAction', is_smooth=True)
+ 'ScrollAction')
action_runner.ScrollPage()
interaction.End()
old_href = _GetCurrentLocation(action_runner)
@@ -50,7 +50,7 @@ class GoogleWebSearchPage(Top7StressPage):
_WaitForLocationChange(action_runner, old_href)
action_runner.WaitForElement(text='Next')
interaction = action_runner.BeginGestureInteraction(
- 'ScrollAction', is_smooth=True)
+ 'ScrollAction')
action_runner.ScrollPage()
interaction.End()
old_href = _GetCurrentLocation(action_runner)
@@ -58,7 +58,7 @@ class GoogleWebSearchPage(Top7StressPage):
_WaitForLocationChange(action_runner, old_href)
action_runner.WaitForElement(text='Next')
interaction = action_runner.BeginGestureInteraction(
- 'ScrollAction', is_smooth=True)
+ 'ScrollAction')
action_runner.ScrollPage()
interaction.End()
old_href = _GetCurrentLocation(action_runner)
@@ -66,7 +66,7 @@ class GoogleWebSearchPage(Top7StressPage):
_WaitForLocationChange(action_runner, old_href)
action_runner.WaitForElement(text='Previous')
interaction = action_runner.BeginGestureInteraction(
- 'ScrollAction', is_smooth=True)
+ 'ScrollAction')
action_runner.ScrollPage()
interaction.End()
old_href = _GetCurrentLocation(action_runner)
@@ -74,7 +74,7 @@ class GoogleWebSearchPage(Top7StressPage):
_WaitForLocationChange(action_runner, old_href)
action_runner.WaitForElement(text='Previous')
interaction = action_runner.BeginGestureInteraction(
- 'ScrollAction', is_smooth=True)
+ 'ScrollAction')
action_runner.ScrollPage()
interaction.End()
old_href = _GetCurrentLocation(action_runner)
@@ -82,7 +82,7 @@ class GoogleWebSearchPage(Top7StressPage):
_WaitForLocationChange(action_runner, old_href)
action_runner.WaitForElement(text='Previous')
interaction = action_runner.BeginGestureInteraction(
- 'ScrollAction', is_smooth=True)
+ 'ScrollAction')
action_runner.ScrollPage()
interaction.End()
old_href = _GetCurrentLocation(action_runner)
@@ -90,7 +90,7 @@ class GoogleWebSearchPage(Top7StressPage):
_WaitForLocationChange(action_runner, old_href)
action_runner.WaitForElement(text='Images')
interaction = action_runner.BeginGestureInteraction(
- 'ScrollAction', is_smooth=True)
+ 'ScrollAction')
action_runner.ScrollPage()
interaction.End()
old_href = _GetCurrentLocation(action_runner)
@@ -230,7 +230,7 @@ class BlogspotPage(Top7StressPage):
action_runner.ClickElement(text='accessibility')
action_runner.WaitForNavigate()
interaction = action_runner.BeginGestureInteraction(
- 'ScrollAction', is_smooth=True)
+ 'ScrollAction')
action_runner.ScrollPage()
interaction.End()
# Insert 300ms wait to simulate user finger movement,
@@ -239,14 +239,14 @@ class BlogspotPage(Top7StressPage):
action_runner.ClickElement(text='advanced')
action_runner.WaitForNavigate()
interaction = action_runner.BeginGestureInteraction(
- 'ScrollAction', is_smooth=True)
+ 'ScrollAction')
action_runner.ScrollPage()
interaction.End()
action_runner.Wait(0.3)
action_runner.ClickElement(text='beginner')
action_runner.WaitForNavigate()
interaction = action_runner.BeginGestureInteraction(
- 'ScrollAction', is_smooth=True)
+ 'ScrollAction')
action_runner.ScrollPage()
interaction.End()
action_runner.Wait(0.3)
@@ -273,7 +273,7 @@ class WordpressPage(Top7StressPage):
def RunPageInteractions(self, action_runner):
interaction = action_runner.BeginGestureInteraction(
- 'ScrollAction', is_smooth=True)
+ 'ScrollAction')
action_runner.ScrollPage()
interaction.End()
# Insert 300ms wait to simulate user finger movement,
@@ -284,21 +284,21 @@ class WordpressPage(Top7StressPage):
'a[href="http://en.blog.wordpress.com/2012/08/30/new-themes-able-and-sight/"]')
action_runner.WaitForNavigate()
interaction = action_runner.BeginGestureInteraction(
- 'ScrollAction', is_smooth=True)
+ 'ScrollAction')
action_runner.ScrollPage()
interaction.End()
action_runner.Wait(0.3)
action_runner.ClickElement(text='Features')
action_runner.WaitForNavigate()
interaction = action_runner.BeginGestureInteraction(
- 'ScrollAction', is_smooth=True)
+ 'ScrollAction')
action_runner.ScrollPage()
interaction.End()
action_runner.Wait(0.3)
action_runner.ClickElement(text='News')
action_runner.WaitForNavigate()
interaction = action_runner.BeginGestureInteraction(
- 'ScrollAction', is_smooth=True)
+ 'ScrollAction')
action_runner.ScrollPage()
interaction.End()
@@ -321,7 +321,7 @@ class FacebookPage(Top7StressPage):
def RunPageInteractions(self, action_runner):
# Scroll and wait for the next page to be loaded.
interaction = action_runner.BeginGestureInteraction(
- 'ScrollAction', is_smooth=True)
+ 'ScrollAction')
action_runner.ScrollPage()
interaction.End()
action_runner.WaitForJavaScriptCondition(
@@ -330,7 +330,7 @@ class FacebookPage(Top7StressPage):
# Scroll and wait again.
interaction = action_runner.BeginGestureInteraction(
- 'ScrollAction', is_smooth=True)
+ 'ScrollAction')
action_runner.ScrollPage()
interaction.End()
action_runner.WaitForJavaScriptCondition(
« no previous file with comments | « tools/perf/page_sets/top_25_smooth.py ('k') | tools/perf/page_sets/top_desktop_sites_2012Q3.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698