Skip to content

Commit

Permalink
Fixed reports banner to point to https://cucumber.io/docs/cucumber/en…
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakhellesoy committed Jun 22, 2021
1 parent 6b09896 commit 102ec8f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ Please see [CONTRIBUTING.md](https://github.com/cucumber/cucumber/blob/master/CO

### Fixed

* Fixed reports banner to point to [new docs](https://cucumber.io/docs/cucumber/environment-variables/) about environment variables

## [7.3.0] (2021-06-17)

### Added
Expand Down
22 changes: 11 additions & 11 deletions features/publish.feature
Original file line number Diff line number Diff line change
Expand Up @@ -90,17 +90,17 @@ Feature: Publish reports
When I run cucumber-js
Then the error output contains the text:
"""
┌──────────────────────────────────────────────────────────────────────────┐
│ Share your Cucumber Report with your team at https://reports.cucumber.io │
│ │
│ Command line option: --publish │
│ Environment variable: CUCUMBER_PUBLISH_ENABLED=true │
│ │
│ More information at https://reports.cucumber.io/docs/cucumber-js
│ │
│ To disable this message, add this to your ./cucumber.js: │
│ module.exports = { default: '--publish-quiet' } │
└──────────────────────────────────────────────────────────────────────────┘
┌──────────────────────────────────────────────────────────────────────────────
│ Share your Cucumber Report with your team at https://reports.cucumber.io
│ Command line option: --publish
│ Environment variable: CUCUMBER_PUBLISH_ENABLED=true
│ More information at https://cucumber.io/docs/cucumber/environment-variables/
│ To disable this message, add this to your ./cucumber.js:
│ module.exports = { default: '--publish-quiet' }
└──────────────────────────────────────────────────────────────────────────────
"""

@spawn
Expand Down
2 changes: 1 addition & 1 deletion src/cli/publish_banner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const formattedReportUrl = underlineBoldCyan('https://reports.cucumber.io')
const formattedEnv =
colors.cyan('CUCUMBER_PUBLISH_ENABLED') + '=' + colors.cyan('true')
const formattedMoreInfoUrl = underlineBoldCyan(
'https://reports.cucumber.io/docs/cucumber-js'
'https://cucumber.io/docs/cucumber/environment-variables/'
)

const text = `\
Expand Down

0 comments on commit 102ec8f

Please sign in to comment.