Skip to content

Steps are not linked properly to glue code with pytest-bddΒ #292

@Vic152

Description

@Vic152

πŸ‘“ What did you see?

Using Python, pytest with pytest-bdd plugin.

When steps have examples they do not match in glue code and are highlighted as not implemented.

Image Image

does not match

Image

βœ… What did you expect to see?

When steps are implemented using parameters they are not highlighted as not implemented.
User can Crtl+Click to step definition.

πŸ“¦ Which tool/library version are you using?

Python 3.12
pytest-bdd==8.1.0
pytest-html==4.1.1
playwright==1.55.0
VS Code
Windows

πŸ”¬ How could we reproduce it?

Use @given(parsers.parse("{machine} machine is selected for clean installation")) in your code.

πŸ“š Any additional context?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions