Skip to content

Commit

Permalink
remove html tag from data test subj
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Sebastian <[email protected]>
  • Loading branch information
paulstn committed Sep 10, 2024
1 parent 2a355c7 commit ad29c0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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('h3[data-test-subj="notebookTitle"]')
cy.get('[data-test-subj="notebookTitle"]')
.contains(notebookName)
.should('exist');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export const setTimeFilter = (setEndTime = false, refresh = true) => {
}).type('{selectall}' + endTime, { force: true });
}
if (refresh) {
cy.get('button[data-test-subj="superDatePickerApplyTimeButton"]').click();
cy.get('[data-test-subj="superDatePickerApplyTimeButton"]').click();
}
cy.wait(delayTime);
};
Expand Down

0 comments on commit ad29c0d

Please sign in to comment.