From eb9d9c28db3af391758d3c745862864d2848c4f7 Mon Sep 17 00:00:00 2001 From: Martyn Jones Date: Wed, 7 Aug 2024 21:33:14 +0100 Subject: [PATCH] Update billing-state locator --- tests/e2e/utils/customer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/utils/customer.js b/tests/e2e/utils/customer.js index 31d806a9..8d247f18 100644 --- a/tests/e2e/utils/customer.js +++ b/tests/e2e/utils/customer.js @@ -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.