I\'m doing e2e-testing with Protractor and Jasmine. Our application is in Angular.
I have written given getPageTimeout: 500000
, allScriptsTimeout: 600
For people running in this issue only when using Internet Explorer as test browser try to force a new clean session every test:
protractor-conf.js
{"browserName": "internet explorer",
"ie.forceCreateProcessApi": true,
"ie.browserCommandLineSwitches": "-private",
"ie.ensureCleanSession": "true",
"seleniumAddress": 'http://10.0.1.XXX:4444/wd/hub'
}
Ensure that TabProcGrowth" = dword: 00000000
in Path HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main
is set.