Commit 97652c2a authored by Ian Struiksma's avatar Ian Struiksma Committed by Commit Bot

Update elapsed cc expiration date for test.

Test cc had date of 10/2020, which means it expired.
Setting exp year to use test::NextYear() so test can proceed.

Bug: 1144598
Change-Id: I018787f8003f3d48a0d56715a613163ae7c3158d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2515263Reviewed-by: default avatarEvan Stade <estade@chromium.org>
Reviewed-by: default avatarJared Saul <jsaul@google.com>
Commit-Queue: Ian Struiksma <ianstruiksma@google.com>
Cr-Commit-Position: refs/heads/master@{#823398}
parent a933db1a
......@@ -221,20 +221,14 @@ IN_PROC_BROWSER_TEST_F(CardUnmaskPromptViewBrowserTest, DisplayUI) {
ShowUi(kExpiryExpired);
}
// Fails on multiple bots: https://crbug.com/1144598
// Makes sure the user can close the dialog while the verification success
// message is showing.
#if defined(OS_LINUX) || !defined(NDEBUG) || defined(ADDRESS_SANITIZER)
#define MAYBE_EarlyCloseAfterSuccess DISABLED_EarlyCloseAfterSuccess
#else
#define MAYBE_EarlyCloseAfterSuccess EarlyCloseAfterSuccess
#endif
IN_PROC_BROWSER_TEST_F(CardUnmaskPromptViewBrowserTest,
MAYBE_EarlyCloseAfterSuccess) {
EarlyCloseAfterSuccess) {
ShowUi(kExpiryExpired);
controller()->OnUnmaskPromptAccepted(
base::ASCIIToUTF16("123"), base::ASCIIToUTF16("10"),
base::ASCIIToUTF16("2020"), /*should_store_locally=*/false,
base::ASCIIToUTF16(test::NextYear()), /*should_store_locally=*/false,
/*enable_fido_auth=*/false);
EXPECT_EQ(base::ASCIIToUTF16("123"), delegate()->details().cvc);
controller()->OnVerificationResult(AutofillClient::SUCCESS);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment