Reputation: 4340
I want to run the the angular cli's ng e2e
tests against a web application that is being served by someone else (other than angular cli). How do I specify the host and port of the application?
Upvotes: 3
Views: 2191
Reputation: 3731
You can specify in your config, and then override on the cli...
protractor conf.js --baseUrl https://adomain.com
Upvotes: 5
Reputation: 4340
Found it. It's specified in the protractor.conf.js
file at the root of the angular project:
baseUrl: 'http://localhost:8080/',
Upvotes: 5