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

Unified Diff: tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/top_20.py

Issue 1098253004: Move top_20 tests to a separate suite (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use ChromeProxyValidation in common in integration_tests Created 5 years, 8 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
Index: tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/top_20.py
diff --git a/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/top_20.py b/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/top_20.py
deleted file mode 100644
index 22ec8a662636939c4140d8962d9bcc354f8831f8..0000000000000000000000000000000000000000
--- a/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/top_20.py
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 2014 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-from telemetry.page import page as page_module
-from telemetry.page import page_set as page_set_module
-
-
-class Top20Page(page_module.Page):
-
- def __init__(self, url, page_set, name=''):
- super(Top20Page, self).__init__(url=url, page_set=page_set, name=name)
- self.archive_data_file = '../data/chrome_proxy_top_20.json'
-
-class Top20PageSet(page_set_module.PageSet):
-
- """ Pages hand-picked for Chrome Proxy tests. """
-
- def __init__(self):
- super(Top20PageSet, self).__init__(
- archive_data_file='../data/chrome_proxy_top_20.json')
-
- # Why: top google property; a google tab is often open
- self.AddUserStory(Top20Page('https://www.google.com/#hl=en&q=barack+obama',
- self))
-
- # Why: #3 (Alexa global)
- self.AddUserStory(Top20Page('http://www.youtube.com', self))
-
- # Why: #18 (Alexa global), Picked an interesting post
- self.AddUserStory(Top20Page(
- # pylint: disable=C0301
- 'http://en.blog.wordpress.com/2012/09/04/freshly-pressed-editors-picks-for-august-2012/',
- self, 'Wordpress'))
-
- # Why: top social,Public profile
- self.AddUserStory(Top20Page('http://www.facebook.com/barackobama', self,
- 'Facebook'))
-
- # Why: #12 (Alexa global),Public profile
- self.AddUserStory(Top20Page('http://www.linkedin.com/in/linustorvalds',
- self, 'LinkedIn'))
-
- # Why: #6 (Alexa) most visited worldwide,Picked an interesting page
- self.AddUserStory(Top20Page('http://en.wikipedia.org/wiki/Wikipedia', self,
- 'Wikipedia (1 tab)'))
-
- # Why: #8 (Alexa global),Picked an interesting page
- self.AddUserStory(Top20Page('https://twitter.com/katyperry', self,
- 'Twitter'))
-
- # Why: #37 (Alexa global)
- self.AddUserStory(Top20Page('http://pinterest.com', self, 'Pinterest'))
-
- # Why: #1 sports
- self.AddUserStory(Top20Page('http://espn.go.com', self, 'ESPN'))
-
- # Why: #1 news worldwide (Alexa global)
- self.AddUserStory(Top20Page('http://news.yahoo.com', self))
-
- # Why: #2 news worldwide
- self.AddUserStory(Top20Page('http://www.cnn.com', self))
-
- # Why: #7 (Alexa news); #27 total time spent,Picked interesting page
- self.AddUserStory(Top20Page(
- 'http://www.weather.com/weather/right-now/Mountain+View+CA+94043',
- self, 'Weather.com'))
-
- # Why: #1 world commerce website by visits; #3 commerce in the US by time
- # spent
- self.AddUserStory(Top20Page('http://www.amazon.com', self))
-
- # Why: #1 commerce website by time spent by users in US
- self.AddUserStory(Top20Page('http://www.ebay.com', self))
-
- # Why: #1 games according to Alexa (with actual games in it)
- self.AddUserStory(Top20Page('http://games.yahoo.com', self))
-
- # Why: #1 Alexa recreation
- self.AddUserStory(Top20Page('http://booking.com', self))
-
- # Why: #1 Alexa reference
- self.AddUserStory(Top20Page('http://answers.yahoo.com', self))
-
- # Why: #1 Alexa sports
- self.AddUserStory(Top20Page('http://sports.yahoo.com/', self))
-
- # Why: top tech blog
- self.AddUserStory(Top20Page('http://techcrunch.com', self))
-
- self.AddUserStory(Top20Page('http://www.nytimes.com', self))

Powered by Google App Engine
This is Rietveld 408576698