pad.pub0.org/tests/frontend
Richard Hansen c222fc5d0b tests: Change `waitFor()` to check before first sleep
There are a few problems with sleeping before checking the condition
for the first time:

  * It slows down tests.
  * The predicate is never checked if the interval duration is greater
    than the timeout.
  * 0 can't be used to test if the condition is currently true.

There is a minor disadvantage to sleeping before checking: It will
cause more tests to run without an asynchronous interruption, which
could theoretically mask some async bugs.
2020-10-14 10:38:52 +01:00
..
lib tests: Fix frontend tests (#4188), ugly work around for "Pad never loaded" (#4200) 2020-07-28 19:57:33 +01:00
specs tests: Change `waitFor()` to check before first sleep 2020-10-14 10:38:52 +01:00
travis tests: re-enable docker tests in travis (#4395) 2020-10-06 14:21:09 +01:00
helper.js tests: Change `waitFor()` to check before first sleep 2020-10-14 10:38:52 +01:00
index.html tests: Fix frontend tests (#4188), ugly work around for "Pad never loaded" (#4200) 2020-07-28 19:57:33 +01:00
runner.css tests: CSS frontend runner (#4081) 2020-06-04 17:03:25 +01:00
runner.js tests: Fix frontend tests (#4188), ugly work around for "Pad never loaded" (#4200) 2020-07-28 19:57:33 +01:00