Good morning!
I'm having some issues while running TestCafé on Internet Explorer over a local Angular app.
What I found is that Internet Explorer is hogging resources. It starts to slow down to the point that the browser displays a message along the lines of "There's a script that is slowing down the page" and it gives the option to stop the script or to keep it running.
The browser hangs and when it happens, it displays this error:
√ TC 24947
× TC 24958
1) - Error in fixture.beforeEach hook -
Error on page "http://localhost:4200":
SecurityError
Browser: IE 11.0.0 / Windows 10.0.0
15 | this.title = Selector('#breadcrumb-title');
16 | }
17 |
18 | async login (username,password,landingPage) {
19 | await t
> 20 | .typeText(this.loginInput, username)
21 | .typeText(this.passwordInput, password)
22 | .click(this.signInButton)
23 | .expect(getPageUrl()).contains(landingPage, timeout)
24 | .maximizeWindow();
25 | }
at <anonymous> (C:\...\page-models\page.js:20:14)
at Page.login (C:\...\page-models\page.js:18:49)
at <anonymous> (C:\...\UIValidation.js:63:14)
at fixture.page.before.after.beforeEach (C:\...\UIValidation.js:49:1)
√ TC 24960
√ TC 24961
Then it keeps going for a while and fails again with the same error.
Do you know what is going on?
I have a particular setup and I don't know if my code is causing the problem. There are no issues with Chrome, Firefox nor Opera.
Thanks!