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

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

Issue 2693973002: Add Javascript-Heavy tags for system health stories with heavy uses of JS (Closed)
Patch Set: Rebase Created 3 years, 10 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 6a51c1e67bd0f087b114ee933dff922ab9ba57c7..4291aca660372022ba35339baeac60d47a485262 100644
--- a/tools/perf/page_sets/system_health/loading_stories.py
+++ b/tools/perf/page_sets/system_health/loading_stories.py
@@ -3,6 +3,7 @@
# found in the LICENSE file.
from page_sets.system_health import platforms
+from page_sets.system_health import story_tags
from page_sets.system_health import system_health_story
from page_sets.login_helpers import dropbox_login
@@ -100,12 +101,14 @@ class LoadInstagramStory(_LoadingStory):
class LoadPinterestStory(_LoadingStory):
NAME = 'load:social:pinterest'
URL = 'https://uk.pinterest.com/categories/popular/'
+ TAGS = [story_tags.JAVASCRIPT_HEAVY]
class LoadTumblrStory(_LoadingStory):
NAME = 'load:social:tumblr'
# Redirects to the "http://" version.
URL = 'https://50thousand.tumblr.com/'
+ TAGS = [story_tags.JAVASCRIPT_HEAVY]
################################################################################
@@ -123,6 +126,7 @@ class LoadCnnStory(_LoadingStory):
NAME = 'load:news:cnn'
# Using "https://" shows "Your connection is not private".
URL = 'http://edition.cnn.com'
+ TAGS = [story_tags.JAVASCRIPT_HEAVY]
class LoadFlipboardStory(_LoadingStory):
@@ -342,11 +346,13 @@ class LoadDropboxStory(_LoadingStory):
class LoadWeatherStory(_LoadingStory):
NAME = 'load:tools:weather'
URL = 'https://weather.com/en-GB/weather/today/l/USCA0286:1:US'
+ TAGS = [story_tags.JAVASCRIPT_HEAVY]
class LoadDriveStory(_LoadingStory):
NAME = 'load:tools:drive'
URL = 'https://drive.google.com/drive/my-drive'
+ TAGS = [story_tags.JAVASCRIPT_HEAVY]
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/story_tags.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698