Skip to content

Commit

Permalink
Checking the collection-statistics.cy.ts test
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea-Guevara committed Oct 23, 2024
1 parent 8b9d0e6 commit 9efa90f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/collection-statistics.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe('Collection Statistics Page', () => {

// Verify / wait until "Total Visits" table's label is non-empty
// (This table loads these labels asynchronously, so we want to wait for them before analyzing page)
cy.get('table[data-test="TotalVisits"] td[data-test="statistics-label"]').contains(REGEX_MATCH_NON_EMPTY_TEXT);
cy.get('table[data-test="TotalVisits"] td[data-test="statistics-label"]').should('have.length.greaterThan', 0).contains(REGEX_MATCH_NON_EMPTY_TEXT);

// Analyze <ds-collection-statistics-page> for accessibility issues
testA11y('ds-collection-statistics-page');
Expand Down

0 comments on commit 9efa90f

Please sign in to comment.