Skip to content
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

chore: fix flaky test #12487

Merged
merged 1 commit into from
Jul 22, 2024
Merged

chore: fix flaky test #12487

merged 1 commit into from
Jul 22, 2024

Conversation

benmccann
Copy link
Member

@benmccann benmccann commented Jul 22, 2024

I think our tests have been flaky ever since #11311

It's an easy fix, but I didn't know this test was flaky because GitHub was burying the logs. Thankfully @eltigerchino realized there were other errors in the logs that I didn't see

page.click won't wait for the navigation to complete where as clicknav will

Copy link

changeset-bot bot commented Jul 22, 2024

⚠️ No Changeset found

Latest commit: 02d4a7e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@benmccann benmccann merged commit 07a9026 into main Jul 22, 2024
13 checks passed
@benmccann benmccann deleted the flaky-test branch July 22, 2024 16:13
@eltigerchino
Copy link
Member

eltigerchino commented Jul 22, 2024

Thanks Ben! The download test I added a while back is pretty flaky too. I attempted to fix it by adding a "wait for download event" in https://github.com/sveltejs/kit/pull/9747/files#diff-a546a23d82431e7dd623e165253e7a65f2571999354acab18c6f5423b69b9389 but it seems like it's still flaky (just less?). Would it be worth separating the fix for that test into a separate PR?

@benmccann
Copy link
Member Author

Yeah, it seems like that's the other big one. Too bad it's not as easy to fix as this one

@eltigerchino
Copy link
Member

Another one seems to be test.js:545:2 › Load › Prerendered +server.js called from a non-prerendered handle hook works

paoloricciuti pushed a commit to paoloricciuti/kit that referenced this pull request Jul 31, 2024
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