Skip to content

Commit

Permalink
Merge pull request #279 from javierbrea/release
Browse files Browse the repository at this point in the history
Release v6.0.0
  • Loading branch information
javierbrea committed Dec 8, 2022
2 parents f58e9a5 + 2c12e95 commit 3c4f071
Show file tree
Hide file tree
Showing 30 changed files with 15,259 additions and 9,406 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/check-package-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
uses: actions/checkout@v3
- name: Get NPM version is new
id: check
uses: EndBug/version-check@v2.1.0
uses: EndBug/version-check@v2.1.1
with:
diff-search: true
file-name: ./package.json
Expand All @@ -27,18 +27,18 @@ jobs:
uses: martinbeentjes/npm-get-version-action@v1.2.3
- name: Check Changelog version
id: changelog_reader
uses: mindsers/changelog-reader-action@v2.1.1
uses: mindsers/changelog-reader-action@v2.2.2
with:
version: ${{ steps.package-version.outputs.current-version }}
path: ./CHANGELOG.md
- name: Read version from Sonar config
id: sonar-version
uses: christian-draeger/read-properties@1.0.1
uses: christian-draeger/read-properties@1.1.1
with:
path: './sonar-project.properties'
property: 'sonar.projectVersion'
properties: 'sonar.projectVersion'
- name: Check Sonar version
if: steps.sonar-version.outputs.value != steps.package-version.outputs.current-version
if: steps.sonar-version.outputs.sonar-projectVersion != steps.package-version.outputs.current-version
run: |
echo "Version not changed"
exit 1
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,21 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Removed
### BREAKING CHANGES

## [6.0.0] - 2022-12-07

### Added
- feat(#275): Extend suite configuration definitions for Cypress 11.x
- test: Add Cypress v11 tests. Use Cypress 11 in TypeScript tests

### Changed
- chore(deps): Update devDependencies

### Removed
- test: Drop support for Cypress 6

### Fixed
- docs(#245): Fix parallel configuration example

## [5.0.1] - 2022-08-30

### Changed
Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ module.exports = (on, config) => {
parallelCallbacks: {
onCancel: () => {
// Create flag file when the plugin starts skipping tests
fs.writeFileSync(isCancelledFlagFile);
fs.writeFileSync(isCancelledFlagFile, "");
},
isCancelled: () => {
// If any other run has created the file, start skipping tests
Expand Down Expand Up @@ -241,14 +241,17 @@ Note: The example above is only valid for Cypress versions lower than 10. Use th

## Tests

To ensure the plugin stability, it is being tested with Cypress major versions 6.x, 7.x, 8.x, 9.x and 10.x and new releases will be published for each new Cypress minor or major releases, updating the package E2E tests.
To ensure the plugin stability, it is being tested with Cypress major versions 7.x, 8.x, 9.x, 10.x and 11.x, and new releases will be published for each new Cypress minor or major releases, updating the package E2E tests.

Latest versions used in the E2E tests can be checked in the `devDependencies` of the `package.json` files of the E2E tests:
* [Cypress v6.x](https://github.com/javierbrea/cypress-fail-fast/blob/main/test-e2e/cypress-variants/cypress-6/package.json)
* [Cypress v7.x](https://github.com/javierbrea/cypress-fail-fast/blob/main/test-e2e/cypress-variants/cypress-7/package.json)
* [Cypress v8.x](https://github.com/javierbrea/cypress-fail-fast/blob/main/test-e2e/cypress-variants/cypress-8/package.json)
* [Cypress v9.x](https://github.com/javierbrea/cypress-fail-fast/blob/main/test-e2e/cypress-variants/cypress-9/package.json)
* [Cypress v10.x](https://github.com/javierbrea/cypress-fail-fast/blob/main/test-e2e/cypress-variants/cypress-10/package.json)
* [Cypress v11.x](https://github.com/javierbrea/cypress-fail-fast/blob/main/test-e2e/cypress-variants/cypress-11/package.json)

* If you need Cypress 6 or Cypress 7 support, use `cypress-fail-fast` 5.x
* If you need Cypress 5 or lower, use `cypress-fail-fast` <= 4.x

Anyway, if you find any issue for a specific Cypress version, please report it at https://github.com/javierbrea/cypress-fail-fast/issues.

Expand Down
7 changes: 7 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,11 @@ declare namespace Cypress {
*/
failFast?: Partial<FailFastConfigOptions>
}

interface SuiteConfigOverrides {
/**
* Configuration for fail-fast plugin
*/
failFast?: Partial<FailFastConfigOptions>
}
}

0 comments on commit 3c4f071

Please sign in to comment.