test: add unit tests for sms sending #21510
Annotations
3 errors, 1 warning, and 1 notice
Run Tests:
apps/web/playwright/teams.e2e.ts#L156
1) [@***com/web] › apps/web/playwright/teams.e2e.ts:122:7 › Teams - NonOrg -- future › Can create a booking for Round Robin EventType
Error: expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
154 | return BookingTitle === bookingTitle;
155 | })
> 156 | ).toBe(true);
| ^
157 |
158 | // Since all the users have the same leastRecentlyBooked value
159 | // Anyone of the teammates could be the Host of the booking.
at /home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/teams.e2e.ts:156:7
|
Run Tests:
apps/web/playwright/lib/testUtils.ts#L199
2) [@***com/web] › apps/web/playwright/webhook.e2e.ts:611:7 › FORM_SUBMITTED › on submitting team form, triggers team webhook
page.goto: net::ERR_ABORTED at http://***:3000/forms/clvgsm89l0001jxjlofy6v3yt
=========================== logs ===========================
navigating to "http://***:3000/forms/clvgsm89l0001jxjlofy6v3yt", waiting until "load"
============================================================
at apps/web/playwright/lib/testUtils.ts:199
197 | }
198 |
> 199 | await page.goto(`${previewLink}${queryString ? `?${queryString}` : ""}`);
| ^
200 |
201 | // HACK: There seems to be some issue with the inputs to the form getting reset if we don't wait.
202 | await new Promise((resolve) => setTimeout(resolve, 1000));
at gotoRoutingLink (/home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/lib/testUtils.ts:199:14)
at /home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/webhook.e2e.ts:640:26
|
Run Tests:
apps/web/playwright/lib/testUtils.ts#L199
2) [@***com/web] › apps/web/playwright/webhook.e2e.ts:611:7 › FORM_SUBMITTED › on submitting team form, triggers team webhook
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
page.goto: net::ERR_ABORTED at http://***:3000/forms/clvgsmezq0001jx3gz4i808rr
=========================== logs ===========================
navigating to "http://***:3000/forms/clvgsmezq0001jx3gz4i808rr", waiting until "load"
============================================================
at apps/web/playwright/lib/testUtils.ts:199
197 | }
198 |
> 199 | await page.goto(`${previewLink}${queryString ? `?${queryString}` : ""}`);
| ^
200 |
201 | // HACK: There seems to be some issue with the inputs to the form getting reset if we don't wait.
202 | await new Promise((resolve) => setTimeout(resolve, 1000));
at gotoRoutingLink (/home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/lib/testUtils.ts:199:14)
at /home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/webhook.e2e.ts:640:26
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, buildjet/setup-node@v3, buildjet/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run Tests
2 flaky
[@***com/web] › apps/web/playwright/teams.e2e.ts:122:7 › Teams - NonOrg -- future › Can create a booking for Round Robin EventType
[@***com/web] › apps/web/playwright/webhook.e2e.ts:611:7 › FORM_SUBMITTED › on submitting team form, triggers team webhook
12 skipped
57 passed (2.1m)
|
Loading