Repository navigation
Y26-275 - [PR] Remove Cucumber after the migration to RSpec - #6224
Merged
Merged
Conversation
13 tasks done
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #6224 +/- ##
===========================================
- Coverage 82.67% 82.42% -0.25%
===========================================
Files 1347 1346 -1
Lines 33050 33009 -41
Branches 3617 3609 -8
===========================================
- Hits 27325 27209 -116
- Misses 4899 4960 +61
- Partials 826 840 +14
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
kshriniwas92
marked this pull request as ready for review
November 23, 2026 12:10
yoldas
approved these changes
Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes proposed in this pull request
All Cucumber features are migrated to RSpec. This PR removes Cucumber and what was there only for it.
Cucumber removed
Moved
Test database
The test environment used the Cucumber database sequencescape_test_cuke (for Knapsack Pro's Cucumber queue mode). It is sequencescape_test again, with pool: 5 and timeout: 5000.
Seeds guard
db/seeds.rb raises unless the environment is development or test (Rails.env.local?). The
seedingenvironment name, defined nowhere, is no longer allowed. A new spec, spec/db/seeds_spec.rb, checks that seeding is refused in staging (UAT), training and production.Deployment notes
RAILS_ENV=test bin/rails db:setupcreatessequencescape_test. The old sequencescape_test_cuke database and any public/vite-cucumber/ directory can be deleted.After merging
GitHub secret: at https://github.com/sanger/sequencescape/settings/secrets/actions, delete KNAPSACK_PRO_TEST_SUITE_TOKEN_CUCUMBER. Keep the RSpec and Feature tokens.
Knapsack Pro: delete the Cucumber test suite at
https://knapsackpro.com/dashboard/organizations/1976/projects/1324/test_suites/1881/builds
What is left?
Instructions for Reviewers
[All PRs] - Confirm PR template filled
[Feature Branches] - Review code
[Production Merges to
main]- Check story numbers included
- Check for debug code
- Check version