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

intkeys: fix site24x7 label bug #3763

Merged
merged 2 commits into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion graphql2/graphqlapp/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func (a *Query) IntegrationKeyTypes(ctx context.Context) ([]graphql2.Integration
{ID: "email", Name: "Email", Label: "Email Address", Enabled: cfg.EmailIngressEnabled()},
{ID: "generic", Name: "Generic API", Label: "Generic Webhook URL", Enabled: true},
{ID: "grafana", Name: "Grafana", Label: "Grafana Webhook URL", Enabled: true},
{ID: "site24x7", Name: "Generic", Label: "Site24x7 Webhook URL", Enabled: true},
{ID: "site24x7", Name: "Site 24x7", Label: "Site24x7 Webhook URL", Enabled: true},
{ID: "prometheusAlertmanager", Label: "Alertmanager Webhook URL", Name: "Prometheus Alertmanager", Enabled: true},
}, nil
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'
import type { Meta, StoryObj } from '@storybook/react'
import PolicyStepCreateDialogDest from './PolicyStepCreateDialogDest'
import { expect, userEvent, waitFor, within } from '@storybook/test'
import { expect, userEvent, waitFor, within, fn } from '@storybook/test'
import { handleDefaultConfig, handleExpFlags } from '../storybook/graphql'
import { HttpResponse, graphql } from 'msw'
import { DestFieldValueError } from '../util/errtypes'
Expand Down Expand Up @@ -89,6 +89,7 @@ export const CreatePolicyStep: Story = {
},
args: {
escalationPolicyID: '1',
onClose: fn(),
},
play: async ({ args, canvasElement }) => {
const canvas = within(canvasElement)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'
import type { Meta, StoryObj } from '@storybook/react'
import { expect, userEvent, waitFor, within } from '@storybook/test'
import { expect, userEvent, waitFor, within, fn } from '@storybook/test'
import ScheduleOnCallNotificationsEditDialogDest from './ScheduleOnCallNotificationsEditDialogDest'
import { HttpResponse, graphql } from 'msw'
import { handleDefaultConfig, handleExpFlags } from '../../storybook/graphql'
Expand All @@ -13,6 +13,7 @@ const meta = {
args: {
scheduleID: 'create-test',
ruleID: 'existing-id',
onClose: fn(),
},
parameters: {
docs: {
Expand Down
Loading