mirror of https://github.com/grafana/grafana
Add E2E smoke tests for Jaeger, PostgreSQL, Zipkin (#99515)
parent
92d6762a3a
commit
4570f7319d
@ -0,0 +1,8 @@ |
||||
import { test, expect } from '@grafana/plugin-e2e'; |
||||
|
||||
test('Smoke test: plugin loads', async ({ createDataSourceConfigPage, page }) => { |
||||
await createDataSourceConfigPage({ type: 'jaeger' }); |
||||
|
||||
await expect(await page.getByText('Type: Jaeger', { exact: true })).toBeVisible(); |
||||
await expect(await page.getByRole('heading', { name: 'Connection', exact: true })).toBeVisible(); |
||||
}); |
@ -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(); |
||||
}); |
@ -0,0 +1,8 @@ |
||||
import { test, expect } from '@grafana/plugin-e2e'; |
||||
|
||||
test('Smoke test: plugin loads', async ({ createDataSourceConfigPage, page }) => { |
||||
await createDataSourceConfigPage({ type: 'zipkin' }); |
||||
|
||||
await expect(await page.getByText('Type: Zipkin', { exact: true })).toBeVisible(); |
||||
await expect(await page.getByRole('heading', { name: 'Connection', exact: true })).toBeVisible(); |
||||
}); |
Loading…
Reference in new issue