Cypress tests are failing because the frontend:build is failing
npm run build
> @civicactions/data-catalog-app@1.0.3 build
> react-scripts build
Creating an optimized production build...
Failed to compile.
./src/theme/index.scss
Error: Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (93)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.14.1
Switching to a version of data-catalog-app that uses sass rather than node-sass, allows the build to complete
But--- then the tests fail due to this
Treating warnings as errors because process.env.CI = true.
Most CI servers set it automatically.
So adding the CI=false allows test to not fail on warnings, AND adding wait so that the final test can finish before the tear down starts.
Cypress tests are failing because the frontend:build is failing
Switching to a version of data-catalog-app that uses sass rather than node-sass, allows the build to complete
But--- then the tests fail due to this
So adding the CI=false allows test to not fail on warnings, AND adding
wait
so that the final test can finish before the tear down starts.