This repository has been archived by the owner on Jul 10, 2023. It is now read-only.
Releases: adnovum/gocd-cypress
Releases · adnovum/gocd-cypress
3.0.0
Updated the supprted Cypress versions. There is no hard requirement on the upper limit of Cypress major versions. The version is tested will all currently avialable major versions, meaning Cypress 10 ,11, and 12.
Breaking change:
Note this is a breaking change, at least Cypress 10 is required.
What's Changed
- Update Cypress compatiblity to version 12 by @hosszubalazs in #17
New Contributors
- @hosszubalazs made their first contribution in #17
Full Changelog: v2.2.2...v3.0.0
2.2.2
Maintenance release
- Cypress 10 is now supported.
- Updated some dependencies.
2.2.1
Bugfix release
- Propagate exit codes when using Node.js <16
2.2.0
Support for Docker container customization
- Allow custom docker run arguments using
--dockerRunArgs
. This may be useful when for example you need to give the Docker container more memory.
2.1.1
This is a bugfix release for the known issues of v2.1.0.
- Fixed Yargs defaults overriding Cosmiconfig options
- Also renamed Cosmiconfig configuration key
bootstrapCommand
tobootstrapCmd
to follow existing command-line option naming convention. (That is actually a bugfix too, without this change the bootstrap command could not be overridden on the command line.)
2.1.0
Usability improvements for v2.0.0
- Now all command-line options can be specified as configuration options in
package.json
or in other places that Cosmiconfig
supports. In addition, configuration profiles can be defined that override such options. These features will help alleviate
the problem of too long lines of NPM scripts usinggocd-cypress
inpackage.json
. - Some underscore-case configuration keys have been normalized to snake-case keys. (Breaks compatibility.)
Known issue:
- Defaults of command-line options override Cosmiconfig values.
2.0.0
This release makes gocd-cypress more flexible for projects with special Cypress integrations and testing needs (as explained below), as well as makes it easier to add support for Cypress 10 in the future.
- Added option
--cypressCmd
to support customization of the command that executes Cypress tests (defaults tocypress run
). This should help projects that use a custom setup like@nrwl/nx
, or use Cypress' component runner. - Removed the
testFolder
positional parameter. To achieve the same behavior as before, pass--spec <pattern>
to the Cypress command provided with--cypressCmd
, and use gocd-cypress options--resultsFolder
and--reportsFolder
to specify where to generate the result JSONs and the HTML report. This change also requires that the command specified by--cypressCmd
must support receiving more parameters that allows gocd-cypress to customize the reporter.- Removed support for configuration keys
CY_INTEGRATION_FOLDER
,CY_SPEC_FILES_PATTERN
,CY_REPORTS_PATH
, andCY_RESULTS_PATH
. These settings were related to the removedtestFolder
positional parameter. This change also allows easier supporting of Cypress 10 in the future.
- Removed support for configuration keys
- Removed option
--browser
. To achieve the same behavior as before, pass--browser
to the Cypress command provided with--cypressCmd
. - Fixes and improvements for dockerization:
- Execute
docker run
with--init
so it also handles theTERM
signal (prevents zombie processes when a GoCD job is cancelled). - Do not execute
docker run
with-t
when we are in a CI environment (curses-like behavior does not work there,
colors will however still be supported). - Processes should know about the
CI
env var when defined to be true. - Lowercase names of proxy env vars added because some programs do not agree with the letter case (just to be safe).
- Execute
- Added
cypress
as peer dependency. Version 10 is not supported for now as it wasn't tested yet. - Removed
cypress-multi-reporters
as a package dependency/requirement.