Skip to content

Commit

Permalink
Added 1 more test to check the default sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
Fewwy committed Mar 30, 2022
1 parent 05caa9a commit b2ad6a3
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,11 @@ describe('non-empty successful affected clusters table', () => {
});
});
});
it('sorting table using last seen by default', () => {
cy.get(TABLE)
.find('th[data-key=2]')
.should('have.class', 'pf-c-table__sort pf-m-selected');
});

// TODO remove: the test is not stable for changes in data
it('sorting the last seen column', () => {
Expand Down

0 comments on commit b2ad6a3

Please sign in to comment.