Permalink
Browse files

fix(browserstack): increase default timeout to 30s to allow for the s…

…creenshots to be downloaded fro

affects: serenity-js

This is a temporary patch to address #34, a configurable version is on the way.
  • Loading branch information...
jan-molak committed Mar 31, 2017
1 parent 1fa524f commit d0fa17e443c123b1ca9724bd0a5388569ac7b280
@@ -3,5 +3,5 @@ import { serenity } from '../index';
// wait for any tasks outstanding after the previous scenario
// see https://github.com/angular/protractor/issues/4087
export = function() {
this.Before({timeout: 10 * 1000}, () => serenity.stageManager().waitForNextCue());
this.Before({timeout: 30 * 1000}, () => serenity.stageManager().waitForNextCue());
};
@@ -3,6 +3,6 @@ import { serenity } from '../index';
// wait for any tasks outstanding after the previous scenario
// see https://github.com/angular/protractor/issues/4087
beforeEach(function() {
this.timeout(10 * 1000);
this.timeout(30 * 1000);
return serenity.stageManager().waitForNextCue();
});

0 comments on commit d0fa17e

Please sign in to comment.