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

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

Issue 295333004: Also disable HistoryWebUITest.multipleSelect on Mac due to flakeness. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update comment Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 // The next entry after the deleted ones should now be the first. 499 // The next entry after the deleted ones should now be the first.
500 expectEquals(document.querySelector('.title a').textContent, 500 expectEquals(document.querySelector('.title a').textContent,
501 nextEntry.textContent); 501 nextEntry.textContent);
502 testDone(); 502 testDone();
503 }); 503 });
504 }); 504 });
505 }); 505 });
506 506
507 /** 507 /**
508 * Test selecting multiple entries using shift click. 508 * Test selecting multiple entries using shift click.
509 * Disabled due to time out on win: crbug/375910 509 * Disabled due to time out on win and mac: crbug/375910
510 */ 510 */
511 GEN('#if defined(OS_WIN)'); 511 GEN('#if defined(OS_WIN) || defined(OS_MACOSX)');
512 GEN('#define MAYBE_multipleSelect DISABLED_multipleSelect'); 512 GEN('#define MAYBE_multipleSelect DISABLED_multipleSelect');
513 GEN('#else'); 513 GEN('#else');
514 GEN('#define MAYBE_multipleSelect multipleSelect'); 514 GEN('#define MAYBE_multipleSelect multipleSelect');
515 GEN('#endif'); 515 GEN('#endif');
516 TEST_F('HistoryWebUITest', 'MAYBE_multipleSelect', function() { 516 TEST_F('HistoryWebUITest', 'MAYBE_multipleSelect', function() {
517 var checkboxes = document.querySelectorAll( 517 var checkboxes = document.querySelectorAll(
518 '#results-display input[type=checkbox]'); 518 '#results-display input[type=checkbox]');
519 519
520 var getAllChecked = function() { 520 var getAllChecked = function() {
521 return Array.prototype.slice.call(document.querySelectorAll( 521 return Array.prototype.slice.call(document.querySelectorAll(
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
928 TEST_F('HistoryWebUIWithSchemesTest', 'groupingWithSchemes', function() { 928 TEST_F('HistoryWebUIWithSchemesTest', 'groupingWithSchemes', function() {
929 // Switch to the week view. 929 // Switch to the week view.
930 $('timeframe-filter-week').click(); 930 $('timeframe-filter-week').click();
931 waitForCallback('historyResult', function() { 931 waitForCallback('historyResult', function() {
932 // Each URL should be organized under a different "domain". 932 // Each URL should be organized under a different "domain".
933 expectEquals(document.querySelectorAll('.entry').length, 4); 933 expectEquals(document.querySelectorAll('.entry').length, 4);
934 expectEquals(document.querySelectorAll('.site-domain-wrapper').length, 4); 934 expectEquals(document.querySelectorAll('.site-domain-wrapper').length, 4);
935 testDone(); 935 testDone();
936 }); 936 });
937 }); 937 });
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698