Skip to content

Commit 30ec23a

Browse files
1 parent 6b09896 commit 30ec23a

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
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

Lines changed: 11 additions & 11 deletions
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

Lines changed: 1 addition & 1 deletion
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)