From 8f34a68be186cf656d30da03df37669e9d67e676 Mon Sep 17 00:00:00 2001 From: Ritvi Bhatt Date: Mon, 16 Dec 2024 13:12:06 -0800 Subject: [PATCH] fix notebook delete Signed-off-by: Ritvi Bhatt --- .../plugins/observability-dashboards/6_notebooks.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');