Skip to content

Commit a5e41b7

Browse files
authored
chore: default only failed suites (#240)
1 parent 3ce10e6 commit a5e41b7

File tree

6 files changed

+12
-7
lines changed

6 files changed

+12
-7
lines changed

src/targets/chat.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ const default_inputs = {
223223
publish: 'test-summary',
224224
include_suites: true,
225225
max_suites: 10,
226-
only_failures: false,
226+
only_failures: true,
227227
include_failure_details: false,
228228
duration: '',
229229
metrics: [

src/targets/slack.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ const default_inputs = {
249249
publish: 'test-summary',
250250
include_suites: true,
251251
max_suites: 10,
252-
only_failures: false,
252+
only_failures: true,
253253
include_failure_details: false,
254254
duration: '',
255255
metrics: [

src/targets/teams.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ const default_inputs = {
284284
publish: 'test-summary',
285285
include_suites: true,
286286
max_suites: 10,
287-
only_failures: false,
287+
only_failures: true,
288288
include_failure_details: false,
289289
width: '',
290290
duration: '',

test/targets.chat.spec.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,8 @@ describe('targets - chat - performance', () => {
174174
{
175175
"name": "chat",
176176
"inputs": {
177-
"url": "http://localhost:9393/message"
177+
"url": "http://localhost:9393/message",
178+
"only_failures": false
178179
}
179180
}
180181
],

test/targets.slack.spec.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,8 @@ describe('targets - slack - performance', () => {
200200
{
201201
"name": "slack",
202202
"inputs": {
203-
"url": "http://localhost:9393/message"
203+
"url": "http://localhost:9393/message",
204+
"only_failures": false
204205
}
205206
}
206207
],

test/targets.teams.spec.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,8 @@ describe('targets - teams - performance', () => {
257257
{
258258
"name": "teams",
259259
"inputs": {
260-
"url": "http://localhost:9393/message"
260+
"url": "http://localhost:9393/message",
261+
"only_failures": false
261262
}
262263
}
263264
],
@@ -282,7 +283,8 @@ describe('targets - teams - performance', () => {
282283
{
283284
"name": "teams",
284285
"inputs": {
285-
"url": "http://localhost:9393/message"
286+
"url": "http://localhost:9393/message",
287+
"only_failures": false
286288
}
287289
}
288290
],
@@ -382,6 +384,7 @@ describe('targets - teams - performance', () => {
382384
"name": "teams",
383385
"inputs": {
384386
"url": "http://localhost:9393/message",
387+
"only_failures": false,
385388
"metrics": [
386389
{
387390
"name": "Samples",

0 commit comments

Comments
 (0)