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

no step-definition method match found for: @setup #2334

Closed
jkeys089 opened this issue May 31, 2023 · 1 comment
Closed

no step-definition method match found for: @setup #2334

jkeys089 opened this issue May 31, 2023 · 1 comment
Assignees
Milestone

Comments

@jkeys089
Copy link
Contributor

Originally reported via Stack Overflow at https://stackoverflow.com/questions/76312897/getting-a-no-step-definition-method-match-found-for-setup-in-karate-with-ret

Problem

When retrying the first failed scenario that was originally created via outline utilizing a @setup scenario we are seeing errors like:

no step-definition method match found for: @setup

Root Cause

It seems "fake" steps (e.g. added via ScenarioResult.addFakeStepResult()) are being included during retries and those should be filtered out.

@jkeys089 jkeys089 mentioned this issue May 31, 2023
5 tasks
@ptrthomas ptrthomas added the bug label May 31, 2023
@ptrthomas ptrthomas added this to the 1.4.1 milestone May 31, 2023
@ptrthomas
Copy link
Member

1.4.1 released

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

No branches or pull requests

2 participants