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

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

Issue 684863002: Updated all page sets to capture new set of webpage archives (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add waits for some pagesets Created 6 years, 2 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_cnet_nexus10.py ('k') | tools/skp/page_sets/skia_css3gradients_desktop.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/skp/page_sets/skia_cnn_nexus10.py
diff --git a/tools/skp/page_sets/skia_digg_nexus10.py b/tools/skp/page_sets/skia_cnn_nexus10.py
similarity index 63%
copy from tools/skp/page_sets/skia_digg_nexus10.py
copy to tools/skp/page_sets/skia_cnn_nexus10.py
index bd44785e641101f010e14c97a87ef486d96e7c4e..90aa26c3e9f065bb294ff1323cd6b80cb282e027 100644
--- a/tools/skp/page_sets/skia_digg_nexus10.py
+++ b/tools/skp/page_sets/skia_cnn_nexus10.py
@@ -16,28 +16,21 @@ class SkiaBuildbotDesktopPage(page_module.Page):
page_set=page_set,
credentials_path='data/credentials.json')
self.user_agent_type = 'tablet'
- self.archive_data_file = 'data/skia_digg_nexus10.json'
+ self.archive_data_file = 'data/skia_cnn_nexus10.json'
- def RunSmoothness(self, action_runner):
- action_runner.ScrollElement()
- def RunNavigateSteps(self, action_runner):
- action_runner.NavigateToPage(self)
- action_runner.Wait(5)
-
-
-class SkiaDiggNexus10PageSet(page_set_module.PageSet):
+class SkiaCnnNexus10PageSet(page_set_module.PageSet):
""" Pages designed to represent the median, not highly optimized web """
def __init__(self):
- super(SkiaDiggNexus10PageSet, self).__init__(
+ super(SkiaCnnNexus10PageSet, self).__init__(
user_agent_type='tablet',
- archive_data_file='data/skia_digg_nexus10.json')
+ archive_data_file='data/skia_cnn_nexus10.json')
urls_list = [
- # Why: from Clank CY.
- 'http://digg.com/',
+ # Why: #2 news worldwide.
+ 'http://www.cnn.com/2012/10/03/politics/michelle-obama-debate/index.html',
]
for url in urls_list:
« no previous file with comments | « tools/skp/page_sets/skia_cnet_nexus10.py ('k') | tools/skp/page_sets/skia_css3gradients_desktop.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698