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

Side by Side Diff: chrome/test/data/webui/history_browsertest.js

Issue 1838333004: Add a notice about other forms of browsing history to the History WebUI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@desktop-ui-after-rebase
Patch Set: Rebase. Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/ui/webui/history_ui.cc ('k') | components/history_strings.grdp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 });
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/history_ui.cc ('k') | components/history_strings.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698