zebrunner-playwright-agent
Advanced tools
Comparing version
{ | ||
"name": "zebrunner-playwright-agent", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"main": "dist/index.js", | ||
@@ -19,3 +19,2 @@ "license": "MIT", | ||
"@playwright/test": "^1.17.1", | ||
"@slack/web-api": "^6.5.1", | ||
"playwright": "^1.17.1", | ||
@@ -26,2 +25,3 @@ "prettier": "^2.5.1", | ||
"dependencies": { | ||
"@slack/web-api": "^6.5.1", | ||
"@supercharge/promise-pool": "^2.0.0", | ||
@@ -28,0 +28,0 @@ "axios": "^0.24.0" |
@@ -76,5 +76,9 @@ # pw-zeb  [](https://github.com/ryanrosello-og/zebrunner-playwright-agent/blob/master/LICENSE) | ||
**slackEnabled** <default: true> - when true, the reporter will post the test summary to the desired Slack channels | ||
**slackDisplayNumberOfFailures**: <default: 10> - How many failed tests will be show in the Slack message | ||
**slackReportOnlyOnFailures**: <default: true> - Slack message will only be posted if at least 1 failed test exists | ||
**slackReportingChannels**: e.g.'zeb,general' - comma separated values denoting the channel(s) where the test summary will be posted to | ||
**slackStacktraceLength**: <default: 270> - the maximum number of characters from the stack trace to be included in the summary for each failed test | ||
@@ -103,3 +107,3 @@ | ||
The example above will send the test summary results to both the #zeb and #general channels. It will only post results if more than 1 failed test is encountered. Only the first 10 failures will be sent and the length of the stack trace will be limited to 270 characters. | ||
The example above will send the test summary results to both the `#zeb` and `#general` channels. It will only post results if more than 1 failed test is encountered. Only the first 10 failures will be sent and the length of the stack trace will be limited to 270 characters. | ||
@@ -106,0 +110,0 @@ After successful configuration, you should now see results posted to Slack similar to the image below: |
546279
04
-20%116
3.57%3
50%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added