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

Unified Diff: tools/perf/core/about_tracing_integration_test.py

Issue 2270313004: Manually roll src/third_party/catapult/ eafb38794..ae022b60c (15 commits). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | « DEPS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/core/about_tracing_integration_test.py
diff --git a/tools/perf/core/about_tracing_integration_test.py b/tools/perf/core/about_tracing_integration_test.py
index a60ca2c85b5b486198ae2424006ef66e5b3a43a1..cd24aacc5838b989978758f7118654b11134da0c 100644
--- a/tools/perf/core/about_tracing_integration_test.py
+++ b/tools/perf/core/about_tracing_integration_test.py
@@ -12,10 +12,13 @@ class AboutTracingIntegrationTest(tab_test_case.TabTestCase):
def testBasicTraceRecording(self):
action_runner = self._tab.action_runner
action_runner.Navigate('chrome://tracing')
+ record_button_js = (
+ "document.querySelector('tr-ui-timeline-view').shadowRoot."
+ "querySelector('#record-button')")
# Click 'record' to trigger record selection diaglog.
- action_runner.WaitForElement(selector='#record-button')
- action_runner.ClickElement(selector='#record-button')
+ action_runner.WaitForElement(element_function=record_button_js)
+ action_runner.ClickElement(element_function=record_button_js)
# Wait for record selection diaglog to pop up, then click record.
action_runner.WaitForElement(selector='.overlay')
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698