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

Side by Side Diff: chrome/browser/extensions/api/automation/automation_apitest.cc

Issue 2299153002: Disable AutomationApiTest.DesktopInitialFocus for flakiness (Closed)
Patch Set: Created 4 years, 3 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 "base/files/file_path.h" 5 #include "base/files/file_path.h"
6 #include "base/location.h" 6 #include "base/location.h"
7 #include "base/path_service.h" 7 #include "base/path_service.h"
8 #include "base/single_thread_task_runner.h" 8 #include "base/single_thread_task_runner.h"
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "base/threading/thread_task_runner_handle.h" 10 #include "base/threading/thread_task_runner_handle.h"
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 << message_; 159 << message_;
160 } 160 }
161 161
162 #if defined(USE_AURA) 162 #if defined(USE_AURA)
163 // Flaky, see http://crbug.com/637525 163 // Flaky, see http://crbug.com/637525
164 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DISABLED_Desktop) { 164 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DISABLED_Desktop) {
165 ASSERT_TRUE(RunExtensionSubtest("automation/tests/desktop", "desktop.html")) 165 ASSERT_TRUE(RunExtensionSubtest("automation/tests/desktop", "desktop.html"))
166 << message_; 166 << message_;
167 } 167 }
168 168
169 #if defined(OS_CHROMEOS)
169 // TODO(crbug.com/615908): Flaky on CrOS sanitizers. 170 // TODO(crbug.com/615908): Flaky on CrOS sanitizers.
170 #if defined(OS_CHROMEOS) 171 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DISABLED_DesktopInitialFocus) {
171 #if defined(MEMORY_SANITIZER) || defined(ADDRESS_SANITIZER)
172 #define MAYBE_DesktopInitialFocus DISABLED_DesktopInitialFocus
173 #else
174 #define MAYBE_DesktopInitialFocus DesktopInitialFocus
175 #endif
176 IN_PROC_BROWSER_TEST_F(AutomationApiTest, MAYBE_DesktopInitialFocus) {
177 ASSERT_TRUE( 172 ASSERT_TRUE(
178 RunExtensionSubtest("automation/tests/desktop", "initial_focus.html")) 173 RunExtensionSubtest("automation/tests/desktop", "initial_focus.html"))
179 << message_; 174 << message_;
180 } 175 }
181 176
182 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DesktopFocusWeb) { 177 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DesktopFocusWeb) {
183 ASSERT_TRUE( 178 ASSERT_TRUE(
184 RunExtensionSubtest("automation/tests/desktop", "focus_web.html")) 179 RunExtensionSubtest("automation/tests/desktop", "focus_web.html"))
185 << message_; 180 << message_;
186 } 181 }
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 } 261 }
267 262
268 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DocumentSelection) { 263 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DocumentSelection) {
269 StartEmbeddedTestServer(); 264 StartEmbeddedTestServer();
270 ASSERT_TRUE( 265 ASSERT_TRUE(
271 RunExtensionSubtest("automation/tests/tabs", "document_selection.html")) 266 RunExtensionSubtest("automation/tests/tabs", "document_selection.html"))
272 << message_; 267 << message_;
273 } 268 }
274 269
275 } // namespace extensions 270 } // namespace extensions
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