Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global beforeAll #174

Open
yanns opened this issue May 14, 2018 · 1 comment
Open

Global beforeAll #174

yanns opened this issue May 14, 2018 · 1 comment
Labels

Comments

@yanns
Copy link
Collaborator

yanns commented May 14, 2018

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.

@InnaXITE
Copy link

InnaXITE commented Feb 8, 2019

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants