| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 GEN('#include "chrome/test/data/webui/history_ui_browsertest.h"'); | 5 GEN('#include "chrome/test/data/webui/history_ui_browsertest.h"'); |
| 6 | 6 |
| 7 /** @const */ var TOTAL_RESULT_COUNT = 160; | 7 /** @const */ var TOTAL_RESULT_COUNT = 160; |
| 8 /** @const */ var WAIT_TIMEOUT = 200; | 8 /** @const */ var WAIT_TIMEOUT = 200; |
| 9 | 9 |
| 10 /** | 10 /** |
| (...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 777 }, | 777 }, |
| 778 | 778 |
| 779 /** @override */ | 779 /** @override */ |
| 780 setUp: function() { | 780 setUp: function() { |
| 781 BaseHistoryWebUITest.prototype.setUp.call(this); | 781 BaseHistoryWebUITest.prototype.setUp.call(this); |
| 782 | 782 |
| 783 // Enable when failure is resolved. | 783 // Enable when failure is resolved. |
| 784 // AX_TEXT_04: http://crbug.com/560914 | 784 // AX_TEXT_04: http://crbug.com/560914 |
| 785 this.accessibilityAuditConfig.ignoreSelectors( | 785 this.accessibilityAuditConfig.ignoreSelectors( |
| 786 'linkWithUnclearPurpose', | 786 'linkWithUnclearPurpose', |
| 787 '#notification-bar > A'); | 787 '#notification-bar > SPAN > A'); |
| 788 }, | 788 }, |
| 789 }; | 789 }; |
| 790 | 790 |
| 791 /** | 791 /** |
| 792 * Simple test that verifies that the correct entries are retrieved from the | 792 * Simple test that verifies that the correct entries are retrieved from the |
| 793 * history database and displayed in the UI. | 793 * history database and displayed in the UI. |
| 794 */ | 794 */ |
| 795 // Times out on Mac and Win: http://crbug.com/336845 | 795 // Times out on Mac and Win: http://crbug.com/336845 |
| 796 TEST_F('HistoryWebUIRealBackendTest', 'DISABLED_basic', function() { | 796 TEST_F('HistoryWebUIRealBackendTest', 'DISABLED_basic', function() { |
| 797 // Check that there are two days of entries, and three entries in total. | 797 // Check that there are two days of entries, and three entries in total. |
| (...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1140 TEST_F('HistoryWebUIWithSchemesTest', 'groupingWithSchemes', function() { | 1140 TEST_F('HistoryWebUIWithSchemesTest', 'groupingWithSchemes', function() { |
| 1141 // Switch to the week view. | 1141 // Switch to the week view. |
| 1142 $('timeframe-controls').querySelectorAll('input')[1].click(); | 1142 $('timeframe-controls').querySelectorAll('input')[1].click(); |
| 1143 waitForCallback('historyResult', function() { | 1143 waitForCallback('historyResult', function() { |
| 1144 // Each URL should be organized under a different "domain". | 1144 // Each URL should be organized under a different "domain". |
| 1145 expectEquals(document.querySelectorAll('.entry').length, 4); | 1145 expectEquals(document.querySelectorAll('.entry').length, 4); |
| 1146 expectEquals(document.querySelectorAll('.site-domain-wrapper').length, 4); | 1146 expectEquals(document.querySelectorAll('.site-domain-wrapper').length, 4); |
| 1147 testDone(); | 1147 testDone(); |
| 1148 }); | 1148 }); |
| 1149 }); | 1149 }); |
| OLD | NEW |