Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Releases: adnovum/gocd-cypress

3.0.0

02 Feb 14:33
dce9e56
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: v2.2.2...v3.0.0

2.2.2

18 Nov 11:07
Compare
Choose a tag to compare

Maintenance release

  • Cypress 10 is now supported.
  • Updated some dependencies.

2.2.1

07 Oct 08:50
Compare
Choose a tag to compare

Bugfix release

  • Propagate exit codes when using Node.js <16

2.2.0

03 Oct 09:09
Compare
Choose a tag to compare

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

01 Jul 12:40
Compare
Choose a tag to compare

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 to bootstrapCmd 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

30 Jun 11:06
Compare
Choose a tag to compare
2.1.0 Pre-release
Pre-release

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 using gocd-cypress in package.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

22 Jun 11:37
Compare
Choose a tag to compare

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 to cypress 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, and CY_RESULTS_PATH. These settings were related to the removed testFolder positional parameter. This change also allows easier supporting of Cypress 10 in the future.
  • 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 the TERM 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).
  • 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.