Skip to content

at() methods should return the page object on match #217

Description

@geb-bot

Originally created by Luke Daley.

This would make it easier for people wanting to use more types:

class SomeGebSpec extends GebSpec {

    def "login"() {
        when:
        go "http://somewhere.com"

        then:
        def loginPage = at(LoginPage)
        loginPage.username.value "fred"
    }
}

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions