Skip to content

Commit 5633538

Browse files
committed
fix: update selector in basic.test.ts
1 parent aa91775 commit 5633538

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

playground/tests/e2e/basic.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ test('test very basic form', async ({ page }) => {
99
await page.getByRole('combobox', { name: 'Enum Input', exact: true }).click()
1010
await page.getByRole('option', { name: '2' }).click()
1111
await page.getByRole('textbox', { name: 'Text description' }).click()
12-
await page.getByRole('combobox', { name: 'Input with custom slot' }).click()
12+
await page.locator('form div').filter({ hasText: 'Input with custom slot' }).getByRole('combobox').click()
1313
await page.getByLabel('True').getByText('True').click()
1414
await expect(page.locator('#v-4-error')).toContainText('Invalid input')
1515
await page.getByRole('textbox', { name: 'Text description' }).click()
1616
await page.getByRole('textbox', { name: 'Text description' }).fill('asdasd')
1717
await page.getByRole('combobox', { name: 'Multiple Enum Input' }).click()
1818
await page.getByRole('option', { name: 'E' }).click()
19+
await page.getByRole('option', { name: 'A' }).click()
1920
await page.locator('html').click()
2021
await page.getByRole('button', { name: 'Send' }).click()
2122
await expect(page.getByRole('button', { name: 'Send' })).toBeEnabled()

0 commit comments

Comments
 (0)