You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In wdio.config.ts I have the following configuration for importing notifications into the public slack channel:
const slack = require('wdio-slack-service');
//
services: [
'chromedriver',
[slack, {
webHookUrl: process.env.SLACK_WEBHOOK_URL, // Used to post notification to a particular channel
notifyOnlyOnFailure: true, // Send notification only on test failure
messageTitle: "Test Failed" // Name of the notification
}]
],
//
But when some test is filed, notification is not sent to the slack. Any ideas why? Thanks.
The text was updated successfully, but these errors were encountered:
fsimovski
changed the title
Notifications are not send to slac if "notifyOnlyOnFailure: false"
Notifications are not send to slack if "notifyOnlyOnFailure: true"
Jan 5, 2022
Hello @carmenmitru and @AutomationReddy,
I am using
"wdio-slack-service": "^2.0.9"
packageIn wdio.config.ts I have the following configuration for importing notifications into the public slack channel:
const slack = require('wdio-slack-service');
//
services: [
'chromedriver',
[slack, {
webHookUrl: process.env.SLACK_WEBHOOK_URL, // Used to post notification to a particular channel
notifyOnlyOnFailure: true, // Send notification only on test failure
messageTitle: "Test Failed" // Name of the notification
}]
],
//
But when some test is filed, notification is not sent to the slack. Any ideas why? Thanks.
The text was updated successfully, but these errors were encountered: