Skip to content

Commit 9e12d92

Browse files
aslakhellesoydavidjgoss
authored andcommitted
1 parent 6e60589 commit 9e12d92

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ Please see [CONTRIBUTING.md](https://github.com/cucumber/cucumber/blob/master/CO
1919

2020
### Fixed
2121

22+
* Fixed reports banner to point to [new docs](https://cucumber.io/docs/cucumber/environment-variables/) about environment variables
23+
2224
## [7.3.0] (2021-06-17)
2325

2426
### Added

features/publish.feature

+11-11
Original file line numberDiff line numberDiff line change
@@ -90,17 +90,17 @@ Feature: Publish reports
9090
When I run cucumber-js
9191
Then the error output contains the text:
9292
"""
93-
┌──────────────────────────────────────────────────────────────────────────┐
94-
│ Share your Cucumber Report with your team at https://reports.cucumber.io │
95-
│ │
96-
│ Command line option: --publish │
97-
│ Environment variable: CUCUMBER_PUBLISH_ENABLED=true │
98-
│ │
99-
│ More information at https://reports.cucumber.io/docs/cucumber-js
100-
│ │
101-
│ To disable this message, add this to your ./cucumber.js: │
102-
│ module.exports = { default: '--publish-quiet' } │
103-
└──────────────────────────────────────────────────────────────────────────┘
93+
┌──────────────────────────────────────────────────────────────────────────────
94+
│ Share your Cucumber Report with your team at https://reports.cucumber.io
95+
96+
│ Command line option: --publish
97+
│ Environment variable: CUCUMBER_PUBLISH_ENABLED=true
98+
99+
│ More information at https://cucumber.io/docs/cucumber/environment-variables/
100+
101+
│ To disable this message, add this to your ./cucumber.js:
102+
│ module.exports = { default: '--publish-quiet' }
103+
└──────────────────────────────────────────────────────────────────────────────
104104
"""
105105

106106
@spawn

src/cli/publish_banner.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const formattedReportUrl = underlineBoldCyan('https://reports.cucumber.io')
88
const formattedEnv =
99
colors.cyan('CUCUMBER_PUBLISH_ENABLED') + '=' + colors.cyan('true')
1010
const formattedMoreInfoUrl = underlineBoldCyan(
11-
'https://reports.cucumber.io/docs/cucumber-js'
11+
'https://cucumber.io/docs/cucumber/environment-variables/'
1212
)
1313

1414
const text = `\

0 commit comments

Comments
 (0)