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

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: Rebase. Created 7 years, 2 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/ntp4.js
diff --git a/chrome/test/data/webui/ntp4.js b/chrome/test/data/webui/ntp4.js
index 3c5c2b32dcfd703f5a1bf73a0d62461dce850b75..b2ce7bc766331aeed8788e9e3b1467cb0f79d5cb 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): remove along with 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,8 @@ TEST_F('NTP4WebUITest', 'DISABLED_NTPHasThumbnails', function() {
assertEquals(0, apps.length, 'There should be no apps.');
});
-TEST_F('NTP4WebUITest', 'NTPHasNavDots', function() {
+// TODO(samarth): remove along with NTP4 code.
+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 +63,8 @@ TEST_F('NTP4WebUITest', 'DISABLED_NTPHasSelectedPageAndDot', function() {
'There should be exactly one selected tile page.');
});
-TEST_F('NTP4WebUITest', 'NTPHasNoLoginNameWhenSignedOut', function() {
+// TODO(samarth): remove along with NTP4 code.
+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 +91,9 @@ NTP4LoggedInWebUITest.prototype = {
// The following test is irrelevant to Chrome on Chrome OS.
GEN('#if !defined(OS_CHROMEOS)');
-TEST_F('NTP4LoggedInWebUITest', 'NTPHasLoginNameWhenSignedIn', function() {
+// TODO(samarth): delete along with rest of NTP4 code.
+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,

Powered by Google App Engine
This is Rietveld 408576698