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

Unified Diff: tools/skp/page_sets/skia_gamedeksiam_nexus10.py

Issue 1203433002: Migrate PageSets to StorySets in buildbot page sets (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Fix typo Created 5 years, 6 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/skp/page_sets/skia_espn_desktop.py ('k') | tools/skp/page_sets/skia_gmail_nexus10.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/skp/page_sets/skia_gamedeksiam_nexus10.py
diff --git a/tools/skp/page_sets/skia_gamedeksiam_nexus10.py b/tools/skp/page_sets/skia_gamedeksiam_nexus10.py
index 78ef86f425ccba7539872b7e59363185bafb7164..903da4a430fef5e84772d5ee93de300223478183 100644
--- a/tools/skp/page_sets/skia_gamedeksiam_nexus10.py
+++ b/tools/skp/page_sets/skia_gamedeksiam_nexus10.py
@@ -4,8 +4,9 @@
# pylint: disable=W0401,W0614
+from telemetry import story
from telemetry.page import page as page_module
-from telemetry.page import page_set as page_set_module
+from telemetry.page import shared_page_state
class SkiaBuildbotDesktopPage(page_module.Page):
@@ -14,8 +15,8 @@ class SkiaBuildbotDesktopPage(page_module.Page):
super(SkiaBuildbotDesktopPage, self).__init__(
url=url,
page_set=page_set,
- credentials_path='data/credentials.json')
- self.user_agent_type = 'tablet'
+ credentials_path='data/credentials.json',
+ shared_page_state_class=shared_page_state.Shared10InchTabletPageState)
self.archive_data_file = 'data/skia_gamedeksiam_nexus10.json'
def RunNavigateSteps(self, action_runner):
@@ -23,13 +24,12 @@ class SkiaBuildbotDesktopPage(page_module.Page):
action_runner.Wait(5)
-class SkiaGamedeksiamNexus10PageSet(page_set_module.PageSet):
+class SkiaGamedeksiamNexus10PageSet(story.StorySet):
""" Pages designed to represent the median, not highly optimized web """
def __init__(self):
super(SkiaGamedeksiamNexus10PageSet, self).__init__(
- user_agent_type='tablet',
archive_data_file='data/skia_gamedeksiam_nexus10.json')
urls_list = [
« no previous file with comments | « tools/skp/page_sets/skia_espn_desktop.py ('k') | tools/skp/page_sets/skia_gmail_nexus10.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698