End to end tests with Cypress fail when installing this plugin to a fresh project created by vue-cli (using router in history mode and Cypress for tests).
To Reproduce
Steps to reproduce the behavior:
Create new project, select router, (I also usex vuex) and e2e tests with Cypress. (Run yarn test:e2e -- it works)
Add the plugin vue add prerender-spa
Run yarn test:e2e -- tests fail to start (Error: ENOENT: no such file or directory, stat '/Users/uninen/LocalDocuments/Projects/TestProjects/vueclie2etest/dist/app.html')
Run yarn build, then run tests again with yarn test:e2e. Now Cypress starts but the tests fail as the server only show s blank page.
I also recreated the issue with a new blank project, the issue was identical. If I disable the plugin, tests start to work again.
Expected behavior
Tests should work after installing the plugin.
Describe the bug
End to end tests with Cypress fail when installing this plugin to a fresh project created by vue-cli (using router in history mode and Cypress for tests).
To Reproduce Steps to reproduce the behavior:
yarn test:e2e
-- it works)vue add prerender-spa
yarn test:e2e
-- tests fail to start (Error: ENOENT: no such file or directory, stat '/Users/uninen/LocalDocuments/Projects/TestProjects/vueclie2etest/dist/app.html'
)yarn build
, then run tests again withyarn test:e2e
. Now Cypress starts but the tests fail as the server only show s blank page.I also recreated the issue with a new blank project, the issue was identical. If I disable the plugin, tests start to work again.
Expected behavior Tests should work after installing the plugin.
Additional context Package version: 3.2.1 Vue version: 2.6.11 Vue CLI version: 4.2.2 @vue/cli-plugin-e2e-cypress: 4.2.0