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

Unified Diff: tracing/tracing/value/ui/histogram_set_table_test.html

Issue 2745413003: Do not auto-open histograms in singular rows. (Closed)
Patch Set: . Created 3 years, 9 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 | « tracing/tracing/value/ui/histogram_set_table.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/value/ui/histogram_set_table_test.html
diff --git a/tracing/tracing/value/ui/histogram_set_table_test.html b/tracing/tracing/value/ui/histogram_set_table_test.html
index 4fb84dc4fff609282a93b7385560bd6d67207f2c..6ae59262c984aadc447217d12cf71916dc79535e 100644
--- a/tracing/tracing/value/ui/histogram_set_table_test.html
+++ b/tracing/tracing/value/ui/histogram_set_table_test.html
@@ -783,6 +783,10 @@ tr.b.unittest.testSuite(function() {
table, elem => elem.tagName === 'TR-UI-B-TABLE');
assert.strictEqual(baseTable.tableRows.length, 1);
+ let cell = tr.b.findDeepElementMatchingPredicate(table, elem =>
+ elem.tagName === 'TR-V-UI-SCALAR-SPAN');
+ cell.click();
+
const yAxisText = tr.b.findDeepElementMatchingPredicate(table, e =>
e.tagName === 'text' && e.textContent === '<0.000 ms');
assert.isBelow(0, yAxisText.getBBox().width);
« no previous file with comments | « tracing/tracing/value/ui/histogram_set_table.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698