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

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

Issue 2577003002: MD Settings: actually fix sync Learn More click issues (Closed)
Patch Set: tommycli@ review Created 4 years 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/people_page/sync_page.js ('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/people_page_sync_page_test.js
diff --git a/chrome/test/data/webui/settings/people_page_sync_page_test.js b/chrome/test/data/webui/settings/people_page_sync_page_test.js
index 312c5e3f69c2efc44e4f295fad0381d3cd828bbb..c4a0e80866b69490cb8d303545b07bf7f96a848d 100644
--- a/chrome/test/data/webui/settings/people_page_sync_page_test.js
+++ b/chrome/test/data/webui/settings/people_page_sync_page_test.js
@@ -287,6 +287,23 @@ cr.define('settings_people_page_sync_page', function() {
assertTrue(encryptWithPassphrase.checked);
});
+ test('ClickingLinkDoesNotChangeRadioValue', function() {
+ assertFalse(encryptWithPassphrase.disabled);
+ assertFalse(encryptWithPassphrase.checked);
+
+ var link = encryptWithPassphrase.querySelector('a[href]');
+ assertTrue(!!link);
+
+ // Suppress opening a new tab, since then the test will continue running
+ // on a background tab (which has throttled timers) and will timeout.
+ link.target = '';
+ link.href = '#';
+
+ MockInteractions.tap(link);
+
+ assertFalse(encryptWithPassphrase.checked);
+ });
+
test('SaveButtonDisabledWhenPassphraseOrConfirmationEmpty', function() {
MockInteractions.tap(encryptWithPassphrase);
Polymer.dom.flush();
« no previous file with comments | « chrome/browser/resources/settings/people_page/sync_page.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698