const nextButton = screen.getByTestId("prev-button");
Small copy paste error, apparently.
Same typo is also on page 109. Additionally, both next and previous tests have the same name.
Thanks so much for the report! I’ll get that fixed for the next release.
1 Like