Skip to content

Commit

Permalink
Do not expect 3D Secure authentication for declined 3DS card (#7844)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardo authored Dec 12, 2023
1 parent ef7a13c commit 56863b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions changelog/dev-test-ci-without-3ds1
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: dev

Comment: Fix declined 3DS card E2E test.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { shopperWCP } from '../../../utils';

import {
clearCardDetails,
confirmCardAuthentication,
fillCardDetails,
setupProductCheckout,
} from '../../../utils/payments';
Expand Down Expand Up @@ -145,7 +144,6 @@ describe( 'Shopper > Checkout > Failures with various cards', () => {
const declinedCard = config.get( 'cards.declined-3ds' );
await fillCardDetails( page, declinedCard );
await expect( page ).toClick( '#place_order' );
await confirmCardAuthentication( page, '3DS' );
await page.waitForSelector( 'ul.woocommerce-error' );
const declined3dsCardError = await page.$eval(
'div.woocommerce-NoticeGroup > ul.woocommerce-error',
Expand Down

0 comments on commit 56863b2

Please sign in to comment.