最近开始使用Cypressand @cypress/vue,我的组件测试通过以下脚本在本地环境中运行正常:
“cy:run-ct”:“柏树运行-ct”
我的项目由托管Amplify console,我想在每次部署时运行它们(组件测试而不是 e2e 测试),因此尝试添加yarn cy:run-ct到amplify.yml:
frontend:
phases:
preBuild:
commands:
- yarn install
- yarn test
- yarn cy:run-ct
这给了我一个错误The cypress npm package is installed, but the Cypress binary is missing。
有人设法run-ct使用 Amplify 控制台吗?还是还不支持?