Closed AresDev closed 7 years ago
To run your e2e tests, you have to be running the Ionic server, i.e. ionic serve
, at the same time.
Just load up a new terminal window and run the command then run your e2e tests.
Excellent, thank you!
You can also refer to: https://github.com/lathonez/clicker/blob/master/protractor.conf.js#L26.
This will handle serving the Ionic app. So you can do your testing without any worries.
NOTE: Don't forget to install 'connect' and 'serve-static' packages from npm.
I get an error executing e2e the following error:
Can you tell me what I am doing wrong?
Thanks!