Protractor ,Jasmine timeout issue

后端 未结 6 1692
情书的邮戳
情书的邮戳 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 03:09

    Set in your config file eg:

    exports.config = {
       seleniumAddress: 'http://localhost:4444/wd/hub',
       suites: require('./Suites.js'),
    
       capabilities: {
          browserName: 'chrome'
       },
    
       jasmineNodeOpts: {
         showColors: true,
         defaultTimeoutInterval: 360000
       },
    
       allScriptsTimeout: 360000, 
    };
    

提交回复
热议问题