Recently started to use Cypress
and @cypress/vue
, my component tests run ok on local environment by script below:
"cy:run-ct": "cypress run-ct"
My project is hosted by Amplify console
and I wanted to run them (component tests not e2e tests) on each deploy, so tried to add yarn cy:run-ct
to amplify.yml
:
frontend:
phases:
preBuild:
commands:
- yarn install
- yarn test
- yarn cy:run-ct
which gives me an error The cypress npm package is installed, but the Cypress binary is missing
.
Anyone managed to run-ct
on Amplify console? Or is it not supported yet?