File tree 2 files changed +12
-3
lines changed
2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -46,12 +46,21 @@ jobs:
46
46
with :
47
47
node-version : " 18.x"
48
48
cache : ' pnpm'
49
- - run : pnpm install && cd ./examples/webpack && pnpm cypress install
49
+ - run : pnpm install && cd ./examples/webpack && pnpm cypress install && cd ../next && pnpm cypress install
50
+ - run : cd ./examples/webpack && pnpm cypress install
51
+ - run : cd ./examples/next && pnpm cypress install
50
52
- run : pnpm --filter cypress-plugin-visual-regression-diff -r build
51
53
- name : Test e2e
52
54
run : pnpm test:e2e:ci
53
55
- name : Test component-testing
54
56
run : pnpm test:ct:ci
57
+ - uses : actions/upload-artifact@v3
58
+ with :
59
+ name : test
60
+ path : |
61
+ examples/next/**/*.png
62
+ examples/next/**/*.jpg
63
+ examples/next/**/*.jpeg
55
64
56
65
test-integration-coverage :
57
66
name : test-integration-coverage
Original file line number Diff line number Diff line change 4
4
"dev" : " next dev" ,
5
5
"build" : " next build" ,
6
6
"start" : " next start" ,
7
- "cypress" : " cypress open --env \" pluginVisualRegressionImagesPath={spec_path}/__image_snapshots_local__\" " ,
8
- "cypress:ci" : " cypress run --env \" pluginVisualRegressionImagesPath={spec_path}/__image_snapshots_local__ \" " ,
7
+ "cypress" : " cypress open --env \" pluginVisualRegressionUpdateImages=true, pluginVisualRegressionImagesPath={spec_path}/__image_snapshots_local__\" " ,
8
+ "cypress:ci" : " cypress run --env \" pluginVisualRegressionUpdateImages=true \" " ,
9
9
"test:e2e" : " start-server-and-test dev http://localhost:3000 \" pnpm cypress --e2e\" " ,
10
10
"test:e2e:ci" : " start-server-and-test dev http://localhost:3000 \" pnpm cypress:ci --e2e\" " ,
11
11
"test:ct" : " start-server-and-test dev http://localhost:3000 \" pnpm cypress --component\" " ,
You can’t perform that action at this time.
0 commit comments