Skip to content

Commit

Permalink
test: basic share coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
gtk-grafana committed Jan 7, 2025
1 parent 0a47fce commit b59757f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/exploreServicesBreakDown.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1146,6 +1146,12 @@ test.describe('explore services breakdown page', () => {
expect(boundingBoxAsc.x).toBeLessThan(viewportSize.width / 2);
});

test('url sharing', async ({ page }) => {
explorePage.blockAllQueriesExcept({ refIds: ['NA'] });
await page.getByLabel('Copy shortened URL').click();
await expect(page.getByText('Shortened link copied to')).toBeVisible();
});

test('panel menu: label name panel should open links in explore', async ({ page, context }) => {
await explorePage.goToLabelsTab();
await page.getByTestId('data-testid Panel menu detected_level').click();
Expand Down

0 comments on commit b59757f

Please sign in to comment.