fix(ui): use slack as default endpoint
This is so that in cloud there is not a weird UX for initial users who see http, but cannot create an http endpointpull/15085/head
parent
a23962fef8
commit
4dac2f51f7
|
@ -50,7 +50,7 @@ describe('Notification Endpoints', () => {
|
|||
.click()
|
||||
.within(() => {
|
||||
cy.getByTestID('endpoint--dropdown--button').within(() => {
|
||||
cy.contains('HTTP')
|
||||
cy.contains('Slack')
|
||||
})
|
||||
|
||||
cy.getByTestID('endpoint--dropdown-item pagerduty').click()
|
||||
|
|
|
@ -146,13 +146,11 @@ export const DEFAULT_ENDPOINT_URLS = {
|
|||
|
||||
export const NEW_ENDPOINT_DRAFT: NotificationEndpoint = {
|
||||
name: 'Name this Endpoint',
|
||||
method: 'POST',
|
||||
authMethod: 'none',
|
||||
description: '',
|
||||
status: 'active',
|
||||
type: 'http',
|
||||
type: 'slack',
|
||||
token: '',
|
||||
url: DEFAULT_ENDPOINT_URLS['http'],
|
||||
url: DEFAULT_ENDPOINT_URLS['slack'],
|
||||
}
|
||||
|
||||
export const NEW_ENDPOINT_FIXTURES: NotificationEndpoint[] = [
|
||||
|
|
Loading…
Reference in New Issue