Skip to content

Commit

Permalink
adjust heartbeat and maintenance tests (#4938)
Browse files Browse the repository at this point in the history
Related to grafana/irm#45
  • Loading branch information
joeyorlando authored Aug 27, 2024
1 parent bde2119 commit ed24fdd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions grafana-plugin/e2e-tests/integrations/heartbeat.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 2 additions & 0 deletions grafana-plugin/e2e-tests/integrations/maintenanceMode.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit ed24fdd

Please sign in to comment.