protractor-cucumber-framework
Advanced tools
Comparing version 0.3.4 to 0.4.0
var q = require('q'), | ||
path = require('path'), | ||
glob = require('glob'), | ||
assign = require('object-assign'), | ||
debug = require('debug')('protractor-cucumber-framework'), | ||
@@ -16,6 +17,7 @@ Cucumber = require('cucumber'), | ||
exports.run = function(runner, specs) { | ||
var results = {} | ||
var results = {}; | ||
return runner.runTestPreparer().then(function() { | ||
var opts = runner.getConfig().cucumberOpts; | ||
var config = runner.getConfig(); | ||
var opts = assign({}, config.cucumberOpts, config.capabilities.cucumberOpts); | ||
state.initialize(runner, results, opts.strict); | ||
@@ -75,3 +77,3 @@ | ||
// Resolve require absolute path | ||
return path.resolve(configDir, requirePath) | ||
return path.resolve(configDir, requirePath); | ||
}).filter(function(item, pos, orig) { | ||
@@ -78,0 +80,0 @@ // Make sure requires are unique |
@@ -0,0 +0,0 @@ var state = require('./runState'); |
@@ -0,0 +0,0 @@ var state = {}; |
{ | ||
"name": "protractor-cucumber-framework", | ||
"version": "0.3.4", | ||
"version": "0.4.0", | ||
"description": "Protractor framework for Cucumber.js", | ||
@@ -48,4 +48,4 @@ "main": "index.js", | ||
"httpster": "^1.0.1", | ||
"protractor": "^3.0.0" | ||
"protractor": "^3.2.0" | ||
} | ||
} |
@@ -0,0 +0,0 @@ Protractor Cucumber Framework |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10110
173