mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 05:22:31 +08:00
Add E2E smoke tests for Jaeger, PostgreSQL, Zipkin (#99515)
This commit is contained in:
8
e2e/plugin-e2e/postgres/postgres.spec.ts
Normal file
8
e2e/plugin-e2e/postgres/postgres.spec.ts
Normal file
@ -0,0 +1,8 @@
|
||||
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();
|
||||
});
|
Reference in New Issue
Block a user