0

如何在量角器中运行套件。这是我的配置文件:

exports.config = {
       seleniumAddress: 'http://localhost:4444/wd/hub',

       suites:
       {
         one: ['test.js'],
         two: ['homePageSpec.js']
       },

       onPrepare: function () {
           browser.driver.manage().window().setSize(1180, 900);

       },
   }

我试过量角器 ProtractorConf.js --suite one

4

1 回答 1

1

我删除了方括号,它起作用了。像:

suites:
       {
         one: 'test.js',
         two: 'homePageSpec.js'
       },
于 2017-05-11T15:48:24.877 回答