69c7033a86
* don't include sendkeys in index.html as it's included in helper.init mocha opts: add default timeout and replace ignoreLeaks with checkLeaks, as the former is deprecated * introduce helper.edit to write to a pad * add test to check if helper.edit() supports line numbers * helper tests: waitFor/waitForPromise seem to be a little bit faster sometimes * tests: refactor chat.js * tests: refactor timeslider_numeric_padID * tests: refactor timeslider_labels * tests: refactor timeslider_follow * ensure followContents is enabled, although it should be by default * timeslider_follow: increase number of revision for Edge * make textLines() depend on linesDiv() Co-authored-by: Richard Hansen <rhansen@rhansen.org> * make linesDiv return standard Array * use `contain` instead of `indexOf` * more fixes from the review * review fixes * align waitFor and waitForPromise behaviour * timeslider_follow: check if it's following to the correct lines * lower expected waitFor/waitForPromise interval check * disable responsivness and regression test in timeslider_follow * timeslider_follow: fix Range detection * more explicit test for linesDiv Co-authored-by: Richard Hansen <rhansen@rhansen.org>
26 lines
759 B
HTML
26 lines
759 B
HTML
<!doctype html>
|
|
<html>
|
|
<title>Frontend tests</title>
|
|
<meta charset="utf-8">
|
|
|
|
<link rel="stylesheet" href="runner.css" />
|
|
|
|
<div id="console"></div>
|
|
<div id="mocha"></div>
|
|
<div id="iframe-container"></div>
|
|
|
|
<script src="/static/js/jquery.js"></script>
|
|
<script src="/static/js/browser.js"></script>
|
|
<script src="lib/underscore.js"></script>
|
|
|
|
<script src="lib/mocha.js"></script>
|
|
<script> mocha.setup({ui: 'bdd', checkLeaks: true, timeout: 60000}) </script>
|
|
<script src="lib/expect.js"></script>
|
|
|
|
<script src="helper.js"></script>
|
|
<script src="helper/methods.js"></script>
|
|
<script src="helper/ui.js"></script>
|
|
|
|
<script src="specs_list.js"></script>
|
|
<script src="runner.js"></script>
|
|
</html>
|