Skip to content

Commit

Permalink
update notebooks testing
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Tackett <[email protected]>
  • Loading branch information
Adam Tackett committed Oct 28, 2024
1 parent 5b5d5e9 commit d9515c1
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const makeTestNotebook = () => {

cy.contains(`Notebook "${notebookName}" successfully created`);

cy.get('h1[data-test-subj="notebookTitle"]')
cy.get('[data-test-subj="notebookTitle"]')
.contains(notebookName)
.should('exist');

Expand All @@ -61,8 +61,7 @@ const deleteNotebook = (notebookName) => {
.find('input[type="checkbox"]')
.check();

cy.get('button[data-test-subj="notebookTableActionBtn"]').click();
cy.get('button[data-test-subj="deleteNotebookBtn"]').click();
cy.get('button[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');
Expand Down

0 comments on commit d9515c1

Please sign in to comment.