Permalink
Browse files

FBTest: use timeout to fix test-bot failure

  • Loading branch information...
1 parent 4cabe93 commit 6fb6ddaeb31dd6e56ca5a7ff43e1888ff27aed9b @janodvarko janodvarko committed Oct 9, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 tests/content/script/2279/errorBreakpoints.js
@@ -20,6 +20,7 @@ function runTest()
// toggle breakpoint
FBTest.click(errBP);
+ // xxxHonza: the timeout is a hack (but should fix test-bot failure)
setTimeout(function()
{
// test checked
@@ -32,7 +33,7 @@ function runTest()
FBTest.ok(!hasClass(objBox, "breakForError"), "Must be unchecked again");
FBTest.testDone();
});
- });
+ }, 2000);
});
FBTest.progress("waiting for an error to appear");

0 comments on commit 6fb6dda

Please sign in to comment.