Skip to content
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

Notifications are not send to slack if "notifyOnlyOnFailure: true" #13

Open
fsimovski opened this issue Jan 5, 2022 · 1 comment
Open

Comments

@fsimovski
Copy link

fsimovski commented Jan 5, 2022

Hello @carmenmitru and @AutomationReddy,

I am using "wdio-slack-service": "^2.0.9" package

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.

@fsimovski 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
@Manuel-Suarez-Abascal
Copy link

@fsimovski any updates on this? I have the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants