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

Unified Diff: chrome/test/data/webui/settings/metrics_reporting_tests.js

Issue 2614063004: MD Settings: re-use some iron-flex-layout classes to shrink checkboxes -> toggles diff (Closed)
Patch Set: found another one Created 3 years, 11 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 | « chrome/browser/resources/settings/privacy_page/privacy_page.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/settings/metrics_reporting_tests.js
diff --git a/chrome/test/data/webui/settings/metrics_reporting_tests.js b/chrome/test/data/webui/settings/metrics_reporting_tests.js
index 2f0e3d5d5a8cb74202a99957f9838ae657aafa74..37ff7d689be2d23e5ab6aa5b41c2bbd69a57d714 100644
--- a/chrome/test/data/webui/settings/metrics_reporting_tests.js
+++ b/chrome/test/data/webui/settings/metrics_reporting_tests.js
@@ -50,7 +50,7 @@ suite('metrics reporting', function() {
Polymer.dom.flush();
// Restart button should be hidden by default (in any state).
- assertFalse(!!page.$$('#metricsReporting paper-button'));
+ assertFalse(!!page.$$('#restart'));
dschuyler 2017/01/07 02:56:40 Nice.
// Simulate toggling via policy.
cr.webUIListenerCallback('metrics-reporting-change', {
@@ -60,7 +60,7 @@ suite('metrics reporting', function() {
Polymer.dom.flush();
// No restart button should show because the value is managed.
- assertFalse(!!page.$$('#metricsReporting paper-button'));
+ assertFalse(!!page.$$('#restart'));
cr.webUIListenerCallback('metrics-reporting-change', {
enabled: true,
@@ -70,7 +70,7 @@ suite('metrics reporting', function() {
// Changes in policy should not show the restart button because the value
// is still managed.
- assertFalse(!!page.$$('#metricsReporting paper-button'));
+ assertFalse(!!page.$$('#restart'));
// Remove the policy and toggle the value.
cr.webUIListenerCallback('metrics-reporting-change', {
@@ -80,7 +80,7 @@ suite('metrics reporting', function() {
Polymer.dom.flush();
// Now the restart button should be showing.
- assertTrue(!!page.$$('#metricsReporting paper-button'));
+ assertTrue(!!page.$$('#restart'));
// Receiving the same values should have no effect.
cr.webUIListenerCallback('metrics-reporting-change', {
@@ -88,7 +88,7 @@ suite('metrics reporting', function() {
managed: false,
});
Polymer.dom.flush();
- assertTrue(!!page.$$('#metricsReporting paper-button'));
+ assertTrue(!!page.$$('#restart'));
});
});
});
« no previous file with comments | « chrome/browser/resources/settings/privacy_page/privacy_page.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698