Skip to content

Commit 14d43ef

Browse files
committed
Fix Cypress test
1 parent 6ff7af1 commit 14d43ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Watcher/cypress/e2e/SiteMonitoring.cy.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,9 +428,9 @@ describe('Site Monitoring - E2E Test Suite', () => {
428428
});
429429

430430
it('should sort sites table', () => {
431-
cy.get('table th:contains("Domain Name"), table th:contains("Domain")').click();
431+
cy.get('table th:contains("Domain Name"), table th:contains("Domain")').first().click();
432432
cy.wait(500);
433-
cy.get('table th:contains("Domain Name"), table th:contains("Domain")').click();
433+
cy.get('table th:contains("Domain Name"), table th:contains("Domain")').first().click();
434434
cy.wait(500);
435435
cy.log('Sorting toggled successfully');
436436
});

0 commit comments

Comments
 (0)