A selenid tests are failed in TeamCity.
I've got a trouble to run selenide tests with TeamCity.
These ones run well in my environment. Unforunately I did not find anything similar in the known issues, community chat, etc I found one solution with googling ( https://github.com/codeborne/selenide/issues/648 ) but it doesn't work for me.
Please let me know what I do wrong.
Thank you.
======= Failed test run #1 ========== java.lang.NoClassDefFoundError: org/openqa/selenium/security/Credentials
at com.codeborne.selenide.Selenide.<clinit>(Selenide.java:37)
....................................................
======= Failed test run #2 ==========
java.lang.NoClassDefFoundError: Could not initialize class com.codeborne.selenide.Selenide
at webtests.BaseTest.teardown(BaseTest.java:26)
.................................................
Please sign in to leave a comment.
If this works locally for you, please make sure that all libraries are properly passed to the build agent (as it seems that a library might be missing). If the problem continues, please check this troubleshooting steps when the issue only happens in teamcity and not in your local build: https://confluence.jetbrains.com/display/TCD18/Common+Problems#CommonProblems-BuildworkslocallybutfailsormisbehavesinTeamCity
Thank you Denis, I'll try to figure out.
Hi Denis,
I've got some results but I still have a questions.
I setted up TeamCity on my local machine, and a tests run well
https://url.upwork.com/_01rLTR9eVTOe6IbN5WXceTX28WyPiRTCQX
Also the tests compile well on a remote machine
https://url.upwork.com/_01rLTR9eVTOe6cQPfAJVcOVeK-TGqpB5N6
with command `mvn compile`
But they are faile with `mvn test`
https://url.upwork.com/_01rLTR9eVTOe6A948BNXyjt7Gcei4c_Qbh
I'm not quite understand what can I do. I had that issue before but It was solved without my attention.
Please feel free ask me an any information.
Thank for your patience.