Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@gooddata/test-storybook
Advanced tools
Visual regression testing for Storybook
Visual regression testing for Storybook
Note: Run screenshots tests only on CI to ensure the same environment (platform, browser, display pixel density, etc.)
Preparing environment:
yarn global add slimerjs@0.10.3
Gecko MaxVersion
property in your
~/.config/yarn/global/node_modules/slimerjs/src/application.ini
filePreparing repository where you want to test Storybook:
stories/
folderdist-storybook/
folderyarn add --dev @gooddata/test-storybook
.gitignore
file:
test-storybook/
!test-storybook/references/
test-storybook/
folderimport { SCREENSHOT_WRAPPER_CLASS } from '@gooddata/test-storybook';
in your stories and add SCREENSHOT_WRAPPER_CLASS
className for elements that you want to testRunning tests:
Run test-storybook
from the root of your repository in which you want to test Storybook. You should specify some parameters:
-p [value]
run Grizzly with Storybook on port different than 9001-r
generate reference screenshotsTo run tests via GitHub comment you should type extended test - storybook
into GitHub PR comment
The link to CI html report appears in GitHub PR comment
If you want to change some reference screenshot:
test-storybook/references/
folder with new oneyarn test
yarn validate
FAQs
Visual regression testing for Storybook
The npm package @gooddata/test-storybook receives a total of 22 weekly downloads. As such, @gooddata/test-storybook popularity was classified as not popular.
We found that @gooddata/test-storybook demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 58 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.