Protractor ,Jasmine timeout issue

后端 未结 6 1694
情书的邮戳
情书的邮戳 2021-02-10 02:10

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:47

    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.

提交回复
热议问题