Skip to content

Commit

Permalink
chore: provide mod:download command and stabilize schedule test (#5000)
Browse files Browse the repository at this point in the history
# What this PR does

provide mod:download command and stabilize schedule test


## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.
  • Loading branch information
brojd authored Sep 9, 2024
1 parent e93858e commit 6dad8a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions grafana-plugin/e2e-tests/schedules/schedulesList.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ test('schedule calendar and list of schedules is correctly displayed', async ({
await createOnCallSchedule(page, onCallScheduleName, userName);

await goToOnCallPage(page, 'schedules');
await page.waitForLoadState('networkidle');

// schedule slots are present in calendar
const nbOfSlotsInCalendar = await page.getByTestId('schedule-slot').count();
Expand Down
1 change: 1 addition & 0 deletions grafana-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"labels:unlink": "pnpm --dir ../../gops-labels/frontend unlink",
"mage:build-dev": "go mod download && mage -v build:debug",
"mage:watch": "go mod download && mage -v watch",
"mod:download": "go mod download",
"test-utc": "TZ=UTC jest --verbose --testNamePattern '^((?!@london-tz).)*$'",
"test-london-tz": "TZ=Europe/London jest --verbose --testNamePattern '@london-tz'",
"test": "PLUGIN_ID=grafana-oncall-app pnpm test-utc && pnpm test-london-tz",
Expand Down

0 comments on commit 6dad8a0

Please sign in to comment.