From 45fe8a310e0b731e2c4ca7ab6edef0cd4321a164 Mon Sep 17 00:00:00 2001 From: John McLear Date: Tue, 31 Mar 2026 00:47:21 +0100 Subject: [PATCH] Fix backend-tests find path for plugin test discovery (#7397) plugins i --path installs to src/plugin_packages/, not node_modules/. Update the find command to look in the correct location so backend tests are actually discovered and run. Co-authored-by: Claude Opus 4.6 (1M context) --- bin/plugins/lib/backend-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/plugins/lib/backend-tests.yml b/bin/plugins/lib/backend-tests.yml index d02f65839..9adf2740b 100644 --- a/bin/plugins/lib/backend-tests.yml +++ b/bin/plugins/lib/backend-tests.yml @@ -62,7 +62,7 @@ jobs: name: Run the backend tests working-directory: ./etherpad-lite run: | - res=$(find .. -path "./node_modules/ep_*/static/tests/backend/specs/**" | wc -l) + res=$(find . -path "./src/plugin_packages/ep_*/static/tests/backend/specs/**" | wc -l) if [ $res -eq 0 ]; then echo "No backend tests found" else