Skip to content

Gherkin syntax Given #26

@corrado4eyes

Description

@corrado4eyes

The purpose of Given steps is to put the system in a known state, by initialising the local db or logging in a test user.
Docs

feature("Some feature") {
    scenario("Some scenario") {
         given("The user is logged in") {
             // initialise logged in user
         }
         given("The user email is ${someValue}") {
             // set user email to be "someValue"
         }
    }
}

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