![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@gooddata/test-storybook
Advanced tools
Visual regression testing for Storybook
Visual regression testing for Storybook with automatically found test scenarios
Note: Run screenshots tests only on CI to ensure the same environment (platform, browser, display pixel density, etc.)
stories/
folder both in *.jsx
or *.tsx
yarn add --dev @gooddata/test-storybook
"test-storybook": "test-storybook"
into "scripts"
section in your package.json
.gitignore
file:
test-storybook/
test-storybook/
folderimport { screenshotWrap } from '@gooddata/test-storybook';
in your stories and wrap elements that you want to test in the function. -r
parameter, i.e. yarn test-storybook -r
. These will be discarded later and replaced with CI outputs.yarn test-storybook
from the root of your repository in which you want to test Storybook.extended test - storybook
.
The link to CI html report appears in GitHub PR commenthttps://ci.intgdc.com/job/.../123/artifact/test-storybook/tests/
stories/__screenshots__/
folder with new oneFor some scenarios you may need to add specific backstopjs options. All advanced options are available.
Add this section to packages.json
:
"test-storybook": {
"<section name>": {
"<scenario name>": {
"delay": 1000,
"removeSelectors": ".removeRandomValueElement",
"hoverSelector": ".hoverOverThisElementBeforeScreenshot"
}
}
}
git checkout master && git pull upstream master
npm version [major|minor|patch]
git commit -am "test-storybook - Release v[your_version]"
npm publish
git push upstream master
yarn test
yarn validate
FAQs
Visual regression testing for Storybook
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
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.