Commit de2e3f99 authored by Camillo Bruni's avatar Camillo Bruni Committed by Commit Bot

[perf] Add load:games:spychase:2018 system health story

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

There are 3 failing requests due to missing files which is also the case
on the live page.

R=perezju@chromium.org

Bug: 878390
Change-Id: I0732f3b5907ba44bca81f1a772ee00aec3bb37b3
Reviewed-on: https://chromium-review.googlesource.com/c/1329664Reviewed-by: default avatarJuan Antonio Navarro Pérez <perezju@chromium.org>
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#608331}
parent e3599d87
......@@ -86,6 +86,7 @@ _DISABLED_TESTS = frozenset({
'system_health.memory_desktop/browse:search:google_india',
'system_health.memory_desktop/load:games:alphabetty',
'system_health.memory_desktop/load:games:miniclip',
'system_health.memory_desktop/load:games:spychase',
'system_health.memory_desktop/load:media:flickr',
'system_health.memory_desktop/load:media:google_images',
'system_health.memory_desktop/load:news:cnn',
......@@ -97,6 +98,7 @@ _DISABLED_TESTS = frozenset({
'system_health.memory_desktop/load:search:yandex',
'system_health.memory_desktop/load:tools:stackoverflow',
# MOBILE:
'system_health.memory_mobile/load:games:spychase',
'system_health.memory_mobile/load:media:flickr',
'system_health.memory_mobile/load:media:google_images',
'system_health.memory_mobile/load:news:wikipedia',
......@@ -124,7 +126,6 @@ _DISABLED_TESTS = frozenset({
# crbug.com/903849
'system_health.memory_mobile/browse:news:cnn:2018',
'system_health.memory_mobile/load:games:spychase',
})
......
......@@ -135,6 +135,9 @@
"load:games:spychase": {
"DEFAULT": "system_health_desktop_005.wprgo"
},
"load:games:spychase:2018": {
"DEFAULT": "system_health_desktop_84749d207a.wprgo"
},
"load:media:9gag": {
"DEFAULT": "system_health_desktop_003.wprgo"
},
......
84749d207a4acbea06287b8de3c0285a8cdd0789
\ No newline at end of file
......@@ -117,6 +117,9 @@
"load:games:spychase": {
"DEFAULT": "system_health_mobile_005.wprgo"
},
"load:games:spychase:2018": {
"DEFAULT": "system_health_mobile_aebce60cc6.wprgo"
},
"load:media:9gag": {
"DEFAULT": "system_health_mobile_003.wprgo"
},
......
aebce60cc65b9a9b215c728e31ca536195527650
\ No newline at end of file
......@@ -561,6 +561,19 @@ class LoadSpyChaseStory(_LoadingStory):
'document.querySelector("#game canvas").style.background !== ""')
class LoadSpyChaseStory2018(_LoadingStory):
NAME = 'load:games:spychase:2018'
# Using "https://" shows "Your connection is not private".
URL = 'http://playstar.mobi/games/spychase/index.php'
TAGS = [story_tags.HEALTH_CHECK, story_tags.YEAR_2018]
def _DidLoadDocument(self, action_runner):
# The background of the game canvas is set when the "Tap screen to play"
# caption is displayed.
action_runner.WaitForJavaScriptCondition(
'document.querySelector("#game canvas").style.background !== ""')
class LoadMiniclipStory(_LoadingStory):
NAME = 'load:games:miniclip'
# Using "https://" causes "404 Not Found" during WPR recording.
......
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