From cadd727c6a95da2d299529751806601ebd832d05 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Thu, 25 Apr 2024 08:26:40 +0200 Subject: [PATCH] fix test script --- apps/remixdesktop/run_ci_test.sh | 4 ++-- apps/remixdesktop/splice_tests.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/remixdesktop/run_ci_test.sh b/apps/remixdesktop/run_ci_test.sh index 8366b3bdf1..92ad0752b2 100755 --- a/apps/remixdesktop/run_ci_test.sh +++ b/apps/remixdesktop/run_ci_test.sh @@ -2,9 +2,9 @@ set -e yarn run build:e2e && node ./splice_tests.js -TESTFILES=$(./splice_tests.js | circleci tests split --split-by=timings) +TESTFILES=$(node ./splice_tests.js | circleci tests split --split-by=timings) for TESTFILE in $TESTFILES; do - yarn run test --test ${TESTFILE} || TEST_EXITCODE=1 + yarn run test --test ./build-e2e/remixdesktop/test/tests/app/${TESTFILE} || TEST_EXITCODE=1 done echo "$TEST_EXITCODE" diff --git a/apps/remixdesktop/splice_tests.js b/apps/remixdesktop/splice_tests.js index e930de24f4..2ee58d0c02 100755 --- a/apps/remixdesktop/splice_tests.js +++ b/apps/remixdesktop/splice_tests.js @@ -31,5 +31,5 @@ const filteredFiles = filterFilesByWord(testFiles, ''); // Output the list of filtered files //console.log('Files without "@offline":', filteredFiles); for (let i = 0; i < filteredFiles.length; i++) { - console.log(filteredFiles[i]); + console.log(path.basename(filteredFiles[i])); }