Commit 782c9735 authored by Mythri A's avatar Mythri A Committed by Commit Bot

Add load:tools:gmail:2019 system health story

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

R=crouleau@chromium.org
Bug:chromium:1042632, chromium:878390

Change-Id: I1fe537eb6181f2c0ed2e217cfd4e86e9719a0e8f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1989079
Commit-Queue: Mythri Alle <mythria@chromium.org>
Reviewed-by: default avatarCaleb Rouleau <crouleau@chromium.org>
Cr-Commit-Position: refs/heads/master@{#732360}
parent 85330a74
...@@ -307,6 +307,7 @@ crbug.com/1009838 [ mac ] system_health.common_desktop/browse:tools:maps:2019 [ ...@@ -307,6 +307,7 @@ crbug.com/1009838 [ mac ] system_health.common_desktop/browse:tools:maps:2019 [
crbug.com/1008001 [ win ] system_health.common_desktop/browse:tools:sheets:2019 [ Skip ] crbug.com/1008001 [ win ] system_health.common_desktop/browse:tools:sheets:2019 [ Skip ]
crbug.com/1017244 [ desktop ] system_health.common_desktop/browse_accessibility:media:youtube [ Skip ] crbug.com/1017244 [ desktop ] system_health.common_desktop/browse_accessibility:media:youtube [ Skip ]
crbug.com/1023366 [ desktop ] system_health.common_desktop/browse:media:youtube:2019 [ Skip ] crbug.com/1023366 [ desktop ] system_health.common_desktop/browse:media:youtube:2019 [ Skip ]
crbug.com/1042632 [ win ] system_health.common_desktop/load:tools:gmail:2019 [ Skip ]
# Benchmark: system_health.common_mobile # Benchmark: system_health.common_mobile
crbug.com/1013317 [ android ] system_health.common_mobile/load:news:nytimes [ Skip ] crbug.com/1013317 [ android ] system_health.common_mobile/load:news:nytimes [ Skip ]
...@@ -363,8 +364,7 @@ crbug.com/1008001 [ win ] system_health.memory_desktop/browse:tools:sheets:2019 ...@@ -363,8 +364,7 @@ crbug.com/1008001 [ win ] system_health.memory_desktop/browse:tools:sheets:2019
crbug.com/1017290 [ linux ] system_health.memory_desktop/browse:search:google_india:2018 [ Skip ] crbug.com/1017290 [ linux ] system_health.memory_desktop/browse:search:google_india:2018 [ Skip ]
crbug.com/1017244 [ desktop ] system_health.memory_desktop/browse_accessibility:media:youtube [ Skip ] crbug.com/1017244 [ desktop ] system_health.memory_desktop/browse_accessibility:media:youtube [ Skip ]
crbug.com/1017346 [ desktop ] system_health.memory_desktop/browse:media:youtube:2019 [ Skip ] crbug.com/1017346 [ desktop ] system_health.memory_desktop/browse:media:youtube:2019 [ Skip ]
crbug.com/1036141 [ android-webview ] system_health.memory_mobile/browse:shopping:lazada:2019 [ Skip ] crbug.com/1042632 [ win ] system_health.memory_desktop/load:tools:gmail:2019 [ Skip ]
crbug.com/1039801 [ android-webview ] system_health.memory_mobile/browse:social:pinterest_infinite_scroll:2019 [ Skip ]
# Benchmark: system_health.memory_mobile # Benchmark: system_health.memory_mobile
crbug.com/1013317 [ android ] system_health.memory_mobile/load:news:nytimes [ Skip ] crbug.com/1013317 [ android ] system_health.memory_mobile/load:news:nytimes [ Skip ]
...@@ -405,6 +405,8 @@ crbug.com/1017661 [ android-nexus-5x ] system_health.memory_mobile/browse:media: ...@@ -405,6 +405,8 @@ crbug.com/1017661 [ android-nexus-5x ] system_health.memory_mobile/browse:media:
crbug.com/1017661 [ android-nexus-5x ] system_health.memory_mobile/browse:social:facebook_infinite_scroll:2018 [ Skip ] crbug.com/1017661 [ android-nexus-5x ] system_health.memory_mobile/browse:social:facebook_infinite_scroll:2018 [ Skip ]
crbug.com/1017661 [ android-nexus-5x ] system_health.memory_mobile/browse:tech:discourse_infinite_scroll:2018 [ Skip ] crbug.com/1017661 [ android-nexus-5x ] system_health.memory_mobile/browse:tech:discourse_infinite_scroll:2018 [ Skip ]
crbug.com/1036143 [ android-pixel-2 ] system_health.memory_mobile/browse:chrome:omnibox:2019 [ Skip ] crbug.com/1036143 [ android-pixel-2 ] system_health.memory_mobile/browse:chrome:omnibox:2019 [ Skip ]
crbug.com/1036141 [ android-webview ] system_health.memory_mobile/browse:shopping:lazada:2019 [ Skip ]
crbug.com/1039801 [ android-webview ] system_health.memory_mobile/browse:social:pinterest_infinite_scroll:2019 [ Skip ]
# Benchmark: tab_switching.typical_25 # Benchmark: tab_switching.typical_25
crbug.com/747026 [ mac ] tab_switching.typical_25/multitab:misc:typical24 [ Skip ] crbug.com/747026 [ mac ] tab_switching.typical_25/multitab:misc:typical24 [ Skip ]
......
...@@ -334,6 +334,9 @@ ...@@ -334,6 +334,9 @@
"load:tools:gmail": { "load:tools:gmail": {
"DEFAULT": "system_health_desktop_004.wprgo" "DEFAULT": "system_health_desktop_004.wprgo"
}, },
"load:tools:gmail:2019": {
"DEFAULT": "system_health_desktop_0e466e2324.wprgo"
},
"load:tools:maps": { "load:tools:maps": {
"DEFAULT": "system_health_desktop_004.wprgo" "DEFAULT": "system_health_desktop_004.wprgo"
}, },
......
5ca581c9df2bfa6c57af4f9709f626ea1cd22da9
\ No newline at end of file
...@@ -402,6 +402,9 @@ ...@@ -402,6 +402,9 @@
"load:tools:gmail": { "load:tools:gmail": {
"DEFAULT": "system_health_mobile_048.wprgo" "DEFAULT": "system_health_mobile_048.wprgo"
}, },
"load:tools:gmail:2019": {
"DEFAULT": "system_health_mobile_b8a3bd8e6d.wprgo"
},
"load:tools:maps": { "load:tools:maps": {
"DEFAULT": "system_health_mobile_004.wprgo" "DEFAULT": "system_health_mobile_004.wprgo"
}, },
......
638f0ef8d4a82535c8a28a87d9d4f76d18a640ea
\ No newline at end of file
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
# found in the LICENSE file. # found in the LICENSE file.
from page_sets.login_helpers import login_utils from page_sets.login_helpers import login_utils
from page_sets.helpers import override_online
# Selectors for the email, password, and next buttons for google login flow. # Selectors for the email, password, and next buttons for google login flow.
# Use multiple selectors to allow for different versions of the site. # Use multiple selectors to allow for different versions of the site.
_EMAIL_SELECTOR = ','.join([ _EMAIL_SELECTOR = ','.join([
...@@ -56,8 +58,9 @@ def BaseLoginGoogle(action_runner, ...@@ -56,8 +58,9 @@ def BaseLoginGoogle(action_runner,
credential, credentials_path=credentials_path) credential, credentials_path=credentials_path)
action_runner.Navigate( action_runner.Navigate(
'https://accounts.google.com/ServiceLogin?continue=' 'https://accounts.google.com/ServiceLogin?continue='
'https%3A%2F%2Faccounts.google.com%2FManageAccount') 'https%3A%2F%2Faccounts.google.com%2FManageAccount',
override_online.ALWAYS_ONLINE)
# Wait until either the email or password input is visible. # Wait until either the email or password input is visible.
action_runner.WaitForJavaScriptCondition('{{ @a }} || {{ @b }}', action_runner.WaitForJavaScriptCondition('{{ @a }} || {{ @b }}',
......
...@@ -9,6 +9,8 @@ from page_sets.system_health import system_health_story ...@@ -9,6 +9,8 @@ from page_sets.system_health import system_health_story
from page_sets.login_helpers import dropbox_login from page_sets.login_helpers import dropbox_login
from page_sets.login_helpers import google_login from page_sets.login_helpers import google_login
from page_sets.helpers import override_online
from telemetry.util import js_template from telemetry.util import js_template
...@@ -16,6 +18,14 @@ class _LoadingStory(system_health_story.SystemHealthStory): ...@@ -16,6 +18,14 @@ class _LoadingStory(system_health_story.SystemHealthStory):
"""Abstract base class for single-page System Health user stories.""" """Abstract base class for single-page System Health user stories."""
ABSTRACT_STORY = True ABSTRACT_STORY = True
def __init__(self,
story_set,
take_memory_measurement,
extra_browser_args=None):
super(_LoadingStory, self).__init__(story_set, take_memory_measurement,
extra_browser_args)
self.script_to_evaluate_on_commit = override_online.ALWAYS_ONLINE
@classmethod @classmethod
def GenerateStoryDescription(cls): def GenerateStoryDescription(cls):
return 'Load %s' % cls.URL return 'Load %s' % cls.URL
...@@ -490,6 +500,29 @@ class LoadGmailMobileStory(_LoadGmailBaseStory): ...@@ -490,6 +500,29 @@ class LoadGmailMobileStory(_LoadGmailBaseStory):
action_runner.WaitForJavaScriptCondition( action_runner.WaitForJavaScriptCondition(
'document.getElementById("apploadingdiv").style.height === "0px"') 'document.getElementById("apploadingdiv").style.height === "0px"')
class LoadGmailStory2019(_LoadingStory):
NAME = 'load:tools:gmail:2019'
# Needs to be http and not https.
URL = 'http://mail.google.com/'
TAGS = [story_tags.YEAR_2019]
SKIP_LOGIN = False
def _Login(self, action_runner):
google_login.NewLoginGoogleAccount(action_runner, 'googletest')
# Navigating to http://mail.google.com immediately leads to an infinite
# redirection loop due to a bug in WPR (see
# https://bugs.chromium.org/p/chromium/issues/detail?id=1036791). We
# therefore first navigate to a dummy sub-URL to set up the session and
# hit the resulting redirection loop. Afterwards, we can safely navigate
# to http://mail.google.com.
action_runner.tab.WaitForDocumentReadyStateToBeComplete()
action_runner.Navigate(
'https://mail.google.com/mail/mu/mp/872/trigger_redirection_loop')
action_runner.tab.WaitForDocumentReadyStateToBeComplete()
class LoadStackOverflowStory2018(_LoadingStory): class LoadStackOverflowStory2018(_LoadingStory):
"""Load a typical question & answer page of stackoverflow.com""" """Load a typical question & answer page of stackoverflow.com"""
NAME = 'load:tools:stackoverflow:2018' NAME = 'load:tools:stackoverflow:2018'
......
...@@ -142,6 +142,7 @@ load:tools:drive:2019,,"desktop,mobile","2019,javascript_heavy" ...@@ -142,6 +142,7 @@ load:tools:drive:2019,,"desktop,mobile","2019,javascript_heavy"
load:tools:dropbox,,"desktop,mobile",2016 load:tools:dropbox,,"desktop,mobile",2016
load:tools:dropbox:2019,,mobile,2019 load:tools:dropbox:2019,,mobile,2019
load:tools:gmail,,"desktop,mobile",2016 load:tools:gmail,,"desktop,mobile",2016
load:tools:gmail:2019,,"desktop,mobile",2019
load:tools:stackoverflow:2018,Load a typical question & answer page of stackoverflow.com,"desktop,mobile","2018,health_check" load:tools:stackoverflow:2018,Load a typical question & answer page of stackoverflow.com,"desktop,mobile","2018,health_check"
load:tools:weather,,"desktop,mobile","2016,javascript_heavy" load:tools:weather,,"desktop,mobile","2016,javascript_heavy"
load:tools:weather:2019,,"desktop,mobile","2019,javascript_heavy" load:tools:weather:2019,,"desktop,mobile","2019,javascript_heavy"
......
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