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

Unified Diff: chrome/test/media_router/telemetry/benchmarks/pagesets/media_router_perf_pages.py

Issue 1919293002: There is no dialog latency data since yesterday, it is caused by crrev.com/1907073002, the action t… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: chrome/test/media_router/telemetry/benchmarks/pagesets/media_router_perf_pages.py
diff --git a/chrome/test/media_router/telemetry/benchmarks/pagesets/media_router_perf_pages.py b/chrome/test/media_router/telemetry/benchmarks/pagesets/media_router_perf_pages.py
index ec155e9ff70d5862485f3ed9c5b806a87553f6c2..95a550f5cc2f3808a43be12e69ea5caed622efc7 100644
--- a/chrome/test/media_router/telemetry/benchmarks/pagesets/media_router_perf_pages.py
+++ b/chrome/test/media_router/telemetry/benchmarks/pagesets/media_router_perf_pages.py
@@ -33,7 +33,16 @@ class CastDialogPage(media_router_page.CastPage):
shared_page_state_class=shared_page_state_class)
def RunPageInteractions(self, action_runner):
- pass
+ # Wait for 5s after Chrome is opened in order to get consistent results.
+ action_runner.Wait(5)
+ with action_runner.CreateInteraction('OpenDialog'):
+ # Open dialog
+ action_runner.TapElement(selector='#start_session_button')
+ action_runner.Wait(5)
+ # Close media router dialog
+ for tab in action_runner.tab.browser.tabs:
+ if tab.url == 'chrome://media-router/':
+ self.CloseDialog(tab)
class CastIdlePage(CastDialogPage):
« 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