Commit 0b4a0218 authored by Mason Freed's avatar Mason Freed Committed by Commit Bot

Update browse:media:youtube system health story for 2019

This CL was created (mostly) automatically with tools/perf/update_wpr script

This updates the youtube 2019 story, which is necessary because the 2018
recorded story makes use of Polymer 1 and the deprecated (and soon to be
removed) Web Components v0 features. This recording should not contain uses
of those features, *except* for HTML Imports. That will likely require
another re-record later.

Bug: 911943
Change-Id: I1905308e0448ec85d6a581e7bccd72fe86b3bddb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1872157
Commit-Queue: Mason Freed <masonfreed@chromium.org>
Reviewed-by: default avatarCaleb Rouleau <crouleau@chromium.org>
Cr-Commit-Position: refs/heads/master@{#709664}
parent 7b4a32f5
...@@ -27,6 +27,10 @@ ...@@ -27,6 +27,10 @@
"mac": "system_health_desktop_040.wprgo", "mac": "system_health_desktop_040.wprgo",
"win": "system_health_desktop_047.wprgo" "win": "system_health_desktop_047.wprgo"
}, },
"browse:media:youtube:2019": {
"DEFAULT": "system_health_desktop_d48f7fff0a.wprgo",
"linux": "system_health_desktop_d48f7fff0a.wprgo"
},
"browse:media:youtubetv:2019": { "browse:media:youtubetv:2019": {
"DEFAULT": "system_health_desktop_e53598d1f4.wprgo" "DEFAULT": "system_health_desktop_e53598d1f4.wprgo"
}, },
......
d48f7fff0a37d4fcbfc5e430f15232996d52460d
\ No newline at end of file
...@@ -604,6 +604,23 @@ class YouTubeMobileStory(_MediaBrowsingStory): ...@@ -604,6 +604,23 @@ class YouTubeMobileStory(_MediaBrowsingStory):
story_tags.HEALTH_CHECK, story_tags.YEAR_2016] story_tags.HEALTH_CHECK, story_tags.YEAR_2016]
class YouTubeDesktopStory2019(_MediaBrowsingStory):
"""Load a typical YouTube video then navigate to a next few videos. Stop and
watch each video for a few seconds.
"""
NAME = 'browse:media:youtube:2019'
URL = 'https://www.youtube.com/watch?v=QGfhS1hfTWw&autoplay=0'
ITEM_SELECTOR = 'ytd-compact-video-renderer.ytd-watch-next-secondary-results-renderer a'
SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY
IS_SINGLE_PAGE_APP = True
# A longer view time allows videos to load and play.
ITEM_VIEW_TIME_IN_SECONDS = 5
ITEMS_TO_VISIT = 8
ITEM_SELECTOR_INDEX = 3
PLATFORM_SPECIFIC = True
TAGS = [story_tags.JAVASCRIPT_HEAVY, story_tags.YEAR_2019]
class YouTubeTVDesktopStory2019(_MediaBrowsingStory): class YouTubeTVDesktopStory2019(_MediaBrowsingStory):
"""Load a typical YouTube TV video then navigate to a next few videos. Stop """Load a typical YouTube TV video then navigate to a next few videos. Stop
and watch each video for a few seconds. and 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