Commit 4708285f authored by Ross McIlroy's avatar Ross McIlroy Committed by Commit Bot

Add browse:media:youtube:2019 to system health story

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

BUG=878390

Change-Id: Iaa5ef08ba5e3ef16c5977b4729be548541c9e9d4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1825239
Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
Reviewed-by: default avatarCaleb Rouleau <crouleau@chromium.org>
Auto-Submit: Ross McIlroy <rmcilroy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#712984}
parent 38a4ac71
...@@ -39,8 +39,8 @@ _DISABLED_TESTS = frozenset({ ...@@ -39,8 +39,8 @@ _DISABLED_TESTS = frozenset({
# crbug.com/983326 - flaky. # crbug.com/983326 - flaky.
'system_health.memory_desktop/browse_accessibility:media:youtube', 'system_health.memory_desktop/browse_accessibility:media:youtube',
# crbug.com/878390 - These stories are already covered by their 2018 versions # crbug.com/878390 - These stories are already covered by their 2018 or
# and will later be removed. # 2019 versions and will later be removed.
'system_health.memory_mobile/browse:tech:discourse_infinite_scroll', 'system_health.memory_mobile/browse:tech:discourse_infinite_scroll',
'system_health.memory_mobile/browse:shopping:amazon', 'system_health.memory_mobile/browse:shopping:amazon',
'system_health.memory_mobile/browse:social:facebook_infinite_scroll', 'system_health.memory_mobile/browse:social:facebook_infinite_scroll',
...@@ -51,6 +51,7 @@ _DISABLED_TESTS = frozenset({ ...@@ -51,6 +51,7 @@ _DISABLED_TESTS = frozenset({
'system_health.memory_mobile/browse:tools:maps', 'system_health.memory_mobile/browse:tools:maps',
'system_health.memory_mobile/browse:news:cnn', 'system_health.memory_mobile/browse:news:cnn',
'system_health.memory_mobile/browse:news:washingtonpost', 'system_health.memory_mobile/browse:news:washingtonpost',
'system_health.memory_mobile/browse:media:youtube',
'system_health.memory_mobile/load:media:facebook_photos', 'system_health.memory_mobile/load:media:facebook_photos',
'system_health.memory_mobile/load:news:cnn', 'system_health.memory_mobile/load:news:cnn',
'system_health.memory_mobile/load:news:nytimes', 'system_health.memory_mobile/load:news:nytimes',
......
...@@ -36,6 +36,9 @@ ...@@ -36,6 +36,9 @@
"browse:media:youtube": { "browse:media:youtube": {
"DEFAULT": "system_health_mobile_037.wprgo" "DEFAULT": "system_health_mobile_037.wprgo"
}, },
"browse:media:youtube:2019": {
"DEFAULT": "system_health_mobile_d70a6c0a79.wprgo"
},
"browse:news:cnn": { "browse:news:cnn": {
"DEFAULT": "system_health_mobile_014.wprgo" "DEFAULT": "system_health_mobile_014.wprgo"
}, },
......
b0aba2772f707c10fdc2f0f4897ac3056304ee72
\ No newline at end of file
...@@ -604,6 +604,20 @@ class YouTubeMobileStory(_MediaBrowsingStory): ...@@ -604,6 +604,20 @@ class YouTubeMobileStory(_MediaBrowsingStory):
story_tags.HEALTH_CHECK, story_tags.YEAR_2016] story_tags.HEALTH_CHECK, story_tags.YEAR_2016]
class YouTubeMobileStory2019(_MediaBrowsingStory):
"""Load a typical YouTube video then navigate to a next few videos. Stop and
watch each video for few seconds.
"""
NAME = 'browse:media:youtube:2019'
URL = 'https://m.youtube.com/watch?v=TcMBFSGVi1c&autoplay=false'
ITEM_SELECTOR = '.compact-media-item > a'
SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY
IS_SINGLE_PAGE_APP = True
ITEM_SELECTOR_INDEX = 3
TAGS = [story_tags.JAVASCRIPT_HEAVY, story_tags.EMERGING_MARKET,
story_tags.HEALTH_CHECK, story_tags.YEAR_2019]
class YouTubeDesktopStory2019(_MediaBrowsingStory): class YouTubeDesktopStory2019(_MediaBrowsingStory):
"""Load a typical YouTube video then navigate to a next few videos. Stop and """Load a typical YouTube video then navigate to a next few videos. Stop and
watch each video for a few seconds. watch each video for a few seconds.
......
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