Skip to content

Commit

Permalink
Merge branch 'release/6.1.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
codenirvana committed Mar 14, 2024
2 parents 903cc8e + 7b77e24 commit 7f8f802
Show file tree
Hide file tree
Showing 6 changed files with 222 additions and 215 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
6.1.2:
date: 2024-03-14
fixed bugs:
- GH-3212 Fixed a bug where `--color off` was not respected in summary table
chores:
- Updated dependencies

6.1.1:
date: 2024-02-05
chores:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ newman.run({
```

- [allure](https://github.com/allure-framework/allure-js/tree/master/packages/newman-reporter-allure) -
This reporter allow to create fully-featured allure reports that can allow you to have easy to understand HTML reports with features like historical data, link tests to the JIRA and all other benefits of using [allure framework](https://qameta.io/allure-report/).
This reporter allow to create fully-featured allure reports that can allow you to have easy to understand HTML reports with features like historical data, link tests to the JIRA and all other benefits of using [allure framework](https://allurereport.org/).
- [htmlextra](https://github.com/DannyDainton/newman-reporter-htmlextra) -
This is an updated version of the standard HTML reporter containing a more in-depth data output and a few helpful extras
- [csv](https://github.com/matt-ball/newman-reporter-csv) -
Expand Down
9 changes: 7 additions & 2 deletions lib/reporters/cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -426,12 +426,17 @@ _.assignIn(PostmanCLIReporter, {
* @returns {Table} - The constructed collection run statistics table.
*/
parseStatistics (stats, timings, transfers, options) {
var summaryTable;
var summaryTable,
style = { head: [] };

if (cliUtils.noTTY(options.color)) {
style.border = [];
}

// create the summary table
summaryTable = new Table({
chars: options.disableUnicode && cliUtils.cliTableTemplateFallback,
style: { head: [] },
style: style,
head: [E, 'executed', ' failed'],
colAligns: ['right', 'right', 'right'],
colWidths: [25]
Expand Down
Loading

0 comments on commit 7f8f802

Please sign in to comment.