-
Notifications
You must be signed in to change notification settings - Fork 8
Make waitFor
interceptable and don't override interval/timeout
#23
Make waitFor
interceptable and don't override interval/timeout
#23
Conversation
waitFor
interceptable and don't override interval/timeout while debugging
waitFor
interceptable and don't override interval/timeout while debuggingwaitFor
interceptable and don't override interval/timeout
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great stuff @ghengeveld ! What does this mean for users that might be in a scenario with Storybook 6.4 and the new version of this package?
There's a good chance this will address #9 because we've gotten rid of "forwardedExceptions" which sometimes led to weird behavior. Give it a try! For #8 at the very least this will log any exception before throwing the |
Hi, I'm excited for this change, is it waiting for something, or maybe it can be merged? |
It's complicated. This fix is tied to a fix that currently only lives in storybook 7. If this change was merged, it'd bring a regression for 6.5 users (as I mentioned above). What I'm hoping for is to patch the interaction fix back to Storybook 6.5, and then everything would become much simpler (though could still impact 6.4 users). Cc @shilman We're currently using a release of this PR in |
As we approach 7.0 beta, whats the plan for this PR? |
🚀 PR was released in |
Works in tandem with storybookjs/storybook#18460
Change Type
Indicate the type of change your pull request is:
maintenance
documentation
patch
minor
major
📦 Published PR as canary version:
0.0.14--canary.23.51ebb1b.0
✨ Test out this PR locally via:
npm install @storybook/testing-library@0.0.14--canary.23.51ebb1b.0 # or yarn add @storybook/testing-library@0.0.14--canary.23.51ebb1b.0
Version
Published prerelease version:
v0.0.14-next.1
Changelog
🐛 Bug Fix
waitFor
interceptable and don't override interval/timeout #23 (@ghengeveld @yannbf)Authors: 2