diff --git a/cypress/integration/plugins/observability-dashboards/6_notebooks.spec.js b/cypress/integration/plugins/observability-dashboards/6_notebooks.spec.js index 46c8c2616..d8904766c 100644 --- a/cypress/integration/plugins/observability-dashboards/6_notebooks.spec.js +++ b/cypress/integration/plugins/observability-dashboards/6_notebooks.spec.js @@ -61,7 +61,7 @@ const deleteNotebook = (notebookName) => { .find('input[type="checkbox"]') .check(); - cy.get('button[data-test-subj="deleteSelectedNotebooks"]').click(); + cy.get('[data-test-subj="deleteSelectedNotebooks"]').click(); cy.get('input[data-test-subj="delete-notebook-modal-input"]').focus(); cy.get('input[data-test-subj="delete-notebook-modal-input"]').type('delete');