Skip to content

Commit

Permalink
Merge pull request #453 from woocommerce/fix/452-failing-e2e-test
Browse files Browse the repository at this point in the history
Update `#billing-state` locator to fix failing E2E test
  • Loading branch information
martynmjones authored Aug 7, 2024
2 parents 2422b52 + eb9d9c2 commit 884854d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/utils/customer.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export async function checkout( page ) {
.fill( user.addressfirstline );
await page.getByLabel( 'City' ).fill( user.city );
await page.getByLabel( 'ZIP Code' ).fill( user.postcode );
await page.locator( '#billing-state input' ).fill( user.statename );
await page.locator( '#billing-state' ).fill( user.statename );
}

//TODO: See if there's an alternative method to click the button without relying on waitForTimeout.
Expand Down

0 comments on commit 884854d

Please sign in to comment.