Commit 76ebe69a authored by Mythri A's avatar Mythri A Committed by Commit Bot

Add background:news:nytimes:2019 system health story

This CL was created automatically with tools/perf/update_wpr script

R=crouleau@chromium.org

Change-Id: Ife0f8850b452437aea01a4230d66c5cbc7c3b0ae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1971836
Commit-Queue: Mythri Alle <mythria@chromium.org>
Reviewed-by: default avatarCaleb Rouleau <crouleau@chromium.org>
Cr-Commit-Position: refs/heads/master@{#726351}
parent 792e4d15
...@@ -42,6 +42,7 @@ _DISABLED_TESTS = frozenset({ ...@@ -42,6 +42,7 @@ _DISABLED_TESTS = frozenset({
# crbug.com/878390 - These stories are already covered by their 2018 or # crbug.com/878390 - These stories are already covered by their 2018 or
# 2019 versions and will later be removed. # 2019 versions and will later be removed.
'system_health.memory_mobile/background:media:imgur', 'system_health.memory_mobile/background:media:imgur',
'system_health.memory_mobile/background:news:nytimes',
'system_health.memory_mobile/background:social:facebook', 'system_health.memory_mobile/background:social:facebook',
'system_health.memory_mobile/background:search:google', 'system_health.memory_mobile/background:search:google',
'system_health.memory_mobile/browse:chrome:omnibox', 'system_health.memory_mobile/browse:chrome:omnibox',
......
...@@ -9,6 +9,9 @@ ...@@ -9,6 +9,9 @@
"background:news:nytimes": { "background:news:nytimes": {
"DEFAULT": "system_health_mobile_052.wprgo" "DEFAULT": "system_health_mobile_052.wprgo"
}, },
"background:news:nytimes:2019": {
"DEFAULT": "system_health_mobile_648270feb3.wprgo"
},
"background:search:google": { "background:search:google": {
"DEFAULT": "system_health_mobile_044.wprgo" "DEFAULT": "system_health_mobile_044.wprgo"
}, },
......
648270feb358827c110646f25ca80a0d3899473c
\ No newline at end of file
...@@ -6,6 +6,7 @@ from page_sets.system_health import platforms ...@@ -6,6 +6,7 @@ from page_sets.system_health import platforms
from page_sets.system_health import story_tags from page_sets.system_health import story_tags
from page_sets.system_health import system_health_story from page_sets.system_health import system_health_story
from page_sets.system_health.loading_stories import LoadGmailMobileStory from page_sets.system_health.loading_stories import LoadGmailMobileStory
from page_sets.system_health import browsing_stories
_WAIT_FOR_VIDEO_SECONDS = 5 _WAIT_FOR_VIDEO_SECONDS = 5
...@@ -94,6 +95,19 @@ class BackgroundNytimesMobileStory(_BackgroundStory): ...@@ -94,6 +95,19 @@ class BackgroundNytimesMobileStory(_BackgroundStory):
action_runner.Wait(_WAIT_FOR_VIDEO_SECONDS) action_runner.Wait(_WAIT_FOR_VIDEO_SECONDS)
class BackgroundNytimesMobileStory2019(browsing_stories.NytimesMobileStory2019):
NAME = 'background:news:nytimes:2019'
SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY
TAGS = [story_tags.JAVASCRIPT_HEAVY, story_tags.YEAR_2019]
ITEMS_TO_VISIT = 1
ITEM_SCROLL_REPEAT = 1
ITEM_READ_TIME_IN_SECONDS = 1
def _Measure(self, action_runner):
action_runner.tab.browser.Background()
super(BackgroundNytimesMobileStory2019, self)._Measure(action_runner)
class BackgroundImgurMobileStory(_BackgroundStory): class BackgroundImgurMobileStory(_BackgroundStory):
NAME = 'background:media:imgur' NAME = 'background:media:imgur'
URL = 'http://imgur.com/gallery/hUita' URL = 'http://imgur.com/gallery/hUita'
......
...@@ -4,6 +4,7 @@ Story,Description,Platforms,Tags ...@@ -4,6 +4,7 @@ Story,Description,Platforms,Tags
background:media:imgur,,mobile,"2016,health_check" background:media:imgur,,mobile,"2016,health_check"
background:media:imgur:2019,,mobile,"2019,health_check" background:media:imgur:2019,,mobile,"2019,health_check"
background:news:nytimes,,mobile,"2016,javascript_heavy" background:news:nytimes,,mobile,"2016,javascript_heavy"
background:news:nytimes:2019,,mobile,"2019,javascript_heavy"
background:search:google,,mobile,"2016,health_check" background:search:google,,mobile,"2016,health_check"
background:search:google:2019,,mobile,"2019,health_check" background:search:google:2019,,mobile,"2019,health_check"
background:social:facebook,,mobile,2016 background:social:facebook,,mobile,2016
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment