feat: support Cucumber in Cypress reporter #722
Merged
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 pull request introduces a new example project that demonstrates how to integrate Cypress with Cucumber and Qase Test Management. Additionally, it includes various configuration and support files for setting up and running the tests, as well as updates to the Qase Cypress reporter to support Cucumber tests. The most important changes include the addition of a README file with setup instructions, configuration files for Cypress and Cucumber, example test files, and updates to the Qase Cypress reporter package.
New example project setup and configuration:
examples/cypressCucumber/README.md: Added a new README file with detailed setup instructions for integrating Cypress with Cucumber and Qase Test Management.examples/cypressCucumber/cypress.config.js: Added a new configuration file for Cypress with support for the Cucumber preprocessor and Qase reporter.examples/cypressCucumber/package.json: Added a newpackage.jsonfile with dependencies and scripts for running Cypress tests with Cucumber and Qase integration.Example test files:
examples/cypressCucumber/cypress/e2e/simpleTests.feature: Added a new feature file with simple test scenarios without metadata.examples/cypressCucumber/cypress/e2e/withQaseIDTests.feature: Added a new feature file with test scenarios that include Qase IDs for integration with Qase Test Management.Qase Cypress reporter updates:
qase-cypress/src/cucumber.ts: Added a new module to support Cucumber tests in the Qase Cypress reporter.qase-cypress/src/reporter.ts: Updated the Qase Cypress reporter to handle Cucumber test steps and metadata. [1] [2] [3] [4] [5]These changes provide a comprehensive setup for running Cypress tests with Cucumber and integrating the results with Qase Test Management, along with necessary updates to the Qase Cypress reporter to support this integration.