Skip to content

Gherkin syntax Then #28

@corrado4eyes

Description

@corrado4eyes

Represent an expected and visible outcome for the user such as a message popping up, or a loading spinner.

Docs

feature("Some feature") {
    scenario("Some scenario") {
        given("The user is logged in") {
            // initialise user to be logged in
        }
        then("The user should see the Home view") {
            // assert that the user sees the Home view and not another 
        }
    }
}

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