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

chore: update dependency @storybook/test-runner to ^0.20.1 #5150

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 29, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@storybook/test-runner ^0.19.1 -> ^0.20.1 age adoption passing confidence

Release Notes

storybookjs/test-runner (@​storybook/test-runner)

v0.20.1

Compare Source

v0.20.0

Compare Source

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

Configuration

📅 Schedule: Branch creation - "after 8am and before 5pm every weekday" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the renovate label Nov 29, 2024
@renovate renovate bot requested a review from a team as a code owner November 29, 2024 00:24
@renovate renovate bot requested review from oti and s-sasaki-0529 and removed request for a team November 29, 2024 00:24
Copy link

pkg-pr-new bot commented Nov 29, 2024

Open in Stackblitz

npm i https://pkg.pr.new/kufu/smarthr-ui@5150

commit: 798aec8

@renovate renovate bot force-pushed the renovate/storybook-test-runner-0.x branch from e6778c4 to b5aae1c Compare December 2, 2024 04:19
Copy link
Contributor

@oti oti left a comment

Choose a reason for hiding this comment

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

CI全部通ってるし大丈夫そう

@renovate renovate bot force-pushed the renovate/storybook-test-runner-0.x branch from b5aae1c to 798aec8 Compare December 3, 2024 01:05
@renovate renovate bot changed the title chore: update dependency @storybook/test-runner to ^0.20.0 chore: update dependency @storybook/test-runner to ^0.20.1 Dec 3, 2024
@AtsushiM AtsushiM merged commit a506a26 into master Dec 4, 2024
11 checks passed
@AtsushiM AtsushiM deleted the renovate/storybook-test-runner-0.x branch December 4, 2024 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants