Skip to content

Gherkin, feature file - an error in "background" completely terminates the process for the entire file. #2349

@paul-gladoon

Description

@paul-gladoon

What are you trying to achieve?

Run all scenarios within one feature file with a background.

What do you get instead?

Only part of the scenarios is run.

Steps to reproduce

Create one feature file - the file consists of:
1.Background;
2.Several scenarios;
3.Combine these scripts with a single tag.

Be sure to have failed in the background. Run the script using --grep.
The error is that as soon as the first scenario starts and it falls in the background, the process automatically ends and all remaining scenarios will not be launched.

  • CodeceptJS version: 2.6.1
  • NodeJS Version: 12
  • Operating System: macOS
  • webdriverio + gherkin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions