2
私はAngularJS Webアプリケーション用のe2eテストをたくさん用意しています。これは私の現在のprotractor.config.jsファイルです:角度計で1つ以上のe2eテストを除外する方法
// __dirname retuns a path of this particular config file
// assuming that protractor.conf.js is in the root of the project
var basePath = __dirname;
exports.config = {
specs: [
"./Pages/ChartPicker/*.feature",
"./Pages/Chart/*.feature"
],
capabilities: {
"browserName": "chrome"
},
framework : "cucumber",
getPageTimeout : 20000,
allScriptsTimeout : 25000,
params: {
env : "env-not-set",
"env-dev" : {
baseUrl : "http://localhost:9001/"
},
"env-stage" : {
baseUrl : "http://localhost:9020/"
}
},
onPrepare: function() {
// "relativePath" - path, relative to "basePath" variable
global.requirePO = function (relativePath) {
return require(basePath + '\\PageObjects\\' + relativePath + '.po.js');
};
global.requireHelper = function (relativePath) {
return require(basePath + '\\UtilityJS\\' + relativePath + '.js');
};
}
};
どのように私は1つ以上のテストが.featureファイルに含まれて除外することができますか?我々はXIT機能を使用し、当社の分度器試験で