Skip to content

Commit

Permalink
Fix results amount assertion in datafileSearch tests
Browse files Browse the repository at this point in the history
- don't know what changed to cause this, likely backend changes
  • Loading branch information
louise-davies committed Jul 24, 2024
1 parent 9eec463 commit bdb9c6c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ describe('Datafile search tab', () => {
// click on search button
cy.findByRole('button', { name: 'Submit search' }).click();

cy.findAllByRole('row').should('have.length', 27);
cy.findAllByRole('row').should('have.length', 24);

// open the filter panel, then select some filters
cy.findByRole('button', { name: 'Toggle Format filter panel' }).click();
Expand Down Expand Up @@ -261,7 +261,7 @@ describe('Datafile search tab', () => {

cy.findByRole('button', { name: 'Apply' }).click();

cy.findAllByRole('row').should('have.length', 27);
cy.findAllByRole('row').should('have.length', 24);

// filter chips should not exist anymore
cy.findByTestId('tabpanel-datafile').within(() => {
Expand Down Expand Up @@ -394,7 +394,7 @@ describe('Datafile search tab', () => {
// click on search button
cy.findByRole('button', { name: 'Submit search' }).click();

cy.findAllByRole('row').should('have.length', 27);
cy.findAllByRole('row').should('have.length', 24);

cy.findByRole('button', {
name: 'Toggle Parameter name filter panel',
Expand Down

0 comments on commit bdb9c6c

Please sign in to comment.