-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to add a custom tile layer to the map
- Loading branch information
Showing
5 changed files
with
62 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import { test, expect } from '@grafana/plugin-e2e'; | ||
|
||
test('should display "No data" in case panel data is empty', async ({ | ||
gotoPanelEditPage, | ||
readProvisionedDashboard, | ||
}) => { | ||
test('panels should be defined', async ({ gotoPanelEditPage, readProvisionedDashboard }) => { | ||
const dashboard = await readProvisionedDashboard({ fileName: 'dashboard.json' }); | ||
const panelEditPage = await gotoPanelEditPage({ dashboard, id: '2' }); | ||
await expect(panelEditPage.panel.locator).toContainText('No data'); | ||
const panel1EditPage = await gotoPanelEditPage({ dashboard, id: '1' }); | ||
await expect(panel1EditPage.panel.locator).toBeDefined(); | ||
|
||
const panel2EditPage = await gotoPanelEditPage({ dashboard, id: '2' }); | ||
await expect(panel2EditPage.panel.locator).toBeDefined(); | ||
}); |