Skip to content

Commit e83efea

Browse files
committed
Remove manual timeouts in cypress
1 parent b26759b commit e83efea

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

apps/playground/cypress/e2e/visitorId.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,8 @@ describe('getVisitorId', () => {
2222
cy.get('[data-cy=boot]').click();
2323
cy.wait('@intercomPing');
2424

25-
// FIXME: something goes wrong here in the pipeline
26-
cy.get('button[data-cy="visitorId"]').click({ timeout: 10000 });
25+
cy.get('button[data-cy="visitorId"]').click();
2726

28-
cy.wait(10000);
29-
30-
cy.get('p[data-cy="visitorIdValue"]', { timeout: 10000 }).should('exist');
27+
cy.get('p[data-cy="visitorIdValue"]').should('exist');
3128
});
3229
});

0 commit comments

Comments
 (0)