Ever since moving to Angular 6, I've noticed that ng e2e
is no longer able to run on an available port like it used to. In the past, when we were using Angular 4, the app service would be on port 4200 and running ng e2e
would automatically select a free port (such as 49152) for testing.
However, after upgrading to Angular 6, trying to perform tests in the same setup results in an error message stating "Port 4200 is already in use". It seems like something went wrong during the upgrade process.
I'm hesitant to manually specify a port number using --port {port number}
for CI purposes, as hardcoding ports can create issues with parallel executions in CI. Should I consider modifying the configuration settings following the upgrade to Angular 6?