Skip to content

Commit

Permalink
udpate test
Browse files Browse the repository at this point in the history
  • Loading branch information
pkdotson committed Jun 3, 2022
1 parent 7f63c48 commit 479a266
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ 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 @@ -40,7 +42,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');
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ describe('report list view', () => {
cy.get('[data-test="sort-header"]').eq(4).contains('Notification method');
cy.get('[data-test="sort-header"]').eq(5).contains('Created by');
cy.get('[data-test="sort-header"]').eq(6).contains('Owners');
cy.get('[data-test="sort-header"]').eq(7).contains('Active');
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');
});
});

0 comments on commit 479a266

Please sign in to comment.