mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* cleanup tests * more cleanup * added links * test legacy hooks * test legacy hooks * update codeowners * revert package changes * add project specfic example script * remove console log * Update .github/CODEOWNERS Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com> * Update CODEOWNERS * use correct file names * cleanup tests --------- Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com>
11 lines
410 B
TypeScript
11 lines
410 B
TypeScript
import { test, expect } from '@grafana/plugin-e2e';
|
|
|
|
import pluginJson from '../plugin.json';
|
|
import { testIds } from '../testIds';
|
|
|
|
test('path link', async ({ page }) => {
|
|
await page.goto(`/a/${pluginJson.id}/added-links`);
|
|
await page.getByTestId(testIds.addedLinksPage.container).getByText('Basic link').click();
|
|
await expect(page.getByTestId(testIds.appA.container)).toHaveText('Hello Grafana!');
|
|
});
|