Skip to content

chore: minor fixes #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 13, 2025
Merged

chore: minor fixes #48

merged 3 commits into from
May 13, 2025

Conversation

mxschmitt
Copy link
Collaborator

No description provided.

await expect(page).toHaveURL(/page=2/);
await expect(movies).toHaveCount(20);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This resulted in a hydration race since the toHaveURL was still checking the "old page" content before the click. Doing toHaveURL first fixes that.

@mxschmitt mxschmitt merged commit 2f61f13 into main May 13, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants