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

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

Issue 2235803002: [system-health] Rename browse:media:facebook to browse:media:facebook_photos (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/loading_stories.py
diff --git a/tools/perf/page_sets/system_health/loading_stories.py b/tools/perf/page_sets/system_health/loading_stories.py
index 90b2dabf3dd0e302d04e9a08cef3f4d7e9037e3d..961ccb46a1b521beec6f01adecedcf2906de9809 100644
--- a/tools/perf/page_sets/system_health/loading_stories.py
+++ b/tools/perf/page_sets/system_health/loading_stories.py
@@ -232,7 +232,7 @@ class Load9GagStory(_LoadingStory):
URL = 'https://www.9gag.com/'
-class LoadFlickr(_LoadingStory):
+class LoadFlickrStory(_LoadingStory):
NAME = 'load:media:flickr'
URL = 'https://www.flickr.com/photos/tags/farm'
@@ -244,11 +244,27 @@ class LoadFlickr(_LoadingStory):
!== null''')
-class LoadImgur(_LoadingStory):
+class LoadImgurStory(_LoadingStory):
NAME = 'load:media:imgur'
URL = 'http://imgur.com/gallery/5UlBN'
+class LoadFacebookPhotosMobileStory(_LoadingStory):
+ NAME = 'load:media:facebook_photos'
+ URL = (
+ 'https://m.facebook.com/rihanna/photos/a.207477806675.138795.10092511675/10153911739606676/?type=3&source=54&ref=page_internal')
+ SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY
+
+
+class LoadFacebookPhotosDesktopStory(_LoadingStory):
+ NAME = 'load:media:facebook_photos'
+ URL = (
+ 'https://www.facebook.com/rihanna/photos/a.207477806675.138795.10092511675/10153911739606676/?type=3&theater')
+ # Recording currently does not work. The page gets stuck in the
+ # theater viewer.
+ SUPPORTED_PLATFORMS = platforms.NO_PLATFORMS
+
+
################################################################################
# Online tools (documents, emails, storage, ...).
################################################################################
@@ -263,7 +279,7 @@ class LoadDocsStory(_LoadingStory):
class _LoadGmailBaseStory(_LoadingStory):
NAME = 'load:tools:gmail'
URL = 'https://mail.google.com/mail/'
- SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY
+ ABSTRACT_STORY = True
def _Login(self, action_runner):
google_login.LoginGoogleAccount(action_runner, 'googletest',
« no previous file with comments | « tools/perf/page_sets/system_health/browsing_stories.py ('k') | tools/perf/page_sets/system_health/system_health_story.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698