Dashboards/E2E: Add tests for grouping and ungrouping into rows and tabs (#105315)
* add e2e for grouping into tabs and rows * enable kubernetesDashboards feature toggle for e2e tests * remove unnecessary kubernetesDashboard feature flag enablement
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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' });
|
||||
};
|
||||
Reference in New Issue
Block a user