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

Side by Side Diff: chrome/test/data/webui/md_history/history_list_test.js

Issue 2545603003: MD History: Disable individual failing List test rather than entire suite (Closed)
Patch Set: Created 4 years 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 | « no previous file | chrome/test/data/webui/md_history/md_history_browsertest.js » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 suite('<history-list>', function() { 5 suite('<history-list>', function() {
6 var app; 6 var app;
7 var element; 7 var element;
8 var toolbar; 8 var toolbar;
9 var TEST_HISTORY_RESULTS; 9 var TEST_HISTORY_RESULTS;
10 var ADDITIONAL_RESULTS; 10 var ADDITIONAL_RESULTS;
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 490
491 registerMessageCallback('navigateToUrl', this, function(info) { 491 registerMessageCallback('navigateToUrl', this, function(info) {
492 assertEquals(fileURL, info[0]); 492 assertEquals(fileURL, info[0]);
493 done(); 493 done();
494 }); 494 });
495 495
496 MockInteractions.tap(items[0].$.title); 496 MockInteractions.tap(items[0].$.title);
497 }); 497 });
498 }); 498 });
499 499
500 test('focus and keyboard nav', function(done) { 500 // Test is very flaky on all platforms, http://crbug.com/669227.
501 test.skip('focus and keyboard nav', function(done) {
501 app.historyResult(createHistoryInfo(), TEST_HISTORY_RESULTS); 502 app.historyResult(createHistoryInfo(), TEST_HISTORY_RESULTS);
502 PolymerTest.flushTasks().then(function() { 503 PolymerTest.flushTasks().then(function() {
503 var items = polymerSelectAll(element, 'history-item'); 504 var items = polymerSelectAll(element, 'history-item');
504 505
505 var focused = items[2].$.checkbox; 506 var focused = items[2].$.checkbox;
506 focused.focus(); 507 focused.focus();
507 508
508 // Wait for next render to ensure that focus handlers have been 509 // Wait for next render to ensure that focus handlers have been
509 // registered (see HistoryItemElement.attached). 510 // registered (see HistoryItemElement.attached).
510 Polymer.RenderStatus.afterNextRender(this, function() { 511 Polymer.RenderStatus.afterNextRender(this, function() {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 }); 552 });
552 }); 553 });
553 554
554 teardown(function() { 555 teardown(function() {
555 registerMessageCallback('removeVisits', this, undefined); 556 registerMessageCallback('removeVisits', this, undefined);
556 registerMessageCallback('queryHistory', this, function() {}); 557 registerMessageCallback('queryHistory', this, function() {});
557 registerMessageCallback('navigateToUrl', this, undefined); 558 registerMessageCallback('navigateToUrl', this, undefined);
558 app.set('queryState_.searchTerm', ''); 559 app.set('queryState_.searchTerm', '');
559 }); 560 });
560 }); 561 });
OLDNEW
« no previous file with comments | « no previous file | chrome/test/data/webui/md_history/md_history_browsertest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698