mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 16:32:13 +08:00

* add e2e for grouping into tabs and rows * enable kubernetesDashboards feature toggle for e2e tests * remove unnecessary kubernetesDashboard feature flag enablement
16 lines
498 B
TypeScript
16 lines
498 B
TypeScript
import { e2e } from '../..';
|
|
|
|
export const groupIntoRow = () => {
|
|
e2e.components.CanvasGridAddActions.groupPanels().click({ scrollBehavior: 'nearest' });
|
|
cy.contains('Group into row').click();
|
|
};
|
|
|
|
export const groupIntoTab = () => {
|
|
e2e.components.CanvasGridAddActions.groupPanels().click({ scrollBehavior: 'nearest' });
|
|
cy.contains('Group into tab').click();
|
|
};
|
|
|
|
export const ungroupPanels = () => {
|
|
e2e.components.CanvasGridAddActions.ungroup().click({ scrollBehavior: 'nearest' });
|
|
};
|