0๐
โ
I needed to add the following two lines to the e2e test. Iโm not yet quite sure why it works, but it does. ignoreSynchronization also seems to be deprecated, so noting that too.
it('should display menu bar', () => {
browser.sleep(5000); //added
browser.ignoreSynchronization = true; //added
expect(browser.getCurrentUrl()).toEqual(`${URL}/admin/dashboard`);
});
Source:stackexchange.com