diff --git a/e2e-playwright/panels-suite/table-footer.spec.ts b/e2e-playwright/panels-suite/table-footer.spec.ts index 4c7064fa1fc..aecd1df29a3 100644 --- a/e2e-playwright/panels-suite/table-footer.spec.ts +++ b/e2e-playwright/panels-suite/table-footer.spec.ts @@ -11,7 +11,7 @@ const waitForTableLoad = async (loc: Page | Locator) => { }; test.describe('Panels test: Table - Footer', { tag: ['@panels', '@table'] }, () => { - test('Footer unaffected by filtering', async ({ gotoDashboardPage, selectors, page }) => { + test('Footer affected by filtering', async ({ gotoDashboardPage, selectors, page }) => { const dashboardPage = await gotoDashboardPage({ uid: DASHBOARD_UID, queryParams: new URLSearchParams({ editPanel: '4' }), @@ -51,7 +51,7 @@ test.describe('Panels test: Table - Footer', { tag: ['@panels', '@table'] }, () dashboardPage .getByGrafanaSelector(selectors.components.Panels.Visualization.TableNG.Footer.Value) .nth(minColumnIdx) - ).toHaveText(minReducerValue); + ).not.toHaveText(minReducerValue); }); test('Footer unaffected by sorting', async ({ gotoDashboardPage, selectors, page }) => { diff --git a/packages/grafana-ui/src/components/Table/TableNG/TableNG.tsx b/packages/grafana-ui/src/components/Table/TableNG/TableNG.tsx index e21e3c59be9..726a9a3ccf0 100644 --- a/packages/grafana-ui/src/components/Table/TableNG/TableNG.tsx +++ b/packages/grafana-ui/src/components/Table/TableNG/TableNG.tsx @@ -679,7 +679,7 @@ export function TableNG(props: TableNGProps) { ), renderSummaryCell: () => (