Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
vitest-plugin-vis@1.0.0
Major Changes
#102
03893ab
Thanks @unional! - Initial Release.vitest-plugin-vis
is a visual testing plugin for Vitest, running on Vitest Browser Mode.storybook-addon-vis@0.14.0
Minor Changes
#102
1c6830b
Thanks @unional! - exporttrimCommonFolder()
.This is made available for customizing snapshot subpath.
#102
c447676
Thanks @unional! - SupportLocator
#2.#102
c39daf0
Thanks @unional! - create baseline snapshot on server.#102
03b1e6b
Thanks @unional! - Allow commands to work inwebdriverio
.#102
fa4dd12
Thanks @unional! - Rewritten to usevitest-plugin-vis
,which performs the snapshot on the server side.
The interface is greatly improved.
The
page.imageSnapshot()
is removed.Now you can perform
expect(...).toMatchImageSnapshot()
on regular element and locator.Please check the read me for the new API.
#102
f4bda4c
Thanks @unional! - AddsetSnapshotMeta()
.Patch Changes
#102
03b1e6b
Thanks @unional! - Change to useImageData(data, w, h, o)
constructor instead ofImageData(w, h, o)
asfirefox
does not support it.#102
cbd1b4c
Thanks @unional! - Fix update snapshot for basic afterEach#102
3b09bb1
Thanks @unional! - Useconsole.error()
instead ofconsole.info()
when using not supportedpage
method.#102
9534645
Thanks @unional! - Plugin should not set browser.7e63e9e
Thanks @unional! - Fix typo in error message.Updated dependencies [
03893ab
]: