Skip to content

Commit

Permalink
test: fix wrong selector
Browse files Browse the repository at this point in the history
  • Loading branch information
zernonia committed Feb 14, 2025
1 parent b0f0b3d commit 440eae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/radix-vue/src/DatePicker/DatePicker.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ describe('datePicker', async () => {

await user.click(trigger)
const calendar = getByTestId('calendar')
const targetCell = calendar.querySelector('div[data-reka-calendar-cell-trigger]:not([data-outside-view])')!
const targetCell = calendar.querySelector('div[data-radix-vue-calendar-cell-trigger]:not([data-outside-view])')!

await user.click(targetCell)
expect(calendar.querySelector('[data-selected]')).toBeInTheDocument()
Expand Down

0 comments on commit 440eae4

Please sign in to comment.