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

Unified Diff: tools/perf/page_sets/system_health/browsing_stories.py

Issue 2162873002: [system health] Add flipboard to system health stories. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add loading story and upload wpr Created 4 years, 5 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/perf/page_sets/system_health/browsing_stories.py
diff --git a/tools/perf/page_sets/system_health/browsing_stories.py b/tools/perf/page_sets/system_health/browsing_stories.py
index 388e0ee5c3ea0c46d6988163c40715dbe8192216..aea85ac442a58498959f894e6c6667988e2a3632 100644
--- a/tools/perf/page_sets/system_health/browsing_stories.py
+++ b/tools/perf/page_sets/system_health/browsing_stories.py
@@ -107,6 +107,23 @@ class FacebookDesktopStory(_NewsBrowsingStory):
SUPPORTED_PLATFORMS = platforms.NO_PLATFORMS
+class FlipboardMobileStory(_NewsBrowsingStory):
+ NAME = 'browse:news:flipboard'
+ URL = 'https://flipboard.com/explore'
+ IS_SINGLE_PAGE_APP = True
+ ITEM_SELECTOR = '.grad-top'
+ ITEM_SCROLL_REPEAT = 4
+ SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY
+
+
+class FlipboardDesktopStory(_NewsBrowsingStory):
+ NAME = 'browse:news:flipboard'
+ URL = 'https://flipboard.com/explore'
+ IS_SINGLE_PAGE_APP = True
+ ITEM_SELECTOR = '.cover-image'
+ SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY
+
+
class HackerNewsStory(_NewsBrowsingStory):
NAME = 'browse:news:hackernews'
URL = 'https://news.ycombinator.com'
« no previous file with comments | « tools/perf/page_sets/data/system_health_mobile_025.wpr.sha1 ('k') | tools/perf/page_sets/system_health/loading_stories.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698