Skip to content

Commit

Permalink
fixes for observability dashboards 2.17 release
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 625926c commit c755e5e
Show file tree
Hide file tree
Showing 2 changed files with 4 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('h1[data-test-subj="notebookTitle"]')
cy.get('h3[data-test-subj="notebookTitle"]')
.contains(notebookName)
.should('exist');

Expand Down
4 changes: 3 additions & 1 deletion cypress/utils/plugins/observability-dashboards/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ export const setTimeFilter = (setEndTime = false, refresh = true) => {
timeout: TIMEOUT_DELAY,
}).type('{selectall}' + endTime, { force: true });
}
if (refresh) cy.get('.euiButton__text').contains('Refresh').click();
if (refresh) {
cy.get('button[data-test-subj="superDatePickerApplyTimeButton"]').click();
}
cy.wait(delayTime);
};

Expand Down

0 comments on commit c755e5e

Please sign in to comment.