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

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

Issue 2150983002: MD Settings: Disallow clicking on "Reset" when resetting profile is in progress. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added TODO Created 4 years, 5 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/reset_page/reset_profile_dialog.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/reset_page_test.js
diff --git a/chrome/test/data/webui/settings/reset_page_test.js b/chrome/test/data/webui/settings/reset_page_test.js
index befb90e9623d9670ef0d1bd62fcba99f2d83714f..73217e7b4a9045d3e76bcfb5cf0674694647f59e 100644
--- a/chrome/test/data/webui/settings/reset_page_test.js
+++ b/chrome/test/data/webui/settings/reset_page_test.js
@@ -212,7 +212,11 @@ cr.define('settings_reset_page', function() {
return resetPageBrowserProxy.whenCalled('showReportedSettings').then(
function() {
+ assertFalse(dialog.$.reset.disabled);
+ assertFalse(dialog.$.resetSpinner.active);
MockInteractions.tap(dialog.$.reset);
+ assertTrue(dialog.$.reset.disabled);
+ assertTrue(dialog.$.resetSpinner.active);
return resetPageBrowserProxy.whenCalled(
'performResetProfileSettings');
});
« no previous file with comments | « chrome/browser/resources/settings/reset_page/reset_profile_dialog.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698