We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 604b151 commit ee398c1Copy full SHA for ee398c1
src/components/Counter/Counter.test.tsx
@@ -46,7 +46,7 @@ describe('Counter', () => {
46
47
expect(ammountInput).toHaveValue(10);
48
49
- const setButton = screen.getByRole('button', { name: 'Set' });
+ const setButton = screen.getByRole('button', { name: 'Set Value' });
50
await user.click(setButton);
51
52
const countElement = screen.getByRole('heading', { level: 2 });
@@ -57,7 +57,7 @@ describe('Counter', () => {
57
const user = userEvents.setup();
58
59
const ammountInput = screen.getByRole('spinbutton');
60
61
const incrementButton = screen.getByRole('button', { name: 'Increment' });
62
63
await user.tab();
0 commit comments