@@ -58,8 +58,14 @@ workflows:
5858 requires :
5959 - Component Tests
6060 executor : cypress/base-12
61- # each example installs "cypress-react-unit-test" as a local dependency (symlink)
62- install-command : npm install --no-bin-links
61+ install-command : |
62+ ls -la ../..
63+ echo ***Installing cypress-react-unit-test from root TGZ archive***
64+ npm install -D ../../cypress-react-unit-test-0.0.0-development.tgz
65+ echo ***Installing other dependencies***
66+ npm install
67+ echo ***rename root node_modules to avoid accidental dependencies***
68+ mv ../../node_modules ../../no_modules
6369 verify-command : echo 'Already verified'
6470 no-workspace : false
6571 working_directory : examples/using-babel
@@ -71,8 +77,14 @@ workflows:
7177 requires :
7278 - Component Tests
7379 executor : cypress/base-12
74- # each example installs "cypress-react-unit-test" as a local dependency (symlink)
75- install-command : npm install --no-bin-links
80+ install-command : |
81+ ls -la ../..
82+ echo ***Installing cypress-react-unit-test from root TGZ archive***
83+ npm install -D ../../cypress-react-unit-test-0.0.0-development.tgz
84+ echo ***Installing other dependencies***
85+ npm install
86+ echo ***rename root node_modules to avoid accidental dependencies***
87+ mv ../../node_modules ../../no_modules
7688 verify-command : echo 'Already verified'
7789 no-workspace : true
7890 working_directory : examples/using-babel-typescript
@@ -316,21 +328,40 @@ workflows:
316328 requires :
317329 - Component Tests
318330 executor : cypress/base-12
319- # each example installs "cypress-react-unit-test" as a local dependency (symlink)
320- install-command : npm install --no-bin-links
331+ install-command : |
332+ ls -la ../..
333+ echo ***Installing cypress-react-unit-test from root TGZ archive***
334+ npm install -D ../../cypress-react-unit-test-0.0.0-development.tgz
335+ echo ***Installing other dependencies***
336+ npm install
337+ echo ***rename root node_modules to avoid accidental dependencies***
338+ mv ../../node_modules ../../no_modules
321339 verify-command : echo 'Already verified'
322340 no-workspace : true
323341 working_directory : examples/snapshots
324342 command : npm test
325343 store_artifacts : true
344+ post-steps :
345+ - run :
346+ name : Check coverage 📈
347+ command : |
348+ npm run check-coverage
349+ npm run only-covered
350+ working_directory : examples/snapshots
326351
327352 - cypress/run :
328353 name : Visual Sudoku
329354 executor : cypress/base-12
330355 requires :
331356 - Component Tests
332- # each example installs "cypress-react-unit-test" as a local dependency (symlink)
333- install-command : npm install --no-bin-links
357+ install-command : |
358+ ls -la ../..
359+ echo ***Installing cypress-react-unit-test from root TGZ archive***
360+ npm install -D ../../cypress-react-unit-test-0.0.0-development.tgz
361+ echo ***Installing other dependencies***
362+ npm install
363+ echo ***rename root node_modules to avoid accidental dependencies***
364+ mv ../../node_modules ../../no_modules
334365 verify-command : echo 'Already verified'
335366 no-workspace : true
336367 working_directory : examples/visual-sudoku
0 commit comments