Permalink
Browse files

Making tests more reliable on first run.

  • Loading branch information...
1 parent 0e69ece commit 22052357e9ce41df5dd3d462c5042a89656d002d @MattiSG committed Jul 6, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 test/model/WidgetTest.js
View
@@ -90,6 +90,8 @@ describe('Widget', function() {
});
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) {
presence.should.not.be.ok;
done();

0 comments on commit 2205235

Please sign in to comment.