mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
NewPanelEditor: UI update of add panel widget (#23715)
* Small update proposal to add panel widget * Fix smoketest * Minor tweaks * update snaps god damn it
This commit is contained in:
@@ -19,7 +19,7 @@ export const addPanel = (config?: Partial<AddPanelConfig>) => {
|
||||
getScenarioContext().then(({ lastAddedDashboardUid }) => {
|
||||
e2e.flows.openDashboard(lastAddedDashboardUid);
|
||||
e2e.pages.Dashboard.Toolbar.toolbarItems('Add panel').click();
|
||||
e2e.pages.AddDashboard.ctaButtons('Add Query').click();
|
||||
e2e.pages.AddDashboard.addNewPanel().click();
|
||||
e2e()
|
||||
.get('.ds-picker')
|
||||
.click()
|
||||
|
||||
@@ -3,6 +3,6 @@ import { pageFactory } from '../support';
|
||||
export const AddDashboard = pageFactory({
|
||||
url: '/dashboard/new',
|
||||
selectors: {
|
||||
ctaButtons: (text: string) => `Add Panel Widget CTA Button ${text}`,
|
||||
addNewPanel: 'Add new panel',
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user