Is it possible to run Protractor Test Suites in Parallel?

此生再无相见时 提交于 2021-01-07 03:18:31

问题


I have protractor config file :

exports.config = {
  suites: {
    BVT : 'e2e/TestSuites/_BVT/*.js',
    Full : 'e2e/TestSuites/Full/**/*.js',
    Smoke : 'e2e/TestSuites/Smoke/*.js',
        Login1 : 'e2e/TestSuites/Login/*.js'
            };
  capabilities: {
     'browserName': 'chrome',
     shardTestFiles: true,
     maxInstances: 3
      };
};

I have tried above but my Test Suite doe not run in parallel, is it possible to run BVT, Full and Smoke Test suites in parallel on chrome browser.


回答1:


Yes possible for sure. Take a look how i am running regression and sanity in the suites.

protractor Test/config.js --suites regression,sanity



来源:https://stackoverflow.com/questions/60569990/is-it-possible-to-run-protractor-test-suites-in-parallel

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!