Skip to content

Global beforeAll #174

@yanns

Description

@yanns

In a project, we need an OAuth token for 90 % of the feature tests.

It's now implemented using the beforeEachScenario hook:

  beforeEachScenario (
    Attach {
      setup_project
      create_token
    }
  )

But we actually don't need a new token for each scenario.

It'd great to have a beforeAll like hook where we could fetch an OAuth token and store it in the session for all feature tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions