Protractor ,Jasmine timeout issue

后端 未结 6 2229
灰色年华
灰色年华 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 03:06

    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, 
    };
    

提交回复
热议问题