ElasticSearch: Add playwright smoke test (#95092)

add smoke test to elastic search
This commit is contained in:
Nathan Marrs
2024-10-21 13:13:40 -07:00
committed by GitHub
parent c94468339c
commit 34d1a75ab0
2 changed files with 17 additions and 0 deletions
@@ -0,0 +1,8 @@
import { test, expect } from '@grafana/plugin-e2e';
test('Smoke test: decoupled frontend plugin loads', async ({ createDataSourceConfigPage, page }) => {
await createDataSourceConfigPage({ type: 'elasticsearch' });
await expect(await page.getByText('Type: Elasticsearch', { exact: true })).toBeVisible();
await expect(await page.getByRole('heading', { name: 'Connection', exact: true })).toBeVisible();
});