Skip to content

Commit

Permalink
Update locator selector to work on WC 7.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoumpierre committed Feb 3, 2025
1 parent 48ed1ef commit 232ca49
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ describeif( shouldRunWCBlocksTests )(
await shopper.confirmCardAuthentication( shopperPage );
}
await expect(
shopperPage.getByLabel( 'Checkout' ).getByText( error )
shopperPage
.locator( '.wc-block-checkout__form' )
.getByText( error )
).toBeVisible();
} );
}
Expand Down

0 comments on commit 232ca49

Please sign in to comment.