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

Side by Side Diff: chrome/browser/apps/guest_view/web_view_browsertest.cc

Issue 1975093003: Disable WebViewTest.ChromeVoxInjection due to flakiness. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <queue> 5 #include <queue>
6 #include <set> 6 #include <set>
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/callback_helpers.h" 9 #include "base/callback_helpers.h"
10 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
(...skipping 1957 matching lines...) Expand 10 before | Expand all | Expand 10 after
1968 1968
1969 // Checks that window.screenX/screenY/screenLeft/screenTop works correctly for 1969 // Checks that window.screenX/screenY/screenLeft/screenTop works correctly for
1970 // guests. 1970 // guests.
1971 IN_PROC_BROWSER_TEST_P(WebViewTest, ScreenCoordinates) { 1971 IN_PROC_BROWSER_TEST_P(WebViewTest, ScreenCoordinates) {
1972 ASSERT_TRUE(RunPlatformAppTestWithArg( 1972 ASSERT_TRUE(RunPlatformAppTestWithArg(
1973 "platform_apps/web_view/common", "screen_coordinates")) 1973 "platform_apps/web_view/common", "screen_coordinates"))
1974 << message_; 1974 << message_;
1975 } 1975 }
1976 1976
1977 #if defined(OS_CHROMEOS) 1977 #if defined(OS_CHROMEOS)
1978 IN_PROC_BROWSER_TEST_P(WebViewTest, ChromeVoxInjection) { 1978 // Flaky, see http://crbug.com/611736.
1979 IN_PROC_BROWSER_TEST_P(WebViewTest, DISABLED_ChromeVoxInjection) {
1979 EXPECT_FALSE( 1980 EXPECT_FALSE(
1980 chromeos::AccessibilityManager::Get()->IsSpokenFeedbackEnabled()); 1981 chromeos::AccessibilityManager::Get()->IsSpokenFeedbackEnabled());
1981 1982
1982 chromeos::SpeechMonitor monitor; 1983 chromeos::SpeechMonitor monitor;
1983 chromeos::AccessibilityManager::Get()->EnableSpokenFeedback( 1984 chromeos::AccessibilityManager::Get()->EnableSpokenFeedback(
1984 true, ui::A11Y_NOTIFICATION_NONE); 1985 true, ui::A11Y_NOTIFICATION_NONE);
1985 EXPECT_TRUE(monitor.SkipChromeVoxEnabledMessage()); 1986 EXPECT_TRUE(monitor.SkipChromeVoxEnabledMessage());
1986 1987
1987 ASSERT_TRUE(StartEmbeddedTestServer()); 1988 ASSERT_TRUE(StartEmbeddedTestServer());
1988 content::WebContents* guest_web_contents = LoadGuest( 1989 content::WebContents* guest_web_contents = LoadGuest(
(...skipping 1363 matching lines...) Expand 10 before | Expand all | Expand 10 after
3352 gfx::Point embedder_origin = 3353 gfx::Point embedder_origin =
3353 GetEmbedderWebContents()->GetContainerBounds().origin(); 3354 GetEmbedderWebContents()->GetContainerBounds().origin();
3354 guest_rect.Offset(-embedder_origin.x(), -embedder_origin.y()); 3355 guest_rect.Offset(-embedder_origin.x(), -embedder_origin.y());
3355 3356
3356 // Generate and send synthetic touch event. 3357 // Generate and send synthetic touch event.
3357 content::SimulateTouchPressAt(GetEmbedderWebContents(), 3358 content::SimulateTouchPressAt(GetEmbedderWebContents(),
3358 guest_rect.CenterPoint()); 3359 guest_rect.CenterPoint());
3359 EXPECT_TRUE(aura_webview->HasFocus()); 3360 EXPECT_TRUE(aura_webview->HasFocus());
3360 } 3361 }
3361 #endif 3362 #endif
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