diff --git a/.cypress/fixtures/test_slack_channel.json b/.cypress/fixtures/test_slack_channel.json index 7643b2b0..e24a9446 100644 --- a/.cypress/fixtures/test_slack_channel.json +++ b/.cypress/fixtures/test_slack_channel.json @@ -5,7 +5,7 @@ "config_type": "slack", "is_enabled": true, "slack": { - "url": "https://sample-slack-webhook" + "url": "https://hooks.slack.com/services/A123456/B1234567/A1B2C3D4E5F6G7H8I9J0K1L2" } } } \ No newline at end of file diff --git a/.cypress/integration/channels.spec.js b/.cypress/integration/channels.spec.js index d6c4804f..7d82fa7b 100644 --- a/.cypress/integration/channels.spec.js +++ b/.cypress/integration/channels.spec.js @@ -35,7 +35,7 @@ describe('Test create channels', () => { cy.get('[placeholder="Enter channel name"]').type('Test slack channel'); cy.get('[data-test-subj="create-channel-slack-webhook-input"]').type( - 'https://sample-slack-webhook' + 'https://hooks.slack.com/services/A123456/B1234567/A1B2C3D4E5F6G7H8I9J0K1L2' ); cy.wait(delay); cy.get('[data-test-subj="create-channel-send-test-message-button"]').click({ diff --git a/public/pages/Channels/__tests__/__snapshots__/ChannelSettingsDetails.test.tsx.snap b/public/pages/Channels/__tests__/__snapshots__/ChannelSettingsDetails.test.tsx.snap index af944db4..5c5f7e07 100644 --- a/public/pages/Channels/__tests__/__snapshots__/ChannelSettingsDetails.test.tsx.snap +++ b/public/pages/Channels/__tests__/__snapshots__/ChannelSettingsDetails.test.tsx.snap @@ -182,7 +182,7 @@ exports[` spec renders Slack channel 1`] = `
- https://chimehook + https://hooks.slack.com/services/A123456/B1234567/A1B2C3D4E5F6G7H8I9J0K1L2
diff --git a/test/mocks/mockData.ts b/test/mocks/mockData.ts index ef20f091..786e8096 100644 --- a/test/mocks/mockData.ts +++ b/test/mocks/mockData.ts @@ -29,7 +29,7 @@ const mockSlack: ChannelItemType = { config_type: 'slack', is_enabled: false, slack: { - url: 'https://chimehook', + url: 'https://hooks.slack.com/services/A123456/B1234567/A1B2C3D4E5F6G7H8I9J0K1L2', }, config_id: 'test-slack', created_time_ms: 1622670451891,