Commit graph

534 commits

Author SHA1 Message Date
John McLear
e5d80a0696 lint and timeouts for instance.js 2021-01-27 20:45:23 +00:00
John McLear
8fff1db4d0 lint and timeouts for importexport.js 2021-01-27 20:33:36 +00:00
John McLear
02bb5a5b73 lint and timeouts for chat.js 2021-01-27 20:30:15 +00:00
John McLear
f4eeb59b86 line and timeouts for characterEncoding.js 2021-01-27 20:29:14 +00:00
John McLear
103e3398ad api.js lint and timeouts 2021-01-27 20:19:48 +00:00
John McLear
ff71e41812 test timeouts for promises.js 2021-01-27 20:14:22 +00:00
John McLear
28617ee9d0 timeout for contentcollector.js 2021-01-27 20:13:04 +00:00
John McLear
7696ec0a02 Merge branch 'develop' of github.com:ether/etherpad-lite into mochawesome 2021-01-27 20:11:53 +00:00
John McLear
96d9a40b04 timeout values and low hanging lint for hooks.js 2021-01-27 20:09:05 +00:00
John McLear
0c9a19bd1b longer timeouts 2021-01-27 05:59:01 +00:00
John McLear
14c2987afc longer timeouts 2021-01-27 05:50:17 +00:00
John McLear
4c825d3060 longer timeouts 2021-01-27 05:48:09 +00:00
John McLear
55ac85473c more realistic timeouts for slower devices 2021-01-27 05:43:48 +00:00
John McLear
5d276944a8 more realistic timeouts for slower devices 2021-01-27 05:38:29 +00:00
John McLear
21736122a0 more realistic timeouts for slower devices 2021-01-27 05:37:54 +00:00
John McLear
2816820785 more realistic timeouts for slower devices 2021-01-27 05:24:33 +00:00
John McLear
928f1ef8ce more realistic timeouts for slower devices 2021-01-27 05:23:33 +00:00
John McLear
53708e69eb more realistic timeouts for slower devices 2021-01-27 05:23:05 +00:00
John McLear
a6406663f4 more realistic timeouts for slower devices 2021-01-27 05:22:24 +00:00
John McLear
929859042c more realistic timeouts for slower devices 2021-01-27 05:19:04 +00:00
John McLear
01ac40dc56 more realistic timeouts for slower devices 2021-01-27 05:15:44 +00:00
John McLear
88d99c0d60 more realistic timeouts for slower devices 2021-01-27 05:15:17 +00:00
Richard Hansen
56f617060a tests: Fix missing call to done callback 2021-01-27 04:59:36 +00:00
Richard Hansen
b164f9b431 tests: Replace "expected" with "want", "received" with "got"
"Got" and "want" are common terms for testing, plus this fixes a
spelling mistake ("received" was misspelled as "recieved").
2021-01-27 04:59:36 +00:00
Richard Hansen
fc69ae78aa tests: Use assert.deepEqual() to simplify equality checks 2021-01-27 04:59:36 +00:00
Richard Hansen
dd815892f2 tests: Delete erroneous describe() calls
`describe()` is meant to be used by independent tests, but the tests
in this file are not independent. Add a higher-level `describe()` call
and delete all of the `describe()` calls that wrap a single test.
2021-01-27 04:59:36 +00:00
Richard Hansen
32a0df4883 tests: Fix invalid HTML in contentcollector tests
The HTML spec does not permit `<pre>` as a child of `<p>`.
2021-01-27 04:59:36 +00:00
Richard Hansen
53160f4a21 tests: Delete invalid contentcollector test
The HTML spec doesn't allow `<ul>` to be a child of `<ol>` (it must be
a child of `<li>` instead).
2021-01-27 04:59:36 +00:00
Richard Hansen
906b2624ed tests: Re-enable import/export test that is now working 2021-01-27 04:59:36 +00:00
Richard Hansen
54a3dbb9a0 lint: Fix some straightforward ESLint errors 2021-01-27 04:59:36 +00:00
John McLear
edf1dabe65 low hanging lint and some hard coded timeouts 2021-01-27 04:53:28 +00:00
John McLear
d74782c7e6 make mocha show duration and include the first timeout value in a test 2021-01-26 19:42:23 +00:00
John McLear
697bfd979b use reporter 2021-01-26 11:09:22 +00:00
John McLear
44c2bc040c lint: tests/backend/specs/api/tidy.js 2021-01-25 22:53:11 -05:00
Richard Hansen
610326b496 lint: tests/backend/specs/api/importexportGetPost.js 2021-01-25 22:53:11 -05:00
John McLear
f37a95cad8 timeout values 2021-01-25 21:35:47 +00:00
John McLear
f0a77cb98c
lint: contentcollector and domline
Various tidy up and linting of contentcollector.js and domline.js.

3 Tests disabled which are not due to be covered.

Co-authored-by: Richard Hansen <rhansen@rhansen.org>
2021-01-22 20:41:14 +00:00
webzwo0i
951c93fa6d change_user_name test: refactor 2020-12-27 23:40:35 +00:00
John McLear
38c9827161
Feature: Scroll to Line number based on Hash IE http://foo.com/p/bar#L10 will scroll to line 10. (#4554)
Includes test coverage
Co-authored-by: webzwo0i <webzwo0i@c3d2.de>
2020-12-26 22:05:08 +01:00
Richard Hansen
ff19181cd1 lint: Fix some straightforward ESLint errors 2020-12-23 16:18:28 -05:00
webzwo0i
790ba72a9e change scroll-behavior to auto
timeslider follow test: ensure there are so much lines in the pad view
below the changed line, so that the changed line will be the first
visible line
2020-12-23 16:18:28 -05:00
Richard Hansen
d34a70c940 Delete merge conflict marker
This fixes a bug introduced in commit
040057239e.
2020-12-20 18:32:30 -05:00
webzwo0i
040057239e
tests for spaces (#4594) 2020-12-20 06:18:19 +00:00
webzwo0i
a637920e55
add list-style:none for ul.indents in exported HTML (#4586)
* add list-style:none for ul.indents in exported HTML

* use list-style-type not list-style
2020-12-20 06:00:18 +00:00
webzwo0i
c5cf7ab144
tests: Ignore head tag on import / improved contentcollector tests
* fix accidental write to global variable
properly show pending tests
log test name in suite
better log output for received/expected strings

* cc tests: enable second nestedOL test

* ignore the head tag on import
2020-12-18 09:37:37 +00:00
webzwo0i
5673a76b38 cc tests: enable second nestedOL test 2020-12-18 09:30:18 +00:00
webzwo0i
c989a8e279 fix accidental write to global variable
properly show pending tests
log test name in suite
better log output for received/expected strings
2020-12-18 09:30:18 +00:00
Richard Hansen
a44debdcfe Add ' and * to acceptable URL characters
These characters are in the RFC3986 reserved set.

These characters are added to the set of characters that cannot be the
last character of a URL to avoid mislinkification.
2020-12-14 07:03:17 +00:00
Richard Hansen
7d23278ed0 Exclude ?, !, and ) from last character of URL
Now the final character in each of these example strings is no longer
considered part of the URL:
  * Have you seen http://example.com?
  * Look at http://example.com!
  * (see http://example.com)
2020-12-14 07:03:17 +00:00
Richard Hansen
66d0eb9a1f tests: Expand the tests in urls_become_clickable.js 2020-12-14 07:03:17 +00:00