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

Unified Diff: tools/perf/page_sets/key_silk_cases.py

Issue 418133008: Telemetry: Fix inbox_app.html?slide_drawer of key_silk_cases. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/key_silk_cases.py
diff --git a/tools/perf/page_sets/key_silk_cases.py b/tools/perf/page_sets/key_silk_cases.py
index 4e9941f5840ae6579e4625ab943bc277287351c2..c8066965b6edb74f34cdf657374af653b99cf3a1 100644
--- a/tools/perf/page_sets/key_silk_cases.py
+++ b/tools/perf/page_sets/key_silk_cases.py
@@ -363,8 +363,10 @@ class Page19(KeySilkCasesPage):
interaction.End()
interaction = action_runner.BeginInteraction('Wait', is_smooth=True)
- action_runner.WaitForJavaScriptCondition(
- 'document.getElementById("nav-drawer").active')
+ action_runner.WaitForJavaScriptCondition('''
+ document.getElementById("nav-drawer").active &&
+ document.getElementById("nav-drawer").children[0]
+ .getBoundingClientRect().left == 0''')
interaction.End()
def RunNavigateSteps(self, action_runner):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698