grafana/e2e-playwright/plugin-e2e/cloudmonitoring/cloudmonitoring.spec.ts

15 lines
455 B
TypeScript

import { test, expect } from '@grafana/plugin-e2e';
test(
'Smoke test: decoupled frontend plugin loads',
{
tag: '@plugins',
},
async ({ createDataSourceConfigPage, page }) => {
await createDataSourceConfigPage({ type: 'stackdriver' });
await expect(await page.getByText('Type: Google Cloud Monitoring', { exact: true })).toBeVisible();
await expect(await page.getByText('Google JWT File', { exact: true })).toBeVisible();
}
);