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

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

Issue 2687553003: MD Settings: Fix site data details regression and add test. (Closed)
Patch Set: resetRoutForTesting() Created 3 years, 10 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
Index: chrome/test/data/webui/settings/site_list_tests.js
diff --git a/chrome/test/data/webui/settings/site_list_tests.js b/chrome/test/data/webui/settings/site_list_tests.js
index 7b13e5c464720977960abf966dfde55567446f18..850c3c4b95d20aaac996c5f88dcebb27b0eed779 100644
--- a/chrome/test/data/webui/settings/site_list_tests.js
+++ b/chrome/test/data/webui/settings/site_list_tests.js
@@ -344,6 +344,9 @@ cr.define('site_list', function() {
teardown(function() {
closeActionMenu();
+ // The code being tested changes the Route. Reset so that state is not
+ // leaked across tests.
+ settings.resetRouteForTesting();
});
/**

Powered by Google App Engine
This is Rietveld 408576698