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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs

Issue 2250363002: Disable "BackgroundTest.ActiveOrInactive" due to flakiness. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | « 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // Include test fixture. 5 // Include test fixture.
6 GEN_INCLUDE(['../../testing/chromevox_next_e2e_test_base.js', 6 GEN_INCLUDE(['../../testing/chromevox_next_e2e_test_base.js',
7 '../../testing/assert_additions.js']); 7 '../../testing/assert_additions.js']);
8 8
9 GEN_INCLUDE(['../../testing/mock_feedback.js']); 9 GEN_INCLUDE(['../../testing/mock_feedback.js']);
10 10
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 assertEquals('/^()$/', Background.globsToRegExp_([]).toString()); 459 assertEquals('/^()$/', Background.globsToRegExp_([]).toString());
460 assertEquals( 460 assertEquals(
461 '/^(http:\\/\\/host\\/path\\+here)$/', 461 '/^(http:\\/\\/host\\/path\\+here)$/',
462 Background.globsToRegExp_(['http://host/path+here']).toString()); 462 Background.globsToRegExp_(['http://host/path+here']).toString());
463 assertEquals( 463 assertEquals(
464 '/^(url1.*|u.l2|.*url3)$/', 464 '/^(url1.*|u.l2|.*url3)$/',
465 Background.globsToRegExp_(['url1*', 'u?l2', '*url3']).toString()); 465 Background.globsToRegExp_(['url1*', 'u?l2', '*url3']).toString());
466 }); 466 });
467 467
468 // Flaky, see http://crbug.com/635032 468 // Flaky, see http://crbug.com/635032
469 TEST_F('BackgroundTest', 'ActiveOrInactive', function() { 469 TEST_F('BackgroundTest', 'DISABLED_ActiveOrInactive', function() {
470 var mockFeedback = this.createMockFeedback(); 470 var mockFeedback = this.createMockFeedback();
471 this.runWithLoadedTree(function() {/*! 471 this.runWithLoadedTree(function() {/*!
472 <a href="a">a</a> 472 <a href="a">a</a>
473 <button>b</button> 473 <button>b</button>
474 <input type="text"></input> 474 <input type="text"></input>
475 */}, 475 */},
476 function(rootNode) { 476 function(rootNode) {
477 var focusButton = function() { 477 var focusButton = function() {
478 rootNode.find({role: RoleType.button}).focus(); 478 rootNode.find({role: RoleType.button}).focus();
479 }; 479 };
(...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after
1125 .call(doCmd('nextHeading' + level)) 1125 .call(doCmd('nextHeading' + level))
1126 .expectSpeech('No next level ' + level + ' heading.') 1126 .expectSpeech('No next level ' + level + ' heading.')
1127 .call(doCmd('previousHeading' + level)) 1127 .call(doCmd('previousHeading' + level))
1128 .expectSpeech('No previous level ' + level + ' heading.'); 1128 .expectSpeech('No previous level ' + level + ' heading.');
1129 }; 1129 };
1130 for (var i = 1; i <= 6; i++) 1130 for (var i = 1; i <= 6; i++)
1131 makeLevelAssertions(i); 1131 makeLevelAssertions(i);
1132 mockFeedback.replay(); 1132 mockFeedback.replay();
1133 }); 1133 });
1134 }); 1134 });
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