protractor
Advanced tools
Comparing version 0.20.0 to 0.20.1
@@ -0,1 +1,10 @@ | ||
# 0.20.1 | ||
_Note: Major version 0 releases are for initial development, and backwards incompatible changes may be introduced at any time._ | ||
## Bug Fixes | ||
- ([17de697](https://github.com/angular/protractor/commit/17de697fe9f64e238a8df0fbc6358b8e578e45f2 | ||
fix(debug): make new debug work on windows too | ||
Closes #580 | ||
# 0.20.0 | ||
@@ -2,0 +11,0 @@ _Note: Major version 0 releases are for initial development, and backwards incompatible changes may be introduced at any time._ |
@@ -37,3 +37,3 @@ /** | ||
fn.call(jasmine.getEnv().currentSpec); | ||
}).then(seal(done), function(e) { | ||
}, 'asynchronous test function').then(seal(done), function(e) { | ||
e.stack = driverError.stack + '\nAt async task:\n ' + e.stack; | ||
@@ -40,0 +40,0 @@ done(e); |
@@ -933,3 +933,3 @@ var url = require('url'); | ||
debugger; | ||
}); | ||
}, 'add breakpoint to control flow'); | ||
}; | ||
@@ -936,0 +936,0 @@ |
@@ -22,7 +22,8 @@ var protractor = require('./protractor'), | ||
if (config.v8Debug) { | ||
process.kill(process.pid, 'SIGUSR1'); | ||
// Call this private function instead of sending SIGUSR1 because Windows. | ||
process._debugProcess(process.pid); | ||
} | ||
if (config.nodeDebug) { | ||
process.kill(process.pid, 'SIGUSR1'); | ||
process._debugProcess(process.pid); | ||
var flow = webdriver.promise.controlFlow(); | ||
@@ -38,3 +39,3 @@ | ||
}); | ||
}); | ||
}, 'start the node debugger'); | ||
flow.timeout(1000, 'waiting for debugger to attach'); | ||
@@ -61,3 +62,3 @@ } | ||
self.runTestPreparers_(); | ||
}).then(function() { | ||
}, 'run test preparers').then(function() { | ||
var jasmineNodeOpts = self.config_.jasmineNodeOpts; | ||
@@ -110,3 +111,3 @@ var originalOnComplete = self.config_.onComplete; | ||
self.runTestPreparers_(); | ||
}).then(function() { | ||
}, 'run test preparers').then(function() { | ||
@@ -179,3 +180,3 @@ specs.forEach(function(file) { | ||
self.runTestPreparers_(); | ||
}).then(function() { | ||
}, 'run test preparers').then(function() { | ||
@@ -182,0 +183,0 @@ cucumber.run(function(succeeded) { |
@@ -49,3 +49,3 @@ { | ||
"license": "MIT", | ||
"version": "0.20.0", | ||
"version": "0.20.1", | ||
"webdriverVersions": { | ||
@@ -52,0 +52,0 @@ "selenium": "2.40.0", |
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
393794
185
4249