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

Bump @storybook/test-runner from 0.17.0 to 0.20.0 #12952

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 29, 2024

Bumps @storybook/test-runner from 0.17.0 to 0.20.0.

Release notes

Sourced from @​storybook/test-runner's releases.

v0.20.0

Release Notes

Refactor: Align with Storybook 8.2 core package layout

This is a structural change that shouldn't really affect you. As long as you have the storybook dependency in your app (which you should), you're good! This change makes it so that the test-runner deduplicates Storybook dependencies, and therefore, slims down your node_modules size.

Feature: Run postVisit on failures (#494)

The test-runner's postVisit hook now runs even if there are failures. This allows you to, for instance, take snapshots on component failures. You can check whether the test has failed via the hasFailure property in the context passed to the hook:

const config: TestRunnerConfig = {
  async postVisit(_page, context) {
    if(context.hasFailure) {
      console.log('problems!')
      // do a snapshot, write a log, or anything you like
    }
  },
}

🚀 Enhancement

📝 Documentation

Authors: 6

v0.20.0-next.2

Release Notes

Feature: Run postVisit on failures (#494)

The test-runner's postVisit hook now runs even if there are failures. This allows you to, for instance, take snapshots on component failures. You can check whether the test has failed via the hasFailure property in the context passed to the hook:

const config: TestRunnerConfig = {
  async postVisit(_page, context) {
    if(context.hasFailure) {
      console.log('problems!')
</tr></table> 

... (truncated)

Changelog

Sourced from @​storybook/test-runner's changelog.

v0.20.0 (Thu Nov 28 2024)

Release Notes

Feature: Run postVisit on failures (#494)

The test-runner's postVisit hook now runs even if there are failures. This allows you to, for instance, take snapshots on component failures. You can check whether the test has failed via the hasFailure property in the context passed to the hook:

const config: TestRunnerConfig = {
  async postVisit(_page, context) {
    if(context.hasFailure) {
      console.log('problems!')
      // do a snapshot, write a log, or anything you like
    }
  },
}

🚀 Enhancement

📝 Documentation

Authors: 6


v0.19.1 (Mon Jul 15 2024)

🐛 Bug Fix

... (truncated)

Commits
  • 8dabc7a Bump version to: 0.20.0 [skip ci]
  • c1571a8 Update CHANGELOG.md [skip ci]
  • dc1e287 Merge pull request #518 from storybookjs/release/v0.20.0
  • 0129a50 bring back main deps
  • f2e9c05 use next deps [skip ci]
  • db2c15b fix release [skip ci]
  • 322bd62 Merge pull request #494 from storybookjs/post-visit-on-failures
  • 3f8071b Merge branch 'next' into post-visit-on-failures
  • 3a2a920 Merge pull request #514 from storybookjs/release/0.20.0
  • 3b13b86 Merge branch 'main' into release/0.20.0
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by storybook-bot, a new releaser for @​storybook/test-runner since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@storybook/test-runner](https://github.com/storybookjs/test-runner) from 0.17.0 to 0.20.0.
- [Release notes](https://github.com/storybookjs/test-runner/releases)
- [Changelog](https://github.com/storybookjs/test-runner/blob/v0.20.0/CHANGELOG.md)
- [Commits](storybookjs/test-runner@v0.17.0...v0.20.0)

---
updated-dependencies:
- dependency-name: "@storybook/test-runner"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 29, 2024
@github-actions github-actions bot enabled auto-merge (squash) November 29, 2024 07:47
@github-actions github-actions bot merged commit 80c7a2d into main Nov 29, 2024
13 checks passed
@github-actions github-actions bot deleted the dependabot/npm_and_yarn/storybook/test-runner-0.20.0 branch November 29, 2024 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants