* Table: Enable tableNextGen by default * kill off tableNextGen feature flag * i18n * i18n * i18n * remove state beta from table panel * fix migration for 0 decimals migration * add explicit auto option bacjk * match impl from previous migrations code * try changing some selectors * remove timezone test from Cypress * fix PlaylistForm unit test * fix some selectors * clean up i18n, are these gridcells somehow? * return a couple of selectors caught in the dragnet to being cell instead of gridcell * fix i18n for en-US * clean up gdevs now that wrapHeaderText has no default * update role in e2e for when it is re-enabled
19 lines
687 B
TypeScript
19 lines
687 B
TypeScript
import { test, expect } from '@grafana/plugin-e2e';
|
|
|
|
test.use({ viewport: { width: 1280, height: 1080 } });
|
|
|
|
test.describe('Panels test: Table - Sparkline', { tag: ['@panels', '@table'] }, () => {
|
|
test('Tests sparkline tables are successfully rendered', async ({ gotoDashboardPage, selectors, page }) => {
|
|
await gotoDashboardPage({
|
|
uid: 'd6373b49-1957-4f00-9218-ee2120d3ecd9',
|
|
queryParams: new URLSearchParams({ editPanel: '2' }),
|
|
});
|
|
|
|
await expect(page.getByRole('grid')).toBeVisible();
|
|
|
|
const uplotCount = await page.locator('.uplot').count();
|
|
const rowCount = await page.getByRole('row').count();
|
|
expect(uplotCount).toBe(rowCount - 1);
|
|
});
|
|
});
|