diff --git a/grafana-plugin/e2e-tests/schedules/addRotation.test.ts b/grafana-plugin/e2e-tests/schedules/addRotation.test.ts index e67c03e27f..c43dafbc3f 100644 --- a/grafana-plugin/e2e-tests/schedules/addRotation.test.ts +++ b/grafana-plugin/e2e-tests/schedules/addRotation.test.ts @@ -1,8 +1,6 @@ -import dayjs from 'dayjs'; - import { test, expect, Locator } from '../fixtures'; import { clickButton, generateRandomValue } from '../utils/forms'; -import { createOnCallSchedule, getOverrideFormDateInputs } from '../utils/schedule'; +import { createOnCallSchedule } from '../utils/schedule'; test('Fills in Rotation time and reacts to timezone change', async ({ adminRolePage }) => { const { page, userName } = adminRolePage; diff --git a/grafana-plugin/e2e-tests/utils/schedule.ts b/grafana-plugin/e2e-tests/utils/schedule.ts index aa595ac0ca..c08172f199 100644 --- a/grafana-plugin/e2e-tests/utils/schedule.ts +++ b/grafana-plugin/e2e-tests/utils/schedule.ts @@ -8,7 +8,7 @@ export const createOnCallSchedule = async ( page: Page, scheduleName: string, userName: string, - withRotation: boolean = true + withRotation = true ): Promise => { // go to the schedules page await goToOnCallPage(page, 'schedules');