mirror of
https://github.com/grafana/grafana.git
synced 2025-02-16 10:24:54 -06:00
test(mssql-datasource): add smoke test to assert decoupled plugin assets are built and load
9 lines
414 B
TypeScript
9 lines
414 B
TypeScript
import { test, expect } from '@grafana/plugin-e2e';
|
|
|
|
test('Smoke test: decoupled frontend plugin loads', async ({ createDataSourceConfigPage, page }) => {
|
|
await createDataSourceConfigPage({ type: 'mssql' });
|
|
|
|
await expect(await page.getByText('Type: Microsoft SQL Server', { exact: true })).toBeVisible();
|
|
await expect(await page.getByRole('heading', { name: 'Connection', exact: true })).toBeVisible();
|
|
});
|