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

add visual regression coverage #264

Closed
wants to merge 35 commits into from
Closed
Show file tree
Hide file tree
Changes from 34 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
3cb129b
commit untrack files
Jul 27, 2022
8254532
require jest local storage mock
Jul 27, 2022
e3d0e3d
commit untracked files
Jul 27, 2022
a1788a0
revert previous changes and set up visual regression tests
Jul 28, 2022
50fd776
fix storyshot initialization issues
Jul 28, 2022
95a009f
fix renderhook act mismatch warning
Jul 28, 2022
152116e
fix styling issue
Jul 28, 2022
f1bb473
remove unnecessary installs
Jul 28, 2022
b2a6e44
remove unnecessary configs and installs
Jul 28, 2022
d32a2e7
remove unnecessary storybook config
Jul 28, 2022
b3a14fd
add update snapshot to command
Jul 28, 2022
a85d3ac
remove update snapshot command
Jul 28, 2022
69f0b91
remove local snapshots
Jul 28, 2022
aba181e
Merge branch 'main' into dev/visual-regression-test
Jul 28, 2022
290fe3c
add snapshot
Jul 28, 2022
0bed846
update command line to only include components in storyshot testing a…
Jul 29, 2022
ff823a2
Merge branch 'main' into dev/visual-regression-test
Jul 29, 2022
fa7001d
update snapshot due to preview.js change in main
Jul 29, 2022
32746ce
add combined coverage
Jul 29, 2022
24a4f84
sync package-lock
Jul 29, 2022
79ca399
Revert "add combined coverage"
Aug 1, 2022
fe789a0
change test script name for consistency with other tests in combined …
Aug 2, 2022
e84a3a7
use jest projects to define different configurations for best practice
Aug 2, 2022
c380dd3
correct styling issues
Aug 2, 2022
2dc9a0e
change workflow test script for coverall
Aug 2, 2022
768e7d6
correct test script in workflow
Aug 2, 2022
0b6c17c
update jest config files with a base config and update package.json f…
Aug 2, 2022
8aa7c01
change directory and use base config
Aug 3, 2022
df35d98
change coverage directory
Aug 3, 2022
d51ebe2
use require
Aug 3, 2022
770238e
fix styling and change coverage file path
Aug 3, 2022
46170c4
correct coverage file path
Aug 3, 2022
868d39c
change coverage directory
Aug 3, 2022
f8ad154
remove dom from import and edit stories test match
Aug 3, 2022
6a4e520
script clean up
Aug 3, 2022
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
2 changes: 2 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ jobs:
uses: yext/slapshot-reusable-workflows/.github/workflows/coverage.yml@v1
secrets:
caller_github_token: ${{ secrets.GITHUB_TOKEN }}
with:
test_script: npm run test
1 change: 1 addition & 0 deletions .storybook/main.cjs → .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module.exports = {
'@storybook/addon-essentials',
'@storybook/addon-interactions',
'@storybook/addon-a11y',
'@storybook/addon-storyshots',
{
name: '@storybook/addon-postcss',
options: {
Expand Down
Loading