explicitly join the slack channel
This commit is contained in:
parent
ac94f70a16
commit
d683e24259
|
@ -71,6 +71,8 @@ export async function sendFailedTestMessageToSlack( testName ) {
|
||||||
const web = initializeWeb();
|
const web = initializeWeb();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
// Adding the app does not add the app user to the channel
|
||||||
|
await web.conversations.join( E2E_SLACK_CHANNEL );
|
||||||
// For details, see: https://api.slack.com/methods/chat.postMessage
|
// For details, see: https://api.slack.com/methods/chat.postMessage
|
||||||
await web.chat.postMessage({
|
await web.chat.postMessage({
|
||||||
channel: E2E_SLACK_CHANNEL,
|
channel: E2E_SLACK_CHANNEL,
|
||||||
|
|
Loading…
Reference in New Issue