Skip to content

Commit

Permalink
HPCC-31857 - Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nisha-Bagdwal committed Jul 12, 2024
1 parent 657ff6a commit fb017c2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/test-ui-gh_runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ jobs:
wget https://repo1.maven.org/maven2/com/beust/jcommander/1.82/jcommander-1.82.jar
wget https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.22.0/selenium-java-4.22.0.zip
unzip selenium-java-4.22.0.zip
ls -l
- name: Run ECL Watch UI Tests
timeout-minutes: 80 # generous, current runtime is ~38 minutes, this should be increased if new tests are added
Expand All @@ -156,11 +157,16 @@ jobs:
run: |
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
pwd
for jar in selenium-java-4.22.0/*.jar; do
export CLASSPATH="$CLASSPATH:${{ github.workspace }}/$jar"
echo "jar: $jar"
CLASSPATH="$CLASSPATH:${{ github.workspace }}/$jar"
done
echo "CLASSPATH: $CLASSPATH"
export CLASSPATH
pushd ${{ inputs.asset-name }}-ecl_watch_ui_tests
find . -iname '*.java' -type f -print -exec javac {} \;
pwd
find . -iname '*.java' -type f -print -exec javac --verbose {} \;
java framework.TestRunner detail
echo "ECL Watch UI test done"
lines=$(wc -l < error_ecl_test.log)
Expand Down

0 comments on commit fb017c2

Please sign in to comment.