We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2caeab1 commit ce4b4edCopy full SHA for ce4b4ed
1 file changed
packages/react-use-intercom/cypress/e2e/visitorId.ts
@@ -22,8 +22,11 @@ describe('getVisitorId', () => {
22
cy.get('[data-cy=boot]').click();
23
cy.wait('@intercomPing');
24
25
- cy.get('[data-cy="visitorId"]').click();
+ // FIXME: something goes wrong here in the pipeline
26
+ cy.get('button[data-cy="visitorId"]').click({ timeout: 10000 });
27
- cy.get('[data-cy="visitorIdValue"]').should('exist');
28
+ cy.wait(10000);
29
+
30
+ cy.get('p[data-cy="visitorIdValue"]', { timeout: 10000 }).should('exist');
31
});
32
0 commit comments