javascript - How can we run specs in separate environments using Protractor -



javascript - How can we run specs in separate environments using Protractor -

is there way can run specs in different environments. perhaps, configuration in protractor-config file?

doing like

specs: ['../tests/*.js', server1], ['../more_tests/*.js', server2]

in configuration.

i don't know mean "separate environment". if want run different specs based on different capabilities, how:

exports.config = { specs: [ 'basic/*' // specs shared amongst capabilities ], multicapabilities: [{ 'browsername': 'chrome', // can specify version, etc // uses 'basic/*' }, { 'browsername': 'chrome', // can specify version, etc specs: 'basic2/*' // 'basic/*' , 'basic2/*' }, { 'browsername': 'firefox', // can specify version, etc specs: 'basic3/*' // 'basic/*' , 'basic3/*' }] };

javascript node.js angularjs mocha protractor

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -