Skip to content
This repository has been archived by the owner on Apr 23, 2020. It is now read-only.

Commit

Permalink
Making tests more reliable on first run.
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiSG committed Jul 6, 2012
1 parent 0e69ece commit 2205235
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/model/WidgetTest.js
Expand Up @@ -90,6 +90,8 @@ describe('Widget', function() {
}); });


it('should say that a missing element is not present', function(done) { it('should say that a missing element is not present', function(done) {
this.timeout = 8 * 1000; // since this raises an error, the Selenium server lags the first time

subject.has('missing').then(function(presence) { subject.has('missing').then(function(presence) {
presence.should.not.be.ok; presence.should.not.be.ok;
done(); done();
Expand Down

0 comments on commit 2205235

Please sign in to comment.