Skip to content

Commit

Permalink
Fix Alerts SA tests (#1572)
Browse files Browse the repository at this point in the history
* add ; to tests

Signed-off-by: Riya Saxena <[email protected]>

* fix channel tests in notifications

Signed-off-by: Riya Saxena <[email protected]>

* fix integ tests for SA alerts

Signed-off-by: Riya Saxena <[email protected]>

* fix integ tests for SA alerts

Signed-off-by: Riya Saxena <[email protected]>

* fix lint errors

Signed-off-by: Riya Saxena <[email protected]>

---------

Signed-off-by: Riya Saxena <[email protected]>
  • Loading branch information
riysaxen-amzn authored Sep 13, 2024
1 parent c9884bf commit c6217da
Showing 1 changed file with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -398,11 +398,14 @@ 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 });
});
cy.wait(2000);
cy.get('[data-text="Status"]').should('be.visible').click({ force: true });
cy.get('[class="euiFilterSelect__items"]')
.should('be.visible')
.within(() => {
cy.contains('Active').click({ force: true });
cy.contains('Acknowledged').click({ force: true });
});

// Wait for filter to apply
cy.wait(2000);
Expand Down

0 comments on commit c6217da

Please sign in to comment.