Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed reports banner to point to https://cucumber.io/docs/cucumber/environment-variables/ #1703

Merged
merged 1 commit into from
Jun 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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