mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
-Add parallel multi browser protractor configuration. -Add screenshot reports. -Add fail fast helper.
11 lines
255 B
JavaScript
11 lines
255 B
JavaScript
// https://github.com/angular/protractor/issues/499
|
|
|
|
module.exports = function FailFast() {
|
|
var passed = jasmine.getEnv().currentSpec.results().passed()
|
|
if (!passed) {
|
|
jasmine.getEnv().specFilter = function (spec) {
|
|
return false
|
|
}
|
|
}
|
|
}
|