-
Notifications
You must be signed in to change notification settings - Fork 1
Create a starter Gherkin BDD integration test setup with Cucumber.js #230
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
+1,609
−85
Conversation
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
Co-authored-by: dannystaple <426859+dannystaple@users.noreply.github.com>
…mization Co-authored-by: dannystaple <426859+dannystaple@users.noreply.github.com>
Copilot finished work on behalf of
dannystaple
August 3, 2025 14:39
dannystaple
reviewed
Aug 3, 2025
dannystaple
reviewed
Aug 3, 2025
…e into CI workflow Co-authored-by: dannystaple <426859+dannystaple@users.noreply.github.com>
Copilot finished work on behalf of
dannystaple
August 3, 2025 18:43
Co-authored-by: dannystaple <426859+dannystaple@users.noreply.github.com>
Copilot finished work on behalf of
dannystaple
August 3, 2025 18:49
Co-authored-by: dannystaple <426859+dannystaple@users.noreply.github.com>
Copilot finished work on behalf of
dannystaple
August 4, 2025 08:52
🦙 MegaLinter status: ❌ ERROR
See detailed report in MegaLinter reports |
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.
This PR implements a comprehensive BDD (Behavior-Driven Development) integration test infrastructure using Gherkin syntax and Cucumber.js for the OrionRobots website.
What's Added
Test Infrastructure:
tests/staging/
folder structure with a sample Gherkin feature file@cucumber/cucumber
as a dev dependency for JavaScript BDD testingBuild Integration:
tests
folder to.eleventyignore
to prevent Eleventy from processing test files during site buildstest
now runstest:bdd
which executes Cucumber testsDocker Support:
tests.Dockerfile
with Alpine-based Node.js image for containerized testingtest
service todocker-compose.yml
under manual profiledocker compose run test
Documentation:
CI/CD Integration:
.github/workflows/on_call_staging_test.yaml
to include BDD test execution using Docker ComposeCode Quality:
Sample Test Output
The framework runs successfully and shows the expected behavior:
These are integration tests that require the staging site to be running, making them suitable for end-to-end validation of website functionality. The framework is properly configured and ready for step implementation development.
Fixes #227.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.