Is there a way to speed up AngularJS protractor tests?

后端 未结 7 501
孤城傲影
孤城傲影 2021-01-31 05:10

I have created tests for my application. Everything works but it runs slow and even though only 1/3 of the application is tested it still takes around ten minutes for protrator

7条回答
  •  伪装坚强ぢ
    2021-01-31 05:54

    We currently use "shardTestFiles: true" which runs our tests in parallel, this could help if you have multiple tests.

    I'm not sure what you are testing here, whether its the data creation or the end result. If the latter, you may want to consider mocking the data creation instead or bypassing the UI some other way.

提交回复
热议问题