Thomas Lynch
7e61c76228
Update tests for new global setting, and tweak them a bit
1 year ago
Thomas Lynch
fd06c39610
lint
2 years ago
Thomas Lynch
c79f7492e2
fix tests
2 years ago
Thomas Lynch
69374012c3
Fix tests, run them again since localisation update (all pass)
...
Make server.js loga warning if started with NO_CAPTCHA e.g. in docker for tests
2 years ago
Thomas Lynch
f2b7a3be13
add some tests for cross board moving
...
update edit ban duration action "edit_duration" instead of "edit"
edit a role in setup for allowing anons to bypass captcha
add captcha 000000 to changepassword in setup
add some more pages/jsons to the pages.js test file
2 years ago
Thomas Lynch
f4328812f2
Add e2e tests for twofactor
...
Remove some cruft from package-lock from speakeasy
Add guard in dotwofactor for no/null (not blank) twofactor
2 years ago
Thomas Lynch
bd49d4e8a5
eslint fixes
2 years ago
Thomas Lynch
5783eedf25
Test fixes for docker
...
Change a few hostnames from my own dev-jschan with localhost
Fix the global settings change to include new options
Change network setting in docker-compose file
2 years ago
Thomas Lynch
e047782249
eslint lib, migrations, db, models, test, schedules and root dir
2 years ago
Thomas Lynch
24a8f5ae18
Fix bug in reporter banning, thanks to automated tests
2 years ago
Thomas Lynch
578578af0f
fix tests
2 years ago
Thomas Lynch
62678c2b19
Bans can now be "upgraded" retroactively to expand single IP bans to qrange/hrange bans.
...
The ban table now has a column or whether a ban is of an IP or Bypass ID. (Or pruned IP, if you were dumb enough to ban one of those)
2 years ago
Thomas Lynch
018664521e
move deleting acocunt to cleanup tests
2 years ago
Thomas Lynch
b0ba9a685e
add test for add/edit perm/delete staff
2 years ago
Thomas Lynch
41b5c7ba34
test ban reporter and dismiss reports
2 years ago
Thomas Lynch
22c87f8993
test add/edit/remove custompage
2 years ago
Thomas Lynch
822d7777d6
add test to report ban for global and local report
2 years ago
Thomas Lynch
2587ac5bad
add account create/edit perm/delete test
2 years ago
Thomas Lynch
451af268e5
add tests global ban, remove/deny appeal/edit ban duration
2 years ago
Thomas Lynch
8f34e9e362
add tests
...
delete file
unlink file
add/delete banner
add/delete flags
add/delete assets
2 years ago
Thomas Lynch
7bc5e8485d
move some delete actions and delete board to after the pages test, so stuff likeoverboard has some content
2 years ago
Thomas Lynch
2d37b00dae
test posting file, spoiler the file, and spoiler_all when posting
2 years ago
Thomas Lynch
1551c87744
start on global tests, add one to post/edit/delete news
2 years ago
Thomas Lynch
f2d199482b
add reports + edit test
2 years ago
Thomas Lynch
bafecbd847
add some more posting, cyclic test, moving, deleting, bans, range bans w/modlog records
2 years ago
Thomas Lynch
04f697225e
improve pages test, and make it test basic globalmanage pages
2 years ago
Thomas Lynch
08c78da62f
add some testing for actions. makes a few new threads, random delete and random toggle of sticky/lock/bumplock
2 years ago
Thomas Lynch
2863389ecf
improve posting tests
...
creates board, disables antispam automatically, makes full board of 100 threads with some replies
2 years ago
Thomas Lynch
19dcab2016
integration/docker test changes
...
use env var for the docker password, run the tests, remove docker jschan-test (was broken)
some changes to test folder, to run the suites in order
2 years ago
Thomas Lynch
c6f8c0939e
add more unit tests to helpers/posting
2 years ago
Thomas Lynch
a28afef5a9
add jest for testing
...
patch formatSize to cap to max units of TB
add unit test for formatSize as an example
add test for posting a simple thread to the docker
2 years ago