0👍
I seem to have found an answer
- Use pm2 process manager, yarn add pm2 –dev
- Run build for you application which creates the dist folder
- Use the node scripts below
"test:cucumber": "cucumber-js –require ./cucumber.js –require .//step-definitions/**/*.js ",
"delete-pm2": "pm2 delete all",
"test:playwright": "pm2 serve dist 8080 –spa && npm run test:cucumber && npm run delete-pm2"
Then run
yarn test:playwright
- [Vuejs]-Json response renders undefined in console, vue.js
- [Vuejs]-How can I write parameters into ApexChart in Vue.js via props?
Source:stackexchange.com