mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 00:42:23 +08:00
9 lines
409 B
TypeScript
9 lines
409 B
TypeScript
import { test, expect } from '@grafana/plugin-e2e';
|
|
|
|
test('Smoke test: plugin loads', async ({ createDataSourceConfigPage, page }) => {
|
|
await createDataSourceConfigPage({ type: 'grafana-postgresql-datasource' });
|
|
|
|
await expect(await page.getByText('Type: PostgreSQL', { exact: true })).toBeVisible();
|
|
await expect(await page.getByRole('heading', { name: 'Connection', exact: true })).toBeVisible();
|
|
});
|