cypress-nuxt icon indicating copy to clipboard operation
cypress-nuxt copied to clipboard

How to detect that the server has finished initializing before running the tests

Open SirMishaa opened this issue 4 years ago • 0 comments

Good evening,

I started an application with Nuxt. I set up Cypress to perform e2e tests.

The problem is that to run my tests, the server needs to be launched, but since "nuxt-ts" launches the server but the process remains active, so I am not able to detect when the server has finished initializing.

Any idea how I can work around this problem? I haven't seen a Cypress module for Nuxt, but I know that on Vue 2/3, it works fine (https://cli.vuejs.org/core-plugins/e2e-cypress.html)

Thank you

SirMishaa avatar Nov 27 '20 23:11 SirMishaa