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

Side by Side Diff: chrome/browser/chromeos/login/login_browsertest.cc

Issue 2708073003: Disable flaky test LoginGuestTest.CursorShown. (Closed)
Patch Set: Created 3 years, 10 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <string> 5 #include <string>
6 6
7 #include "ash/common/shelf/wm_shelf.h" 7 #include "ash/common/shelf/wm_shelf.h"
8 #include "ash/common/system/tray/system_tray.h" 8 #include "ash/common/system/tray/system_tray.h"
9 #include "ash/common/wm_window.h" 9 #include "ash/common/wm_window.h"
10 #include "ash/shell.h" 10 #include "ash/shell.h"
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 Profile* profile = browser()->profile(); 202 Profile* profile = browser()->profile();
203 std::string profile_base_path("hash"); 203 std::string profile_base_path("hash");
204 profile_base_path.insert(0, chrome::kProfileDirPrefix); 204 profile_base_path.insert(0, chrome::kProfileDirPrefix);
205 EXPECT_EQ(profile_base_path, profile->GetPath().BaseName().value()); 205 EXPECT_EQ(profile_base_path, profile->GetPath().BaseName().value());
206 EXPECT_FALSE(profile->IsOffTheRecord()); 206 EXPECT_FALSE(profile->IsOffTheRecord());
207 207
208 TestSystemTrayIsVisible(); 208 TestSystemTrayIsVisible();
209 } 209 }
210 210
211 // Verifies the cursor is not hidden at startup when user is logged in. 211 // Verifies the cursor is not hidden at startup when user is logged in.
212 IN_PROC_BROWSER_TEST_F(LoginUserTest, CursorShown) { 212 // Test is flaky https://crbug.com/693106
213 IN_PROC_BROWSER_TEST_F(LoginUserTest, DISABLED_CursorShown) {
213 EXPECT_TRUE(ash::Shell::GetInstance()->cursor_manager()->IsCursorVisible()); 214 EXPECT_TRUE(ash::Shell::GetInstance()->cursor_manager()->IsCursorVisible());
214 215
215 TestSystemTrayIsVisible(); 216 TestSystemTrayIsVisible();
216 } 217 }
217 218
218 // After a guest login, we should get the OTR default profile. 219 // After a guest login, we should get the OTR default profile.
219 IN_PROC_BROWSER_TEST_F(LoginGuestTest, GuestIsOTR) { 220 IN_PROC_BROWSER_TEST_F(LoginGuestTest, GuestIsOTR) {
220 Profile* profile = browser()->profile(); 221 Profile* profile = browser()->profile();
221 EXPECT_TRUE(profile->IsOffTheRecord()); 222 EXPECT_TRUE(profile->IsOffTheRecord());
222 // Ensure there's extension service for this profile. 223 // Ensure there's extension service for this profile.
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 content::WindowedNotificationObserver session_start_waiter( 272 content::WindowedNotificationObserver session_start_waiter(
272 chrome::NOTIFICATION_SESSION_STARTED, 273 chrome::NOTIFICATION_SESSION_STARTED,
273 content::NotificationService::AllSources()); 274 content::NotificationService::AllSources());
274 SubmitGaiaAuthOfflineForm(kTestUser, kPassword); 275 SubmitGaiaAuthOfflineForm(kTestUser, kPassword);
275 session_start_waiter.Wait(); 276 session_start_waiter.Wait();
276 277
277 TestSystemTrayIsVisible(); 278 TestSystemTrayIsVisible();
278 } 279 }
279 280
280 } // namespace chromeos 281 } // namespace chromeos
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