Add E2E smoke tests for Jaeger, PostgreSQL, Zipkin (#99515)

This commit is contained in:
Adam Yeats
2025-01-24 19:21:41 +00:00
committed by GitHub
parent 92d6762a3a
commit 4570f7319d
4 changed files with 51 additions and 0 deletions

View 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();
});