Undonered with Quasar
When running in dev you should also run the backend. When running in production its possible that the server is not running.
npm install -g @quasar/cli
npm install -g cordova
yarn
quasar dev
$ quasar dev -m cordova -T [ios|android]
# ..or the longer form:
$ quasar dev --mode cordova -T [ios|android]
# using a specific emulator (--emulator, -e)
$ quasar dev -m cordova -T ios -e iPhone-7
# or
$ quasar dev -m cordova -T ios -e iPhone-X,com.apple.CoreSimulator.SimRuntime.iOS-12-2
# passing extra parameters and/or options to
# underlying "cordova" executable:
$ quasar dev -m ios -- some params --and options --here
yarn run lint
quasar build
For this to work the application needs to be running locally in development (quasar) and the server locally in the test environment (See README.md in the server) (Command is something like: 'docker-compoe -f docker-compose.testfrontend.yml up')
yarn run test:e2e
Or
yarn run test:e2e:CI
You can also install cypress and see the test running visually
- Install cypress
npm i -g cypress
- Open cypress PASOP de frontend moet nu ook aanstaan 'quasar dev'
cypress open
See technical_document.md
See funcitnal_design.md