Hello all,
In my job we are starting web automation testing with Serenity BDD using JBehave, the project is looking great so far and everything runs smooth but we are facing issues and we need to debug the run of the test, the problem is we can't get it yet. We are using Maven and Netbeans, we run the project with the goal:
clean verify serenity:aggregate -Dmaven.test.failure.ignore=true
But tried to debug the project with several methods, our last try was:
clean verify serenity:aggregate -Dmaven.failsafe.debug="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"
-DforkCount=0
-Djpda.listen=true
-Dmaven.test.failure.ignore=true
-Daddress=5005
This cause the test to start running, the debug mode set to Netbeans and the debug console open with the message:
Listening on 52974 (here the port changes every try)
At this point the breakpoints should be loaded and the automation should stop on them, but it doesn't happen.
So any help would be extremely useful.
And just for reference, the error we are trying to find out is why a working step that asserts a message on the web for a parametrized message does not work on another scenario (using the expected parameter).
My pom.xml is attached.
Thanks in advance,
Santiago.