CloudWatch: Add playwright smoke test (#95087)
add smoke test to cloudwatch
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { test, expect } from '@grafana/plugin-e2e';
|
||||
|
||||
test('Smoke test: decoupled frontend plugin loads', async ({ createDataSourceConfigPage, page }) => {
|
||||
await createDataSourceConfigPage({ type: 'cloudwatch' });
|
||||
|
||||
await expect(await page.getByText('Type: CloudWatch', { exact: true })).toBeVisible();
|
||||
await expect(await page.getByRole('heading', { name: 'Connection Details', exact: true })).toBeVisible();
|
||||
});
|
||||
Reference in New Issue
Block a user