Skip to content

[💡 Feature]: Enable new Cucumber API to run the tests #8149

@nextlevelbeard

Description

@nextlevelbeard

Is your feature request related to a problem?

A new API is now available to run Cucumber tests.
webdriverIO would benefit a lot from it.

Currently, there are a great number of Cucumber features that webdriverIO users are locked out of.
This is preventable with the new API as we are no longer limited in the way we can run Cucumber under the hood.

Examples of shortcomings:

  • If users want to run tests in parallel, they have to rely on other webdriverIO extensions.
    Users relying on wdio-cucumber-parallel-execution cannot use latest features like the Rule keyword.
  • If users want reports , they also have to rely on other webdriverIO extensions.
    Cucumber already offers many reporting options, like JSON and HTML
    To have these, users have to rely on two separate extensions

Describe the solution you'd like.

Invoke the new API when running Cucumber tests, making sure all Cucumber options passed in the config are respected, allow for reports to be generated and perhaps even enable native block-level parallelism.

Describe alternatives you've considered.

No response

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

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