Skip to content

Issue while updating to Geb 8 Micronaut #284

@sdelamo

Description

@sdelamo

Steps to reproduce:

Clone branch geb8 of https://github.com/micronaut-projects/micronaut-security

The following test fails


SessionAuthenticationSpec > verify session based authentication works FAILED
    groovy.lang.ReadOnlyPropertyException: Cannot set readonly property: baseUrl for class: geb.Browser
        at app//groovy.lang.GroovyObject.setProperty(GroovyObject.java:61)
        at app//io.micronaut.security.session.SessionAuthenticationSpec.getBrowser(SessionAuthenticationSpec.groovy:63)
        at app//geb.spock.GebSpec.methodMissing(GebSpec.groovy:1)
        at io.micronaut.security.session.SessionAuthenticationSpec.verify session based authentication works(SessionAuthenticationSpec.groovy:78)

Browser is retrieved from https://github.com/apache/groovy-geb/blob/master/module/geb-core/src/main/groovy/geb/test/GebTestManager.groovy#L48 via https://github.com/apache/groovy-geb/blob/master/module/geb-core/src/main/groovy/geb/test/GebTestManager.groovy#L48

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions