| 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,
|
|
|