Protractor ,Jasmine timeout issue

后端 未结 6 2223
灰色年华
灰色年华 2021-02-10 02:44

I\'m doing e2e-testing with Protractor and Jasmine. Our application is in Angular.

I have written given getPageTimeout: 500000, allScriptsTimeout: 600

6条回答
  •  我在风中等你
    2021-02-10 02:51

    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.

提交回复
热议问题