Skip to content

Commit 2267e21

Browse files
authored
Fix RangeCalendar test (#2953)
1 parent fe4148b commit 2267e21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@react-spectrum/calendar/test/RangeCalendar.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@ describe('RangeCalendar', () => {
10831083

10841084
act(() => userEvent.click(nextButton));
10851085

1086-
cell = getByRole('button', {name: 'Sunday, May 1, 2022 selected'});
1086+
cell = getByRole('button', {name: 'Sunday, May 1, 2022 selected (Click to finish selecting date range)'});
10871087
expect(cell).not.toHaveAttribute('aria-disabled');
10881088
expect(cell).toHaveAttribute('tabindex', '0');
10891089

0 commit comments

Comments
 (0)