Unable to execute tests using mvn commands after using healenium depency.
Build get successful but tests are not picked up for execution.
Its a cucumber bdd framework has integration with maven and testng.
testng tool is being used to run the tests in local and maven is being used in jenkin pipeline.
When tests are executed using testng it works fine but mvn command fails to run the script.
command used : clean test/ clean test --debug
output:
[1m--- [0;32mresources:3.3.1:testResources[m [1m(default-testResources)[m @ [36mAutomationTesting[0;1m ---[m
[INFO] Copying 39 resources from src\test\resources to target\test-classes
[INFO]
[INFO] [1m--- [0;32mcompiler:3.12.1:testCompile[m [1m(default-testCompile)[m @ [36mAutomationTesting[0;1m ---[m
[INFO] Recompiling the module because of [1mchanged dependency[m.
[INFO] Compiling 35 source files with javac [forked debug target 17] to target\test-classes
[WARNING] [options] system modules path not set in conjunction with -source 17
[INFO]
[INFO] [1m--- [0;32msurefire:3.3.1:test[m [1m(default-test)[m @ [36mAutomationTesting[0;1m ---[m
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] [1m--- [0;32mjar:3.3.0:jar[m [1m(default-jar)[m @ [36mAutomationTesting[0;1m ---[m
[INFO] Building jar: C:\Users\ei12416\UI_Automation_Framework\2024.6_Selfhealing\QA_UIAutomation_Selenium\target\AutomationTesting-0.0.1-SNAPSHOT.jar
[INFO]
[INFO] [1m--- [0;32minstall:3.1.1:install[m [1m(default-install)[m @ [36mAutomationTesting[0;1m ---[m
[INFO] Installing C:\Users\ei12416\UI_Automation_Framework\2024.6_Selfhealing\QAUIAutomation
Healenium Web version
3.5.4
Healenium Backend version
Latest version
Selenium version
4.21.0
Platform
Java Cucumber BDD
Properties file
No response
Logs appeared during using Healenium
[1m--- [0;32mresources:3.3.1:testResources[m [1m(default-testResources)[m @ [36mAutomationTesting[0;1m ---[m
[INFO] Copying 39 resources from src\test\resources to target\test-classes
[INFO]
[INFO] [1m--- [0;32mcompiler:3.12.1:testCompile[m [1m(default-testCompile)[m @ [36mAutomationTesting[0;1m ---[m
[INFO] Recompiling the module because of [1mchanged dependency[m.
[INFO] Compiling 35 source files with javac [forked debug target 17] to target\test-classes
[WARNING] [options] system modules path not set in conjunction with -source 17
[INFO]
[INFO] [1m--- [0;32msurefire:3.3.1:test[m [1m(default-test)[m @ [36mAutomationTesting[0;1m ---[m
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] [1m--- [0;32mjar:3.3.0:jar[m [1m(default-jar)[m @ [36mAutomationTesting[0;1m ---[m
[INFO] Building jar: C:\Users\ei12416\UI_Automation_Framework\2024.6_Selfhealing\QA_UIAutomation_Selenium\target\AutomationTesting-0.0.1-SNAPSHOT.jar
[INFO]
[INFO] [1m--- [0;32minstall:3.1.1:install[m [1m(default-install)[m @ [36mAutomationTesting[0;1m ---[m
[INFO] Installing C:\Users\ei12416\UI_Automation_Framework\2024.6_Selfhealing\QA_UIAutomation_
Describe the problem
Unable to execute tests using mvn commands after using healenium depency.
Build get successful but tests are not picked up for execution.
Its a cucumber bdd framework has integration with maven and testng. testng tool is being used to run the tests in local and maven is being used in jenkin pipeline.
When tests are executed using testng it works fine but mvn command fails to run the script.
command used : clean test/ clean test --debug output: [1m--- [0;32mresources:3.3.1:testResources[m [1m(default-testResources)[m @ [36mAutomationTesting[0;1m ---[m [INFO] Copying 39 resources from src\test\resources to target\test-classes [INFO] [INFO] [1m--- [0;32mcompiler:3.12.1:testCompile[m [1m(default-testCompile)[m @ [36mAutomationTesting[0;1m ---[m [INFO] Recompiling the module because of [1mchanged dependency[m. [INFO] Compiling 35 source files with javac [forked debug target 17] to target\test-classes [WARNING] [options] system modules path not set in conjunction with -source 17 [INFO] [INFO] [1m--- [0;32msurefire:3.3.1:test[m [1m(default-test)[m @ [36mAutomationTesting[0;1m ---[m [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] [INFO] Results: [INFO] [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] [1m--- [0;32mjar:3.3.0:jar[m [1m(default-jar)[m @ [36mAutomationTesting[0;1m ---[m [INFO] Building jar: C:\Users\ei12416\UI_Automation_Framework\2024.6_Selfhealing\QA_UIAutomation_Selenium\target\AutomationTesting-0.0.1-SNAPSHOT.jar [INFO] [INFO] [1m--- [0;32minstall:3.1.1:install[m [1m(default-install)[m @ [36mAutomationTesting[0;1m ---[m [INFO] Installing C:\Users\ei12416\UI_Automation_Framework\2024.6_Selfhealing\QAUIAutomation
Healenium Web version
3.5.4
Healenium Backend version
Latest version
Selenium version
4.21.0
Platform
Java Cucumber BDD
Properties file
No response
Logs appeared during using Healenium
Additional context
Issue similar to open tickets