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

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

Issue 2668623002: MD Settings: Fix remaining tests that fail in Vulcanized mode. (Closed)
Patch Set: Fix remaining tests. 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
« no previous file with comments | « chrome/test/data/webui/settings/search_settings_test.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/settings_passwords_section_browsertest.js
diff --git a/chrome/test/data/webui/settings/settings_passwords_section_browsertest.js b/chrome/test/data/webui/settings/settings_passwords_section_browsertest.js
index 5efab4cb342de3f677290d981d1ce7ab855fb61e..afc5ee581af03b6aa8dcedf9fe2378e76a58f42e 100644
--- a/chrome/test/data/webui/settings/settings_passwords_section_browsertest.js
+++ b/chrome/test/data/webui/settings/settings_passwords_section_browsertest.js
@@ -34,6 +34,7 @@ SettingsPasswordSectionBrowserTest.prototype = {
/** @override */
setUp: function() {
PolymerTest.prototype.setUp.call(this);
+ PolymerTest.clearBody();
// Test is run on an individual element that won't have a page language.
this.accessibilityAuditConfig.auditRulesToIgnore.push('humanLangMissing');
@@ -170,8 +171,6 @@ TEST_F('SettingsPasswordSectionBrowserTest', 'uiTests', function() {
suite('PasswordsSection', function() {
test('verifyNoSavedPasswords', function() {
- assertEquals(self.browsePreload, document.location.href);
-
var passwordsSection = self.createPasswordsSection_([], []);
self.validatePasswordList(passwordsSection.$.passwordList, []);
@@ -181,8 +180,6 @@ TEST_F('SettingsPasswordSectionBrowserTest', 'uiTests', function() {
});
test('verifySavedPasswordLength', function() {
- assertEquals(self.browsePreload, document.location.href);
-
var passwordList = [
FakeDataMaker.passwordEntry('site1.com', 'luigi', 1),
FakeDataMaker.passwordEntry('longwebsite.com', 'peach', 7),
« no previous file with comments | « chrome/test/data/webui/settings/search_settings_test.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698