mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Plugins: Added e2e flow for triggering panel menu UI extensions (#64855)
Added e2e flow for clicking a panel menu extension item.
This commit is contained in:
17
e2e/e2e-flow-suite/00-panel-menu-extension.spec.ts
Normal file
17
e2e/e2e-flow-suite/00-panel-menu-extension.spec.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { e2e } from '@grafana/e2e';
|
||||
|
||||
e2e.scenario({
|
||||
describeName: 'Panel menu ui extension flow',
|
||||
itName: 'Should be possible to click extension menu item',
|
||||
addScenarioDataSource: false,
|
||||
addScenarioDashBoard: false,
|
||||
skipScenario: false,
|
||||
scenario: () => {
|
||||
const panelTitle = 'Random walk series';
|
||||
const extensionTitle = 'Copy';
|
||||
|
||||
e2e.flows.openDashboard({ uid: '5SdHCasdf' });
|
||||
e2e.flows.openPanelMenuExtension(extensionTitle, panelTitle);
|
||||
e2e.flows.assertSuccessNotification();
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user