Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .changeset/blue-pugs-smile.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/olive-moons-shave.md

This file was deleted.

15 changes: 15 additions & 0 deletions packages/storybook-addon-vis/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# CHANGE LOG

## 4.2.5

### Patch Changes

- [#849](https://github.com/repobuddy/visual-testing/pull/849) [`f450ead`](https://github.com/repobuddy/visual-testing/commit/f450eadb54ea9daf9ce62a227c782b39bf834573) Thanks [@unional](https://github.com/unional)! - Wait for the vitest browser modules before using them.

`commands` and `page` are backed by a dynamic import that nothing awaited, so a
hook reading `commands.setupVisSuite` before it settled got `undefined` and
failed with `commands.setupVisSuite is not a function` — inside a genuine vitest
browser run. Command reads now return a function that waits for the import, and
the addon's `beforeAll` awaits the module load before touching `page` or the
current test.
- Updated dependencies [[`5364614`](https://github.com/repobuddy/visual-testing/commit/5364614b07e8301250922c190b621300e86ba4fd)]:
- vitest-plugin-vis@5.1.2

## 4.2.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/storybook-addon-vis/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "storybook-addon-vis",
"version": "4.2.4",
"version": "4.2.5",
"description": "Storybook Vitest visual testing addon",
"keywords": [
"image-snapshot",
Expand Down
8 changes: 8 additions & 0 deletions packages/vitest-plugin-vis/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# vitest-plugin-vis

## 5.1.2

### Patch Changes

- [#851](https://github.com/repobuddy/visual-testing/pull/851) [`5364614`](https://github.com/repobuddy/visual-testing/commit/5364614b07e8301250922c190b621300e86ba4fd) Thanks [@unional](https://github.com/unional)! - Show snapshot paths in failure messages relative to the project root (`./__vis__/...`) instead of absolute.

Editors and terminals resolve the relative path just as well, and the output no longer leaks the local absolute path when a failure is pasted into a bug report. Paths outside the project root stay absolute. Filesystem operations are unaffected and still resolve to absolute paths.

## 5.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/vitest-plugin-vis/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vitest-plugin-vis",
"version": "5.1.1",
"version": "5.1.2",
"description": "Vitest visual testing plugin",
"keywords": [
"image-snapshot",
Expand Down