Closed geekyPiyush closed 3 years ago
Hey @geekyPiyush! I'm not quite sure I follow what's going on here. Percy agent has been deprecated/removed from the latest example app. Can you reclone and try again?
@Robdel12 I somehow figured out the solution. I was using the percy maven lib version 1.0.0 which seems to be the latest one. However when I reverted to an old version 0.1.3 it resolved the issue and started taking snapshots.
Gotcha! That makes sense -- that's an old version of the SDK. @percy/cli
will work with both versions of the Java SDK. You'll want to upgrade to the latest -- 0.x & @percy/agent
aren't supported anymore. https://docs.percy.io/docs/java-selenium#upgrading
I have cloned the repository https://github.com/percy/example-percy-java-selenium and trying to do a POC around Percy with Java and Selenium
To execute the percy I have installed @percy/agent and starting percy via this module. However, when executing the command
_"./nodemodules/.bin/percy exec -- mvn test"
My percy is getting started and then maven tests execute. But while taking snapshots where command "percy.snapshot()" is mentioned, it throws message as "Percy is not running, disabling snapshots"
Snapshot of execution below