Skip to content

Commit

Permalink
simplify selector
Browse files Browse the repository at this point in the history
Signed-off-by: Sirazh Gabdullin <[email protected]>
  • Loading branch information
curq committed Jul 24, 2023
1 parent e1bc8fc commit df82217
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const removeBucket = (bucket) => {
export const testSplitTables = (num) => {
cy.getElementByTestId('visTable')
.should('have.class', 'visTable')
.find('[class*="visTable__group"]')
.find('.visTable__group')
.should(($tables) => {
// should have found specified number of tables
expect($tables).to.have.length(num);
Expand Down

0 comments on commit df82217

Please sign in to comment.