Skip to content

Remove redundant steps in attachment feature #127

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

Merged
merged 5 commits into from
Jul 18, 2025
Merged

Conversation

luke-hill
Copy link
Contributor

@luke-hill luke-hill commented May 16, 2025

🤔 What's changed?

Removed duplicate step/scenario from attachments and done some minor tidying

⚡️ What's your motivation?

🏷️ What kind of change is this?

Breaking change: Next version v19

  • 🏦 Refactoring/debt/DX (improvement to code design, tooling, etc. without changing behaviour)
  • 💥 Breaking change (incompatible changes to the API)

♻️ Anything particular you want feedback on?

📋 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.

@luke-hill luke-hill requested a review from mpkorstanje May 16, 2025 18:02
Copy link
Contributor

@davidjgoss davidjgoss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to also regenerate the reference messages.

@mpkorstanje
Copy link
Contributor

How are these steps definitions redundant? The steps are still there:

Scenario: Attaching JPEG images
When a JPEG image is attached
Scenario: Attaching PNG images
When a PNG image is attached

@luke-hill
Copy link
Contributor Author

luke-hill commented May 20, 2025

Sorry yeh this was just a "make this now so I don't forget". I need to do more work here.

Spotted this whilst doing my v10 work

@mpkorstanje mpkorstanje marked this pull request as draft May 20, 2025 08:48
@mpkorstanje
Copy link
Contributor

No problem. I've marked the PR as a draft.

@luke-hill luke-hill force-pushed the luke-hill-patch-1 branch from 21ee438 to 5416ff8 Compare July 18, 2025 18:33
@luke-hill luke-hill marked this pull request as ready for review July 18, 2025 18:33
@mpkorstanje mpkorstanje merged commit 7c357a9 into main Jul 18, 2025
6 checks passed
@mpkorstanje mpkorstanje deleted the luke-hill-patch-1 branch July 18, 2025 22:40
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.

3 participants