* WIP * Update yarn.lock * Align uuid dependency * Add e2e test and update * Update cue version * Fix lint * Update snapshot test * Fix test that was importing from coupled module * Fix lint * Update public/app/plugins/datasource/loki/package.json Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com> --------- Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
9 lines
397 B
TypeScript
9 lines
397 B
TypeScript
import { test, expect } from '@grafana/plugin-e2e';
|
|
|
|
test('Smoke test: decoupled frontend plugin loads', async ({ createDataSourceConfigPage, page }) => {
|
|
await createDataSourceConfigPage({ type: 'loki' });
|
|
|
|
await expect(await page.getByText('Type: Loki', { exact: true })).toBeVisible();
|
|
await expect(await page.getByRole('heading', { name: 'Connection', exact: true })).toBeVisible();
|
|
});
|