I'm doing e2e and bdd tests using Angular 5, Protractor and Cucumber. When I run on terminal ng e2e
I get the following error:
When I open the page # e2e\steps\home.steps.ts:15
Error: function timed out, ensure the promise resolves within 5000 milliseconds
In the line 15, I have:
When(/^I open the page$/, async () => {
await browser.get('http://localhost:49156');
});
Specifically, it is the line:
When(/^I open the page$/, async () => {