Dashboards/E2E: Add e2e test for adding and configuring a new panel (#104857)

This commit is contained in:
kay delaney
2025-05-02 16:23:49 +01:00
committed by GitHub
parent 6727f797f5
commit 4812cdf1a7
8 changed files with 66 additions and 3 deletions
+1
View File
@@ -16,6 +16,7 @@ export * from './importDashboard';
export * from './importDashboards';
export * from './userPreferences';
export * from './confirmModal';
export * as 'scenes' from './scenes';
export {
VISUALIZATION_ALERT_LIST,
+6
View File
@@ -0,0 +1,6 @@
import { e2e } from '../..';
export const addPanel = () => {
e2e.components.DashboardEditPaneSplitter.primaryBody().scrollTo('bottom');
e2e.components.CanvasGridAddActions.addPanel().should('be.visible').click();
};
+5
View File
@@ -0,0 +1,5 @@
import { e2e } from '../..';
export const configurePanel = () => {
e2e.components.Panels.Panel.content().contains('Configure').should('be.visible').click();
};
+2
View File
@@ -0,0 +1,2 @@
export * from './addPanel';
export * from './configurePanel';