mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
-Add shell e2e test.
-Add parallel multi browser protractor configuration. -Add screenshot reports. -Add fail fast helper.
This commit is contained in:
10
res/test/e2e/helpers/fail-fast.js
Normal file
10
res/test/e2e/helpers/fail-fast.js
Normal file
@@ -0,0 +1,10 @@
|
||||
// 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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user