From 68e58753cd69bd55982c47709ebb0bd552cf3048 Mon Sep 17 00:00:00 2001 From: Darshan Date: Tue, 27 Jan 2026 14:22:37 +0530 Subject: [PATCH] fix: tests --- e2e/steps/pro-project.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/e2e/steps/pro-project.ts b/e2e/steps/pro-project.ts index 3f3a7ec1f..9ac5f386d 100644 --- a/e2e/steps/pro-project.ts +++ b/e2e/steps/pro-project.ts @@ -18,10 +18,10 @@ export async function enterCreditCard(page: Page) { await dialog.waitFor({ state: 'visible' }); await page.getByPlaceholder('cardholder').fill('Test User'); const stripe = page.locator('[title="Secure payment input frame"]').nth(0).contentFrame(); - await stripe.locator('id=Field-numberInput').fill('4242424242424242'); - await stripe.locator('id=Field-expiryInput').fill('1250'); - await stripe.locator('id=Field-cvcInput').fill('123'); - await stripe.locator('id=Field-countryInput').selectOption('DE'); + await stripe.locator('id=payment-numberInput').fill('4242424242424242'); + await stripe.locator('id=payment-expiryInput').fill('1250'); + await stripe.locator('id=payment-cvcInput').fill('123'); + await stripe.locator('id=payment-countryInput').selectOption('DE'); await dialog.getByRole('button', { name: 'Add', exact: true }).click(); await page.locator('id=state-picker').click(); // open dropdown await page.getByRole('option', { name: 'Alabama' }).click();