Protractor ,Jasmine timeout issue

后端 未结 6 1695
情书的邮戳
情书的邮戳 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:01

    Try adding below code, jasmine default time 5 sec. The below code will wait for all test cases to complete it task & working fine for me. jasmine.getEnv().defaultTimeoutInterval =15000;

    onPrepare: function(){
    jasmine.getEnv().defaultTimeoutInterval =your time to set in milli second;
    }
    

提交回复
热议问题