diff --git a/.github/workflows/test-ui-gh_runner.yml b/.github/workflows/test-ui-gh_runner.yml index cfd48ee9173..0a59bcbff46 100644 --- a/.github/workflows/test-ui-gh_runner.yml +++ b/.github/workflows/test-ui-gh_runner.yml @@ -154,7 +154,11 @@ jobs: if: steps.check.outputs.runtests shell: "bash" run: | - export CLASSPATH=".:${{ inputs.asset-name }}-ecl_watch_ui_tests:${{ github.workspace }}/selenium-java-4.22.0/*:${{ github.workspace }}/testng-7.7.1.jar:${{ github.workspace }}/jackson-annotations-2.17.0.jar:${{ github.workspace }}/jackson-core-2.17.0.jar:${{ github.workspace }}/jackson-databind-2.17.0.jar:${{ github.workspace }}/jcommander-1.82.jar" + export CLASSPATH=".:${{ inputs.asset-name }}-ecl_watch_ui_tests:${{ github.workspace }}/testng-7.7.1.jar:${{ github.workspace }}/jackson-annotations-2.17.0.jar:${{ github.workspace }}/jackson-core-2.17.0.jar:${{ github.workspace }}/jackson-databind-2.17.0.jar:${{ github.workspace }}/jcommander-1.82.jar" + # Add all unzipped JAR files to the CLASSPATH + for jar in selenium-java-4.22.0/*.jar; do + export CLASSPATH="$CLASSPATH:${{ github.workspace }}/$jar" + done pushd ${{ inputs.asset-name }}-ecl_watch_ui_tests find . -iname '*.java' -type f -print -exec javac {} \; java framework.TestRunner detail