Fixing flaky e2e tests.
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Controller Tests / controller-tests (push) Waiting to run
Jest Tests / jest-tests (push) Waiting to run

This commit is contained in:
Roland 2026-03-21 17:01:50 -06:00
parent 282b0f63e8
commit dc531a1f42
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680

View file

@ -126,7 +126,7 @@ describe('Domains List Page', () => {
it('filters domains with search', () => {
cy.get('input[placeholder="Domain filter..."]').type('example');
// Chain assertions so they retry together with the extended timeout
cy.get('table tbody tr', {timeout: 10000})
cy.get('table:visible tbody tr', {timeout: 10000})
.should('have.length', 1)
.and('contain', 'example.com');
});