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

Side by Side Diff: chrome/browser/ui/webui/signin/inline_login_ui_browsertest.cc

Issue 652653002: Disable flaky timeout InlineLoginUIBrowserTest.DifferentStorageId on linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 "base/command_line.h" 5 #include "base/command_line.h"
6 #include "chrome/browser/signin/signin_promo.h" 6 #include "chrome/browser/signin/signin_promo.h"
7 #include "chrome/browser/ui/browser.h" 7 #include "chrome/browser/ui/browser.h"
8 #include "chrome/browser/ui/tabs/tab_strip_model.h" 8 #include "chrome/browser/ui/tabs/tab_strip_model.h"
9 #include "chrome/browser/ui/webui/signin/inline_login_ui.h" 9 #include "chrome/browser/ui/webui/signin/inline_login_ui.h"
10 #include "chrome/browser/ui/webui/signin/login_ui_service.h" 10 #include "chrome/browser/ui/webui/signin/login_ui_service.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 const char kFooWebUIURL[] = "chrome://foo/"; 85 const char kFooWebUIURL[] = "chrome://foo/";
86 86
87 } // namespace 87 } // namespace
88 88
89 class InlineLoginUIBrowserTest : public InProcessBrowserTest { 89 class InlineLoginUIBrowserTest : public InProcessBrowserTest {
90 public: 90 public:
91 InlineLoginUIBrowserTest() {} 91 InlineLoginUIBrowserTest() {}
92 }; 92 };
93 93
94 IN_PROC_BROWSER_TEST_F(InlineLoginUIBrowserTest, DifferentStorageId) { 94 #if defined(OS_LINUX)
95 // crbug.com/422868
96 #define MAYBE_DifferentStorageId DISABLED_DifferentStorageId
97 #else
98 #define MAYBE_DifferentStorageId DifferentStorageId
99 #endif
100 IN_PROC_BROWSER_TEST_F(InlineLoginUIBrowserTest, MAYBE_DifferentStorageId) {
95 GURL test_url = ui_test_utils::GetTestUrl( 101 GURL test_url = ui_test_utils::GetTestUrl(
96 base::FilePath(base::FilePath::kCurrentDirectory), 102 base::FilePath(base::FilePath::kCurrentDirectory),
97 base::FilePath(FILE_PATH_LITERAL("title1.html"))); 103 base::FilePath(FILE_PATH_LITERAL("title1.html")));
98 104
99 ContentInfo info1 = 105 ContentInfo info1 =
100 NavigateAndGetInfo(browser(), test_url, CURRENT_TAB); 106 NavigateAndGetInfo(browser(), test_url, CURRENT_TAB);
101 ContentInfo info2 = 107 ContentInfo info2 =
102 NavigateAndGetInfo(browser(), 108 NavigateAndGetInfo(browser(),
103 signin::GetPromoURL(signin::SOURCE_START_PAGE, false), 109 signin::GetPromoURL(signin::SOURCE_START_PAGE, false),
104 CURRENT_TAB); 110 CURRENT_TAB);
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 std::string js = 320 std::string js =
315 "document.getElementById('Email').value = 'email';" 321 "document.getElementById('Email').value = 'email';"
316 "document.getElementById('Passwd').value = 'password';" 322 "document.getElementById('Passwd').value = 'password';"
317 "document.getElementById('signIn').click();"; 323 "document.getElementById('signIn').click();";
318 ExecuteJsInSigninFrame(js); 324 ExecuteJsInSigninFrame(js);
319 325
320 run_loop.Run(); 326 run_loop.Run();
321 base::MessageLoop::current()->RunUntilIdle(); 327 base::MessageLoop::current()->RunUntilIdle();
322 } 328 }
323 #endif // OS_CHROMEOS 329 #endif // OS_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