You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I am running code coverage by myself locally and although there are scripts for it , there are still some problems if someone else would like to run it and the process takes about 2-3 hours drastically slowing down the computer its ran on:
Stream details page redirects won't work in build mode so dev mode has to be used to have a smaller test run
Gnosis safe connection tests won't work because chromeWebSecurity has to be set to false for a specific test run
All of the networks will not be covered, because it would require to run the tests per network
To eleviate the pain it would be great to have a workflow which would:
— build app with shouldInstrumentCode enabled
— deploy instrumented build to netlify
— save in previous step output or get the url for the cypress tests to run on
— run the test cases we are usually running with some minimal changes to add the coverage
— rename and save code coverage report json artifact
— download all code coverage report jsons
— merge jsons together
— generate html nyc report
— save html folder as an artifact to download
Not 100% sure it would work on a deployed version, but a quick spike to see if its possible would be nice
The text was updated successfully, but these errors were encountered:
Currently I am running code coverage by myself locally and although there are scripts for it , there are still some problems if someone else would like to run it and the process takes about 2-3 hours drastically slowing down the computer its ran on:
Stream details page redirects won't work in build mode so dev mode has to be used to have a smaller test run
Gnosis safe connection tests won't work because chromeWebSecurity has to be set to false for a specific test run
All of the networks will not be covered, because it would require to run the tests per network
To eleviate the pain it would be great to have a workflow which would:
— build app with shouldInstrumentCode enabled
— deploy instrumented build to netlify
— save in previous step output or get the url for the cypress tests to run on
— run the test cases we are usually running with some minimal changes to add the coverage
— rename and save code coverage report json artifact
— download all code coverage report jsons
— merge jsons together
— generate html nyc report
— save html folder as an artifact to download
Not 100% sure it would work on a deployed version, but a quick spike to see if its possible would be nice
The text was updated successfully, but these errors were encountered: