Skip to content

chore: disable info about publishing reports in cucumber #3949

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

Merged
merged 1 commit into from
Sep 14, 2022

Conversation

trivikr
Copy link
Member

@trivikr trivikr commented Sep 14, 2022

Issue

Follow-up to #3946

Description

Cucumber shows info about publishing reports. This configuration disables it.

Testing

Before
$ yarn run cucumber-js -t @sqs
yarn run v1.22.19
$ /local/home/trivikr/workspace/aws-sdk-js-v3/node_modules/.bin/cucumber-js -t @sqs
.......................

3 scenarios (3 passed)
17 steps (17 passed)
0m02.400s (executing steps: 0m02.350s)
┌──────────────────────────────────────────────────────────────────────────────┐
│ 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' }                              │
└──────────────────────────────────────────────────────────────────────────────┘
Done in 3.23s.
After
$ yarn run cucumber-js -t @sqs
yarn run v1.22.19
$ /local/home/trivikr/workspace/aws-sdk-js-v3/node_modules/.bin/cucumber-js -t @sqs
.......................

3 scenarios (3 passed)
17 steps (17 passed)
0m02.298s (executing steps: 0m02.249s)
Done in 3.13s.

Additional context

Configuration: https://github.com/cucumber/cucumber-js/blob/main/docs/configuration.md


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@trivikr trivikr requested a review from a team as a code owner September 14, 2022 16:03
@trivikr trivikr merged commit 00ccadd into aws:main Sep 14, 2022
@trivikr trivikr deleted the cucumber-remove-publish-msg branch September 14, 2022 16:36
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants