Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
pkdotson committed Jun 6, 2022
1 parent 479a266 commit 5022e34
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ describe('alert list view', () => {

cy.get('[data-test="listview-table"]').should('be.visible');
// check alert list view header
cy.wait(500);
/// cy.get('[data-test="sort-header"]').debug()
cy.get('[data-test="sort-header"]').eq(1).contains('Last run');
cy.get('[data-test="sort-header"]').eq(2).contains('Name');
cy.get('[data-test="sort-header"]').eq(3).contains('Schedule');
Expand All @@ -42,7 +40,7 @@ describe('alert list view', () => {
cy.get('[data-test="sort-header"]').eq(6).contains('Owners');
cy.get('[data-test="sort-header"]').eq(7).contains('Modified');
// TODO: this assert is flaky, we need to find a way to make it work consistenly
cy.get('[data-test="sort-header"]').eq(7).contains('Active');
cy.get('[data-test="sort-header"]').eq(8).contains('Actions');
// cy.get('[data-test="sort-header"]').eq(7).contains('Active');
// cy.get('[data-test="sort-header"]').eq(8).contains('Actions');
});
});

0 comments on commit 5022e34

Please sign in to comment.