Skip to content

Commit 6683b9b

Browse files
committed
Merge branch 'master' into dev
2 parents 4f618ba + 48ae394 commit 6683b9b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/vuetify/src/components/VDatePicker/__tests__/VDatePicker.spec.browser.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ describe('VDatePicker', () => {
3434
await userEvent.click(await within(yearsContainer).getByText('2025'))
3535
await userEvent.click(await screen.findByTestId('month-btn'))
3636
await commands.waitStable('.v-date-picker-months')
37-
await userEvent.click(await screen.findByText('Jan'))
37+
const monthsContainer = await screen.getByCSS('.v-date-picker-months__content')
38+
await userEvent.click(await within(monthsContainer).findByText('Jan'))
3839
await commands.waitStable('.v-date-picker-month__days')
3940
await userEvent.click(await screen.findByText(7))
4041

0 commit comments

Comments
 (0)