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.

-- 
You received this message because you are subscribed to the Google Groups "Geb 
User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/geb-user/d6ec7fc3-f606-4a14-8cfd-9f3201ed062e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to