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

Unified Diff: chrome/browser/password_manager/credential_manager_browsertest.cc

Issue 2177213002: Fix flaky CredentialManagerBrowserTest.AccountChooserWithOldCredentialAndNavigation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/password_manager/credential_manager_browsertest.cc
diff --git a/chrome/browser/password_manager/credential_manager_browsertest.cc b/chrome/browser/password_manager/credential_manager_browsertest.cc
index 388d76429db472803a46f02b4f8683636612eed3..9660f51e73de4c8c86c3f9b4aea43cb9945e6928 100644
--- a/chrome/browser/password_manager/credential_manager_browsertest.cc
+++ b/chrome/browser/password_manager/credential_manager_browsertest.cc
@@ -92,6 +92,7 @@ IN_PROC_BROWSER_TEST_F(CredentialManagerBrowserTest,
RenderViewHost(),
"navigator.credentials.get({password: true})"
".then(cred => window.location = '/password/done.html')"));
+ WaitForPasswordStore();
ASSERT_EQ(password_manager::ui::CREDENTIAL_REQUEST_STATE,
PasswordsModelDelegateFromWebContents(WebContents())->GetState());
PasswordsModelDelegateFromWebContents(WebContents())->ChooseCredential(
« 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