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

Unified Diff: tools/perf/page_sets/system_health/loading_stories.py

Issue 2159253002: [system health] Fix load:news:washingtonpost and browse:news:washingtonpost on Nexus9. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months 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 side-by-side diff with in-line comments
Download patch
Index: tools/perf/page_sets/system_health/loading_stories.py
diff --git a/tools/perf/page_sets/system_health/loading_stories.py b/tools/perf/page_sets/system_health/loading_stories.py
index 71ec4ff460323d4dfb4fa7d50edafc80911305ee..9f5deae2c12ba59de2a1e9d60aaa0a0cfa813a28 100644
--- a/tools/perf/page_sets/system_health/loading_stories.py
+++ b/tools/perf/page_sets/system_health/loading_stories.py
@@ -174,8 +174,11 @@ class LoadWashingtonPostMobileStory(_LoadingStory):
SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY
def _DidLoadDocument(self, action_runner):
- # Close the popup window.
- action_runner.ClickElement(selector='.close')
+ # Close the popup window. On Nexus 9 (and probably other tables) the popup
petrcermak 2016/07/19 17:07:08 ditto (everything that applies to the previous com
+ # window does not have "Close" button, instead it has only "Send link to
+ # phone" button, which does nothing. So on tablets we run with popup
+ # window open.
+ action_runner.ClickElement(selector='.close,.mailBlock')
class LoadWikipediaStory(_LoadingStory):

Powered by Google App Engine
This is Rietveld 408576698