From 8633d77ac2dc59084075f7035a441aa06876c16d Mon Sep 17 00:00:00 2001 From: andreaNeki Date: Wed, 23 Oct 2024 14:42:25 -0300 Subject: [PATCH] adjusting the file item-statistics.cy.ts --- cypress/e2e/item-statistics.cy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/e2e/item-statistics.cy.ts b/cypress/e2e/item-statistics.cy.ts index aafe4bfc04c..6518f595a90 100644 --- a/cypress/e2e/item-statistics.cy.ts +++ b/cypress/e2e/item-statistics.cy.ts @@ -35,7 +35,7 @@ describe('Item 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"] th[data-test="statistics-label"]').contains(REGEX_MATCH_NON_EMPTY_TEXT); // Analyze for accessibility issues testA11y('ds-item-statistics-page');