Skip to content

Commit

Permalink
IVYPORTAL-17660-Implement-retry-mechanism-for-GUI-test-on-LE (#1042)
Browse files Browse the repository at this point in the history
- implement retry mechanism for GUI test
  • Loading branch information
tphvu-axonivy authored Sep 16, 2024
1 parent 6756ea9 commit 65d3c14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions AxonIvyPortal/portal-selenium-test/customized_pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
<version>3.0.0-M4</version>
<configuration>
<testFailureIgnore>true</testFailureIgnore>
<rerunFailingTestsCount>2</rerunFailingTestsCount>
<argLine>
-Dtest.engine.url=${test.engine.url}
-Dtest.engine.app=demo-portal
Expand Down
2 changes: 1 addition & 1 deletion build/gui-test-new-dashboard/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ pipeline {
utils.killUnnecessaryProcessesToRunTest()

echo '====================Execute maven for testing===================='
bat "mvn clean test -f AxonIvyPortal/portal-selenium-test/customized_pom.xml %engineDownloadURL% -Dtest=${params.testPatternToRun} -DbrowserType=FIREFOX -DtrimStackTrace=false -Divy.engine.directory=%engineDir% -Divy.deploy.timeout.seconds=60 -Divy.engine.start.timeout.seconds=500"
bat "mvn clean test -f AxonIvyPortal/portal-selenium-test/customized_pom.xml %engineDownloadURL% -Dtest=${params.testPatternToRun} -DbrowserType=FIREFOX -DtrimStackTrace=false -Divy.engine.directory=%engineDir% -Divy.deploy.timeout.seconds=60 -Divy.engine.start.timeout.seconds=500 -Dsurefire.rerunFailingTestsCount=2"
utils.cleanDisk()
}
}
Expand Down

0 comments on commit 65d3c14

Please sign in to comment.