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

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

Issue 2479973002: MD Settings: clarify "controlled by" logic (Closed)
Patch Set: merge Created 4 years, 1 month 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
Index: chrome/test/data/webui/settings/controlled_radio_button_tests.js
diff --git a/chrome/test/data/webui/settings/controlled_radio_button_tests.js b/chrome/test/data/webui/settings/controlled_radio_button_tests.js
index 27e325ad62f849c5b255c8419c44c3a50d5d1284..b19962e6f7d0db7dd49e9a4b6c2261d9296a0192 100644
--- a/chrome/test/data/webui/settings/controlled_radio_button_tests.js
+++ b/chrome/test/data/webui/settings/controlled_radio_button_tests.js
@@ -21,8 +21,8 @@ suite('controlled radio button', function() {
});
test('disables when pref is managed', function() {
- radioButton.set('pref.policyEnforcement',
- chrome.settingsPrivate.PolicyEnforcement.ENFORCED);
+ radioButton.set('pref.enforcement',
+ chrome.settingsPrivate.Enforcement.ENFORCED);
Polymer.dom.flush();
assertTrue(radioButton.$$('paper-radio-button').disabled);
assertFalse(!!radioButton.$$('cr-policy-pref-indicator'));
@@ -31,7 +31,7 @@ suite('controlled radio button', function() {
Polymer.dom.flush();
assertTrue(!!radioButton.$$('cr-policy-pref-indicator'));
- radioButton.set('pref.policyEnforcement', undefined);
+ radioButton.set('pref.enforcement', undefined);
Polymer.dom.flush();
assertFalse(radioButton.$$('paper-radio-button').disabled);
assertEquals('none',

Powered by Google App Engine
This is Rietveld 408576698