adjust heartbeat and maintenance tests (#4938)
Related to https://github.com/grafana/irm/pull/45
This commit is contained in:
parent
bde211986c
commit
ed24fdd0b6
2 changed files with 4 additions and 0 deletions
|
|
@ -6,6 +6,8 @@ import { goToOnCallPage } from '../utils/navigation';
|
|||
const HEARTBEAT_SETTINGS_FORM_TEST_ID = 'heartbeat-settings-form';
|
||||
|
||||
test.describe("updating an integration's heartbeat interval works", async () => {
|
||||
test.slow();
|
||||
|
||||
const _openHeartbeatSettingsForm = async (page: Page) => {
|
||||
await page.getByTestId('integration-settings-context-menu-wrapper').click();
|
||||
await page.getByTestId('integration-heartbeat-settings').click();
|
||||
|
|
|
|||
|
|
@ -13,6 +13,8 @@ import { goToOnCallPage } from '../utils/navigation';
|
|||
type MaintenanceModeType = 'Debug' | 'Maintenance';
|
||||
|
||||
test.describe('maintenance mode works', () => {
|
||||
test.slow();
|
||||
|
||||
const MAINTENANCE_DURATION = '1 hour';
|
||||
const REMAINING_TIME_TEXT = '59m left';
|
||||
const REMAINING_TIME_TOOLTIP_TEST_ID = 'maintenance-mode-remaining-time-tooltip';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue