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

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

Issue 1796143003: Disabling flaky test BackgroundTest.ForwardNavigationThroughIframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 .expectSpeech('checked') 588 .expectSpeech('checked')
589 .call(click) 589 .call(click)
590 .expectSpeech('go') 590 .expectSpeech('go')
591 .expectSpeech('Check box') 591 .expectSpeech('Check box')
592 .expectSpeech('not checked') 592 .expectSpeech('not checked')
593 .replay(); 593 .replay();
594 }); 594 });
595 }); 595 });
596 596
597 /** Tests navigating into and out of iframes.. */ 597 /** Tests navigating into and out of iframes.. */
598 TEST_F('BackgroundTest', 'ForwardNavigationThroughIframes', function() { 598 TEST_F('BackgroundTest', 'DISABLED_ForwardNavigationThroughIframes', function() {
599 var mockFeedback = this.createMockFeedback(); 599 var mockFeedback = this.createMockFeedback();
600 600
601 var runTestIfIframeIsLoaded = function(rootNode) { 601 var runTestIfIframeIsLoaded = function(rootNode) {
602 // Return if the iframe hasn't loaded yet. 602 // Return if the iframe hasn't loaded yet.
603 var iframe = rootNode.find({role: 'iframe'}); 603 var iframe = rootNode.find({role: 'iframe'});
604 var childDoc = iframe.firstChild; 604 var childDoc = iframe.firstChild;
605 if (childDoc && childDoc.children.length == 0) { 605 if (childDoc && childDoc.children.length == 0) {
606 return; 606 return;
607 } 607 }
608 608
(...skipping 14 matching lines...) Expand all
623 this.runWithLoadedTree(this.iframesDoc, function(rootNode) { 623 this.runWithLoadedTree(this.iframesDoc, function(rootNode) {
624 chrome.automation.getDesktop(function(desktopNode) { 624 chrome.automation.getDesktop(function(desktopNode) {
625 runTestIfIframeIsLoaded(rootNode); 625 runTestIfIframeIsLoaded(rootNode);
626 626
627 desktopNode.addEventListener('loadComplete', function(evt) { 627 desktopNode.addEventListener('loadComplete', function(evt) {
628 runTestIfIframeIsLoaded(rootNode); 628 runTestIfIframeIsLoaded(rootNode);
629 }, true); 629 }, true);
630 }); 630 });
631 }); 631 });
632 }); 632 });
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