mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Increase timeout and add retry to flaky EditContactPoint test (#96372)
This commit is contained in:
parent
8eff84661a
commit
c28c8f920f
@ -36,6 +36,7 @@ const getTemplatePreviewContent = async () =>
|
|||||||
const templatesSelectorTestId = 'existing-templates-selector';
|
const templatesSelectorTestId = 'existing-templates-selector';
|
||||||
|
|
||||||
describe('Edit contact point', () => {
|
describe('Edit contact point', () => {
|
||||||
|
jest.retryTimes(2);
|
||||||
it('can edit a contact point with existing template field values', async () => {
|
it('can edit a contact point with existing template field values', async () => {
|
||||||
const { user } = renderEditContactPoint('lotsa-emails');
|
const { user } = renderEditContactPoint('lotsa-emails');
|
||||||
|
|
||||||
@ -72,5 +73,5 @@ describe('Edit contact point', () => {
|
|||||||
await user.click(screen.getByRole('button', { name: /save contact point/i }));
|
await user.click(screen.getByRole('button', { name: /save contact point/i }));
|
||||||
|
|
||||||
expect(await screen.findByText(/redirected/i)).toBeInTheDocument();
|
expect(await screen.findByText(/redirected/i)).toBeInTheDocument();
|
||||||
});
|
}, 600000);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user