Skip to content

Commit

Permalink
updated detector and alerts tests (#1460) (#1462)
Browse files Browse the repository at this point in the history
Signed-off-by: Amardeepsingh Siglani <[email protected]>
(cherry picked from commit db7aee2)

Co-authored-by: Amardeepsingh Siglani <[email protected]>
  • Loading branch information
opensearch-trigger-bot[bot] and amsiglan authored Aug 2, 2024
1 parent e2bd84e commit 5cd8c83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const validateAlertPanel = (alertName) =>
.eq(2)
.within(() => cy.sa_getElementByText('button', alertName));

const dataSourceLabel = 'Select or input source indexes or index patterns';
const dataSourceLabel = 'Select indexes/aliases';

const getDataSourceField = () => cy.sa_getFieldByLabel(dataSourceLabel);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ describe('Alerts', () => {
.should('have.length', 1);

// Filter the table to show only "Acknowledged" alerts
cy.get('[data-text="Status"]').click({ force: true });
cy.get('[class="euiFilterSelect__items"]').within(() => {
cy.contains('Active').click({ force: true });
cy.contains('Acknowledged').click({ force: true });
Expand Down

0 comments on commit 5cd8c83

Please sign in to comment.