in page-object-model/dashboard-page/dashboard-page.js [76:81]
openVisualizationContextMenu(panelName) {
const removeSpaces = (keyword) => {
return keyword.replace(/\s+/g, '')
}
this.testRunner.get(`[data-test-subj="embeddablePanelHeading-${removeSpaces(panelName)}"]`).find('[data-test-subj="embeddablePanelToggleMenuIcon"]').click()
}