test-runner icon indicating copy to clipboard operation
test-runner copied to clipboard

detect page crashes

Open yannbf opened this issue 1 year ago • 0 comments

Closes #

What I did

This PR introduces a mechanism to detect page crashes, which typically occur when the code uses unsupported browser APIs. Before, tests would just time out.

Checklist for Contributors

Manual testing

This section is mandatory for all contributions. If you believe no manual test is necessary, please state so explicitly. Thanks!

Documentation

  • [ ] Add or update documentation reflecting your changes in this repository
  • [ ] Request documentation updates in the test-runner docs website

Checklist for Maintainers

  • [ ] Make sure this PR contains one of the labels below:

    Available labels
    • skip-release: Skip any releases, e.g., documentation only changes, CI config etc.
    • patch: Upgrade patch version (e.g. 0.0.x)
    • minor: Upgrade patch version (e.g. 0.x.0)
    • major: Upgrade patch version (e.g. x.0.0)
📦 Published PR as canary version: 0.19.2--canary.508.b0f6120.0

:sparkles: Test out this PR locally via:

npm install @storybook/[email protected]
# or 
yarn add @storybook/[email protected]

yannbf avatar Aug 29 '24 10:08 yannbf