Skip to content

Commit f4746ad

Browse files
committed
Update some e2e assertions
1 parent 5b74e8a commit f4746ad

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

apps/playground/cypress/e2e/provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ describe('provider with events', () => {
8686
cy.get('iframe[name="intercom-messenger-frame"]').then(($iframe) => {
8787
const $body = $iframe.contents().find('body');
8888

89-
cy.wrap($body).contains('Send us a message').click();
89+
cy.wrap($body).contains('Ask a question').click();
9090

9191
cy.wait('@intercomHome');
9292
cy.wait('@intercomConversations');

apps/playground/cypress/e2e/show.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ describe('show', () => {
2727
.then(($iframe) => {
2828
const $body = $iframe.contents().find('body');
2929

30-
cy.wrap($body).contains('Send us a message');
30+
cy.wrap($body).contains('Ask a question');
3131
});
3232
});
3333
});
@@ -60,7 +60,7 @@ describe('showNewMessage', () => {
6060
.then(($iframe) => {
6161
const $body = $iframe.contents().find('body');
6262

63-
cy.wrap($body).contains('Ask us anything, or share your feedback.');
63+
cy.wrap($body).contains('Ask for the team if needed');
6464
cy.wrap($body).find('button[data-testid="go-back"]').should('exist');
6565
});
6666
});

0 commit comments

Comments
 (0)