doc-detective / doc-detective-core

The NPM package that powers Doc Detective's testing functionality.
https://doc-detective.com
MIT License
8 stars 2 forks source link

Bump doc-detective-common from 1.18.0-dev.3 to 1.18.0 #175

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 2 months ago

Bumps doc-detective-common from 1.18.0-dev.3 to 1.18.0.

Release notes

Sourced from doc-detective-common's releases.

v1.18.0

What's Changed

  • New timeout option for runShell and httpRequest actions. If an action exceeds its timeout, the step fails. Timeouts default to 1 minute.
  • New savePath, saveDirectory, and overwrite options for runShell and httpRequest. Save the output of a command or request to file for future reference or to include in your docs!
  • New maxVariation option for runShell and httpRequest. Much like screenshot diffing with saveScreenshot, this option compares command or response output against previous outputs and runs a percentage diff, failing the step if the diff is above the specified acceptable variation. Plays nice with the overwrite option's byVariation value.
  • New allowAdditionalFields option for httpRequest actions. If false, fails the step if the actual response data contains fields that aren't specified in responseData, allowing for strict object matching. Defaults to true.
  • httpRequest actions now return a actualResponseData field with the exact payload returned by the request. This mirrors runShell returning stdout and stderr values.
  • find's matchText can now match with regular expressions as well as strings. To specify a regular expression, begin and end the value with /.
  • New setVariables option for the find action sets variables from an element's text value that match a regular expression. Same formatting and behavior as runShell's setVariables option.

Full Changelog: https://github.com/doc-detective/doc-detective-common/compare/v1.17.0...v1.18.0

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 month ago

Looks like doc-detective-common is up-to-date now, so this is no longer needed.