Skip to content

Commit

Permalink
Set large default timeout interval in Jasmine
Browse files Browse the repository at this point in the history
The (sole!) Protractor e2e test was failing with a timeout, but
otherwise OK. Following a suggestion in
<angular/protractor#2963>, set a large default
timeout interval. The test now passes (at least, in vagrant development
env).
  • Loading branch information
brianritchie1312 committed Dec 12, 2017
1 parent 08f9b97 commit e4ee58e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions yo/test/protractor.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ exports.config = {
// with relative paths will be prepended with this.
baseUrl: 'http://localhost:8080',

// jasmineNodeOpts: {
// Possible fix for arbitrary timeout failures?
// See <https://github.com/angular/protractor/issues/2963>
jasmineNodeOpts: {
// onComplete: null,
// isVerbose: true,
// showColors: true,
// includeStackTrace: true,
// defaultTimeoutInterval: 600000
// }
defaultTimeoutInterval: 2500000
}
};

0 comments on commit e4ee58e

Please sign in to comment.