Dashboards/E2E: Add e2e test for adding and configuring a new panel (#104857)
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
import { e2e } from '../..';
|
||||
|
||||
export const addPanel = () => {
|
||||
e2e.components.DashboardEditPaneSplitter.primaryBody().scrollTo('bottom');
|
||||
e2e.components.CanvasGridAddActions.addPanel().should('be.visible').click();
|
||||
};
|
||||
@@ -0,0 +1,5 @@
|
||||
import { e2e } from '../..';
|
||||
|
||||
export const configurePanel = () => {
|
||||
e2e.components.Panels.Panel.content().contains('Configure').should('be.visible').click();
|
||||
};
|
||||
@@ -0,0 +1,2 @@
|
||||
export * from './addPanel';
|
||||
export * from './configurePanel';
|
||||
Reference in New Issue
Block a user