Skip to content

Commit 3d89151

Browse files
committed
update test to select state
1 parent b7ab1d7 commit 3d89151

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

e2e/steps/pro-project.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ export async function enterCreditCard(page: Page) {
2020
await stripe.locator('id=Field-cvcInput').fill('123');
2121
await stripe.locator('id=Field-countryInput').selectOption('DE');
2222
await dialog.getByRole('button', { name: 'Add', exact: true }).click();
23+
await page.locator('id=state-picker').selectOption('AS');
24+
await page.getByRole('button', { name: 'Add', exact: true }).click();
2325
await dialog.waitFor({
2426
state: 'hidden'
2527
});

0 commit comments

Comments
 (0)