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

Unified Diff: chrome/test/data/webui/ntp4.js

Issue 24733003: Update defaults for InstantExtended. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unused. Created 7 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
« no previous file with comments | « chrome/common/chrome_switches.cc ('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/ntp4.js
diff --git a/chrome/test/data/webui/ntp4.js b/chrome/test/data/webui/ntp4.js
index 3c5c2b32dcfd703f5a1bf73a0d62461dce850b75..1dc5e01a6096ce0651c20543e45ed98eb8573930 100644
--- a/chrome/test/data/webui/ntp4.js
+++ b/chrome/test/data/webui/ntp4.js
@@ -20,7 +20,8 @@ NTP4WebUITest.prototype = {
// Test loading new tab page and selecting each card doesn't have console
// errors.
-TEST_F('NTP4WebUITest', 'TestBrowsePages', function() {
+// TODO(samarth): delete these tests along with the NTP4 code.
+TEST_F('NTP4WebUITest', 'DISABLED_TestBrowsePages', function() {
// This tests the ntp4 new tab page which is not used on touch builds.
var cardSlider = ntp.getCardSlider();
assertNotEquals(null, cardSlider);
@@ -42,7 +43,7 @@ TEST_F('NTP4WebUITest', 'DISABLED_NTPHasThumbnails', function() {
assertEquals(0, apps.length, 'There should be no apps.');
});
-TEST_F('NTP4WebUITest', 'NTPHasNavDots', function() {
+TEST_F('NTP4WebUITest', 'DISABLED_NTPHasNavDots', function() {
var navDots = document.querySelectorAll('.dot');
if (loadTimeData.getBoolean('showApps'))
assertGE(navDots.length, 2, 'There should be at least two navdots.');
@@ -61,7 +62,7 @@ TEST_F('NTP4WebUITest', 'DISABLED_NTPHasSelectedPageAndDot', function() {
'There should be exactly one selected tile page.');
});
-TEST_F('NTP4WebUITest', 'NTPHasNoLoginNameWhenSignedOut', function() {
+TEST_F('NTP4WebUITest', 'DISABLED_NTPHasNoLoginNameWhenSignedOut', function() {
var userName = document.querySelector('#login-status-header .profile-name');
assertEquals(null, userName, 'Login name shouldn\'t exist when signed out.');
});
@@ -88,7 +89,8 @@ NTP4LoggedInWebUITest.prototype = {
// The following test is irrelevant to Chrome on Chrome OS.
GEN('#if !defined(OS_CHROMEOS)');
-TEST_F('NTP4LoggedInWebUITest', 'NTPHasLoginNameWhenSignedIn', function() {
+TEST_F('NTP4LoggedInWebUITest', 'DISABLED_NTPHasLoginNameWhenSignedIn',
+ function() {
var userName = document.querySelector('#login-status-header .profile-name');
assertNotEquals(userName, null, 'The logged-in user name can\'t be found.');
assertEquals('user@gmail.com', userName.textContent,
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698