Code of Testing a Nuxt.js application using WebdriverIO tutorial: learn how to test a Nuxt.js app with WebdriverIO following the Page Object pattern and set up Continuous Integration with TravisCI using WebdriverIO hooks.
# install dependencies
$ yarn install
# serve with hot reload at localhost:3000
$ yarn dev
# build for production and launch server
$ yarn build
$ yarn start
# generate static project
$ yarn generate
👉🏻 To speed up tests execution during development run the dev server in another terminal executing yarn dev
.
To execute tests run
yarn test:e2e
For detailed explanation on how things work, check out Nuxt.js docs.