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

CI: Restore passing tests #725

Merged
merged 1 commit into from
Sep 19, 2022
Merged

Conversation

seanpdoyle
Copy link
Contributor

@seanpdoyle seanpdoyle commented Sep 19, 2022

With the reverting of hotwired/turbo#695 (merged as hotwired/turbo#723), the "Visit with network error" test coverage was missed in the diff.

Prior to the revert, the test was listening for
turbo:fetch-request-error events dispatched on the link that was clicked. Since that's no longer the case, this commit changes the test to listen for turbo:fetch-request-error that bubble up to the document.

With the reverting of [hotwired#569][] (merged as
[hotwired#723][]), the "Visit with network error" test coverage
was missed in the diff.

Prior to the revert, the test was listening for
`turbo:fetch-request-error` events dispatched on the _link_ that was
clicked. Since that's no longer the case, this commit changes the test
to listen for `turbo:fetch-request-error` that bubble up to the
document.

[hotwired#569]: hotwired#569
[hotwired#723]: hotwired#723
@kevinmcconnell
Copy link
Collaborator

Thanks @seanpdoyle, I missed that one. There is quite a lot of flakiness in the tests currently!

Just to clarify, this was actually from the revert of #695 I think, rather than #569?

@dhh dhh merged commit 33617b7 into hotwired:main Sep 19, 2022
@seanpdoyle seanpdoyle deleted the pass-fetch-error-tests branch September 19, 2022 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants