]> Untitled Git - lemmy.git/commit
Enhanced testing of comments. Validate reply notifications, mentions (#3686)
authorRocketDerp <113625597+RocketDerp@users.noreply.github.com>
Tue, 1 Aug 2023 13:14:40 +0000 (06:14 -0700)
committerGitHub <noreply@github.com>
Tue, 1 Aug 2023 13:14:40 +0000 (09:14 -0400)
commit05a7fced65108cffd208b0891706f56a8febd5d5
tree25fd200450354eaa83417b3815fa82208b4c7d5c
parent55e383ae38ecc54fb19948eac23ffefa60c829ea
Enhanced testing of comments. Validate reply notifications, mentions (#3686)

* shared.ts first test of getReplies

* comment testing now validates reply notifications and mentions, some code comment cleanup in other functions

* comments revised

* first use of getUnreadCount in testing

* test notification of new comment replies, clarify usage of getReplies

* killall moved earlier in bash script

* api-test jest run does not need directory prefix, make consistent with other jest runs

* do not put my testing system password into script

* fix, killall exits script when no process found

* killall now moved to parent script to release locks before database create

* need to run killall a second time, before database drop

* first use of getReplies getPosts saveUserSettings

* accidental duplication of functions, removed

* try to sync shared library with main

* Nutomic feedback: Better to rename the var instead of putting a comment which can easily get outdated.

* Correct logic to meet join-lemmy requirement, don't have closed signups. Allows Open and Applications. (#3761)

Co-authored-by: Josh Bernardini <josh.bernardini@cologix.com>
* Fix fetch instance software version from nodeinfo (#3772)

Fixes #3771

* remove unused code, revert killall change

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Co-authored-by: figure-0e <133478007+figure-0e@users.noreply.github.com>
Co-authored-by: Josh Bernardini <josh.bernardini@cologix.com>
Co-authored-by: Denis Dzyubenko <denis@ddenis.info>
Co-authored-by: Felix Ableitner <me@nutomic.com>
api_tests/package.json
api_tests/prepare-drone-federation-test.sh
api_tests/run-federation-test.sh
api_tests/src/comment.spec.ts
api_tests/src/shared.ts