pad.libre-service.eu-etherpad/tests/frontend/specs
webzwo0i 69c7033a86
tests: refactor some frontend tests (#4408)
* 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>
2020-10-21 18:43:17 +01:00
..
alphabet.js formatting: bulk remove trailing whitespaces on frontend tests 2020-03-24 23:24:38 +01:00
authorship_of_editions.js tests: make sure author is switched on authorship test 2018-09-02 13:10:27 +02:00
bold.js tests: use helper for evttype to reduce duplicate code 2020-03-24 23:24:38 +01:00
caret.js cruft: Remove unecessary consolelogs (#4141) 2020-06-27 20:12:06 +01:00
change_user_color.js tests: fix change_ser_color, force color author to be on 2020-04-19 03:03:44 +02:00
change_user_name.js formatting: bulk remove trailing whitespaces on frontend tests 2020-03-24 23:24:38 +01:00
chat.js tests: refactor some frontend tests (#4408) 2020-10-21 18:43:17 +01:00
chat_load_messages.js formatting: bulk remove trailing whitespaces on frontend tests 2020-03-24 23:24:38 +01:00
clear_authorship_colors.js cruft: Remove unecessary consolelogs (#4141) 2020-06-27 20:12:06 +01:00
delete.js tests: refactor some frontend tests (#4408) 2020-10-21 18:43:17 +01:00
drag_and_drop.js [fix] Fix drag and drop tests for IE 2017-02-03 06:47:33 -02:00
embed_value.js tests: Embed test fix (#4020) 2020-05-27 16:54:20 +01:00
enter.js formatting: bulk remove trailing whitespaces on frontend tests 2020-03-24 23:24:38 +01:00
font_type.js tests: fix font select test 2020-06-03 10:34:13 +00:00
helper.js tests: refactor some frontend tests (#4408) 2020-10-21 18:43:17 +01:00
importexport.js formatting: bulk remove trailing whitespaces on frontend tests 2020-03-24 23:24:38 +01:00
importindents.js formatting: bulk remove trailing whitespaces on frontend tests 2020-03-24 23:24:38 +01:00
indentation.js tests: use helper for evttype to reduce duplicate code 2020-03-24 23:24:38 +01:00
italic.js tests: use helper for evttype to reduce duplicate code 2020-03-24 23:24:38 +01:00
language.js Update frontend language tests for new keyboard shortcut convention 2014-10-14 18:46:12 +05:30
multiple_authors_clear_authorship_colors.js tests: authorship test fix (#4001) 2020-05-27 16:55:14 +01:00
ordered_list.js cruft: Remove unecessary consolelogs (#4141) 2020-06-27 20:12:06 +01:00
pad_modal.js tests: Safari test fixes 2020-05-28 22:37:34 +01:00
redo.js cruft: Remove unecessary consolelogs (#4141) 2020-06-27 20:12:06 +01:00
responsiveness.js tests: refactor some frontend tests (#4408) 2020-10-21 18:43:17 +01:00
select_formatting_buttons.js tests: remove another setTimeout for Edge tests.. 2020-05-29 21:06:38 +01:00
strikethrough.js formatting: bulk remove trailing whitespaces on frontend tests 2020-03-24 23:24:38 +01:00
timeslider.js formatting: bulk remove trailing whitespaces on frontend tests 2020-03-24 23:24:38 +01:00
timeslider_follow.js tests: refactor some frontend tests (#4408) 2020-10-21 18:43:17 +01:00
timeslider_labels.js tests: refactor some frontend tests (#4408) 2020-10-21 18:43:17 +01:00
timeslider_numeric_padID.js tests: refactor some frontend tests (#4408) 2020-10-21 18:43:17 +01:00
timeslider_revisions.js allowing longer for FF to do timeslider rev test 2020-09-27 21:44:43 +01:00
undo.js tests: use helper for evttype to reduce duplicate code 2020-03-24 23:24:38 +01:00
unordered_list.js cruft: Remove unecessary consolelogs (#4141) 2020-06-27 20:12:06 +01:00
urls_become_clickable.js Change everywhere the link to https://etherpad.org (it was plain http) 2019-04-16 00:54:54 +02:00
xxauto_reconnect.js Another change to the test name to make it run last... 2020-05-29 18:27:16 +01:00