We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d89151 commit 1c929d8Copy full SHA for 1c929d8
e2e/steps/pro-project.ts
@@ -20,7 +20,8 @@ export async function enterCreditCard(page: Page) {
20
await stripe.locator('id=Field-cvcInput').fill('123');
21
await stripe.locator('id=Field-countryInput').selectOption('DE');
22
await dialog.getByRole('button', { name: 'Add', exact: true }).click();
23
- await page.locator('id=state-picker').selectOption('AS');
+ await page.locator('id=state-picker').click(); // open dropdown
24
+ await page.getByRole('option', { name: 'Alabama' }).click();
25
await page.getByRole('button', { name: 'Add', exact: true }).click();
26
await dialog.waitFor({
27
state: 'hidden'
0 commit comments