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

docs: add test cases for abort and destroy #3643

Merged
merged 2 commits into from
May 11, 2024

Conversation

wfk007
Copy link
Contributor

@wfk007 wfk007 commented Apr 8, 2024

Short description

add two test cases for abort, refer to: #3641 (comment)

Implementation details

case1: destroy before wavesurfer ready should emit AbortError Exception, it is for #3614
case2: load url after destroyed should not emit AbortError Exception, it is for #3637

How to test it

yarn run cypress

Screenshots

image

Checklist

  • This PR is covered by e2e tests
  • It introduces no breaking API changes

Copy link
Owner

@katspaugh katspaugh left a comment

Choose a reason for hiding this comment

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

Awesome, thank you!

@wfk007
Copy link
Contributor Author

wfk007 commented Apr 15, 2024

I'm weird why the e2e works locally but keeps failing in GitHub jobs
image

@katspaugh
Copy link
Owner

Indeed, that's weird. I'll try on my machine locally.

@katspaugh
Copy link
Owner

Fixed it :)

@katspaugh katspaugh merged commit 5222ffa into katspaugh:main May 11, 2024
2 checks 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.

None yet

2 participants