Hi,
I have a failing webtest in this structure:
def "test"() {
when:
to LoginPage
and:
login("...", "...")
then:
at LoggedInPage
and:
waitFor {
assertHasAccess()
}
cleanup:
logout()
}
Unfortunately the reports (HTML and Screenshot) are taken from the state after the logout, after the cleanup task, I would expect it to be reported before.
Can I change this behaviour? Or am I doing something wrong when cleaning up?
I am using:
groovyVersion = '2.4.5'
gebVersion = '0.13.1'
seleniumVersion = '2.51.0'
Thanks and best regards
Paul.