Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Hooks and global variables and order of Before and Background #3218

Closed as not planned
Labels
@SroubekH

Description

Hello,
we are using cucumber to define tests, and I have noticed I can't save into this in before/after hooks. Am I missing something, or is just not possible? Or is there a way for step definition to access test support Object?
I also noticed that background is triggered before before hooks and I don't think it's correct behavior, since background should work as a beginning of the test, then Before should be triggered first.

Details:
nodeJs version: v14.15.0
CodeceptJs version: 3.2.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /