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 includes several changes to improve the Cypress example project and update the Qase JavaScript commons package. The most important changes include adding new test examples, updating configuration files, and enhancing error handling in the Qase JavaScript commons.
Cypress Example Project Enhancements:
examples/cypress/README.md
: Added a new README file with setup instructions and usage details for the Cypress example project.examples/cypress/cypress.config.js
: Simplified the configuration by removing unused plugins and updating the reporter options to usecypress-qase-reporter
.examples/cypress/cypress/e2e/methodTests.cy.js
: Added tests with comments and attachments.examples/cypress/cypress/e2e/parametrizedTests.cy.js
: Added parameterized tests.examples/cypress/cypress/e2e/simpleTests.cy.js
: Added simple tests with different Qase reporter metadata.examples/cypress/cypress/e2e/stepTests.cy.js
: Added tests with step definitions.examples/cypress/package.json
: Updated thecypress-qase-reporter
dependency to version 2.2.3.Qase JavaScript Commons Enhancements:
qase-javascript-commons/changelog.md
: Documented the addition of error handling for HTTP status 422 in API responses.qase-javascript-commons/package.json
: Bumped the version to 2.2.6.qase-javascript-commons/src/reporters/testops-reporter.ts
: Enhanced error handling to include HTTP status 422.