Skip to content

Conversation

@davidjgoss
Copy link
Contributor

@davidjgoss davidjgoss commented Nov 25, 2025

🤔 What's changed?

When the original Step from the Gherkin document isn't resolved, don't cause an error when trying to use its keyword in <TestStepOutcome/>.

⚡️ What's your motivation?

In Cucumber Reports, we've seen some instances of the step not being present. The cause of that is a separate thing to look at, but for now we need to handle it gracefully.

🏷️ What kind of change is this?

  • 🐛 Bug fix (non-breaking change which fixes a defect)

📋 Checklist:

  • I agree to respect and uphold the Cucumber Community Code of Conduct
  • I've changed the behaviour of the code
    • I have added/updated tests to cover my changes.
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.
  • Users should know about my change
    • I have added an entry to the "Unreleased" section of the CHANGELOG, linking to this pull request.

This text was originally generated from a template, then edited by hand. You can modify the template here.

@netlify
Copy link

netlify bot commented Nov 25, 2025

Deploy Preview for cucumber-react-preview ready!

Name Link
🔨 Latest commit c543f66
🔍 Latest deploy log https://app.netlify.com/projects/cucumber-react-preview/deploys/6925ae0aff65c1000833c8d4
😎 Deploy Preview https://deploy-preview-419--cucumber-react-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@davidjgoss davidjgoss changed the title Missing step Handle missing step gracefully Nov 25, 2025
@davidjgoss davidjgoss marked this pull request as ready for review November 25, 2025 13:33
@davidjgoss davidjgoss merged commit ba11467 into main Nov 25, 2025
6 checks passed
@davidjgoss davidjgoss deleted the missing-step branch November 25, 2025 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant