Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(334)

Side by Side Diff: tools/perf/page_sets/system_health/long_running_stories.py

Issue 2598693002: [system health] Clean up bugs of disabled stories (Closed)
Patch Set: undo change on browse:news:cnn Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/perf/page_sets/system_health/loading_stories.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from page_sets.login_helpers import google_login 5 from page_sets.login_helpers import google_login
6 from page_sets.system_health import platforms 6 from page_sets.system_health import platforms
7 from page_sets.system_health import system_health_story 7 from page_sets.system_health import system_health_story
8 8
9 from telemetry import decorators 9 from telemetry import decorators
10 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 76
77 class _LongRunningGmailDesktopBase(_LongRunningGmailBase): 77 class _LongRunningGmailDesktopBase(_LongRunningGmailBase):
78 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY 78 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY
79 79
80 def _DidLoadDocument(self, action_runner): 80 def _DidLoadDocument(self, action_runner):
81 # Wait until the UI loads. 81 # Wait until the UI loads.
82 action_runner.WaitForJavaScriptCondition( 82 action_runner.WaitForJavaScriptCondition(
83 'document.getElementById("loading").style.display === "none"') 83 'document.getElementById("loading").style.display === "none"')
84 84
85 85
86 @decorators.Disabled('android') # crbug.com.com/664505 86 @decorators.Disabled('android') # crbug.com/657433
87 class LongRunningGmailMobileForegroundStory(_LongRunningGmailMobileBase): 87 class LongRunningGmailMobileForegroundStory(_LongRunningGmailMobileBase):
88 NAME = 'long_running:tools:gmail-foreground' 88 NAME = 'long_running:tools:gmail-foreground'
89 89
90 90
91 class LongRunningGmailDesktopForegroundStory(_LongRunningGmailDesktopBase): 91 class LongRunningGmailDesktopForegroundStory(_LongRunningGmailDesktopBase):
92 NAME = 'long_running:tools:gmail-foreground' 92 NAME = 'long_running:tools:gmail-foreground'
93 93
94 94
95 @decorators.Disabled('android-webview' # Weview does not have tabs. 95 @decorators.Disabled('android-webview', # Weview does not have tabs.
96 , 'android') # crbug.com/664505 96 'android') # crbug.com/657433
97 class LongRunningGmailMobileBackgroundStory(_LongRunningGmailMobileBase): 97 class LongRunningGmailMobileBackgroundStory(_LongRunningGmailMobileBase):
98 BACKGROUND = True 98 BACKGROUND = True
99 NAME = 'long_running:tools:gmail-background' 99 NAME = 'long_running:tools:gmail-background'
100 100
101 101
102 class LongRunningGmailDesktopBackgroundStory(_LongRunningGmailDesktopBase): 102 class LongRunningGmailDesktopBackgroundStory(_LongRunningGmailDesktopBase):
103 BACKGROUND = True 103 BACKGROUND = True
104 NAME = 'long_running:tools:gmail-background' 104 NAME = 'long_running:tools:gmail-background'
OLDNEW
« no previous file with comments | « tools/perf/page_sets/system_health/loading_stories.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698