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

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

Issue 2787103003: Add System health stories for Emerging market (Closed)
Patch Set: Fix a description. Created 3 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/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 f3ab950d6bcff18cdc81910a676a3992f380800f..946e67db4f41a82b8fb7e300109c4013eb7c136e 100644
--- a/tools/perf/page_sets/system_health/loading_stories.py
+++ b/tools/perf/page_sets/system_health/loading_stories.py
@@ -39,9 +39,10 @@ class LoadYahooStory(_LoadingStory):
URL = 'https://search.yahoo.com/search;_ylt=?p=google'
-class LoadAmazonStory(_LoadingStory):
+class LoadAmazonDesktopStory(_LoadingStory):
NAME = 'load:search:amazon'
URL = 'https://www.amazon.com/s/?field-keywords=nexus'
+ SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY
class LoadTaobaoDesktopStory(_LoadingStory):
@@ -98,9 +99,10 @@ class LoadVkStory(_LoadingStory):
TAGS = [story_tags.INTERNATIONAL]
-class LoadInstagramStory(_LoadingStory):
+class LoadInstagramDesktopStory(_LoadingStory):
NAME = 'load:social:instagram'
URL = 'https://www.instagram.com/selenagomez/'
+ SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY
class LoadPinterestStory(_LoadingStory):
@@ -208,6 +210,14 @@ class LoadWashingtonPostMobileStory(_LoadingStory):
class LoadWikipediaStory(_LoadingStory):
NAME = 'load:news:wikipedia'
URL = 'https://en.wikipedia.org/wiki/Science'
+ TAGS = [story_tags.EMERGING_MARKET]
+
+
+class LoadIrctcStory(_LoadingStory):
+ NAME = 'load:news:irctc'
+ URL = 'https://www.irctc.co.in'
+ SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY
+ TAGS = [story_tags.EMERGING_MARKET]
################################################################################
@@ -220,6 +230,7 @@ class LoadYouTubeStory(_LoadingStory):
NAME = 'load:media:youtube'
URL = 'https://www.youtube.com/watch?v=QGfhS1hfTWw&autoplay=false'
PLATFORM_SPECIFIC = True
+ TAGS = [story_tags.EMERGING_MARKET]
class LoadDailymotionStory(_LoadingStory):
@@ -269,6 +280,7 @@ class LoadFacebookPhotosMobileStory(_LoadingStory):
URL = (
'https://m.facebook.com/rihanna/photos/a.207477806675.138795.10092511675/10153911739606676/?type=3&source=54&ref=page_internal')
SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY
+ TAGS = [story_tags.EMERGING_MARKET]
class LoadFacebookPhotosDesktopStory(_LoadingStory):
@@ -331,11 +343,6 @@ class LoadGmailMobileStory(_LoadGmailBaseStory):
action_runner.WaitForJavaScriptCondition(
'document.getElementById("apploadingdiv").style.height === "0px"')
-class LoadMapsStory(_LoadingStory):
- NAME = 'load:tools:maps'
- URL = 'https://www.google.com/maps/place/London,+UK/'
-
-
class LoadStackOverflowStory(_LoadingStory):
NAME = 'load:tools:stackoverflow'
URL = (
« no previous file with comments | « tools/perf/page_sets/system_health/browsing_stories.py ('k') | tools/perf/page_sets/system_health/searching_stories.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698