fix: bug in zapier when user has no bookings #19816
Triggered via pull request
March 22, 2024 12:39
Udit-takkar
synchronize
#14159
Status
Success
Total duration
17m 6s
Artifacts
13
pr.yml
on: pull_request_target
Detect changes
16s
Production build (without database)
/
Build
8m 48s
Matrix: E2E App Store tests / e2e-app-store
Matrix: E2E React embeds tests / e2e-embed
Matrix: E2E embeds tests / e2e-embed
Matrix: E2E tests / e2e
Analyze Build
/
analyze
1m 59s
required
0s
Annotations
10 errors, 19 warnings, and 10 notices
[@calcom/embed-core] › packages/embeds/embed-core/playwright/tests/inline.e2e.ts:8:7 › Inline Iframe › Inline Iframe - Configured with Dark Theme:
packages/embeds/embed-core/playwright/tests/inline.e2e.ts#L25
1) [@***com/embed-core] › packages/embeds/embed-core/playwright/tests/inline.e2e.ts:8:7 › Inline Iframe › Inline Iframe - Configured with Dark Theme
Error: Embed iframe not found
23 | // expect(await page.screenshot()).toMatchSnapshot("event-types-list.png");
24 | if (!embedIframe) {
> 25 | throw new Error("Embed iframe not found");
| ^
26 | }
27 | await bookFirstEvent("pro", embedIframe, page);
28 | await deleteAllBookingsByEmail("embed-user@example.com");
at /home/runner/actions-runner/_work/***.com/***.com/packages/embeds/embed-core/playwright/tests/inline.e2e.ts:25:13
|
[@calcom/embed-core] › packages/embeds/embed-core/playwright/tests/inline.e2e.ts:8:7 › Inline Iframe › Inline Iframe - Configured with Dark Theme:
packages/embeds/embed-core/playwright/tests/inline.e2e.ts#L1
1) [@***com/embed-core] › packages/embeds/embed-core/playwright/tests/inline.e2e.ts:8:7 › Inline Iframe › Inline Iframe - Configured with Dark Theme
Test timeout of 60000ms exceeded while tearing down "context".
|
[@calcom/embed-core] › packages/embeds/embed-core/playwright/tests/preview.e2e.ts:6:7 › Preview › Preview - embed-core should load:
packages/embeds/embed-core/playwright/tests/preview.e2e.ts#L1
2) [@***com/embed-core] › packages/embeds/embed-core/playwright/tests/preview.e2e.ts:6:7 › Preview › Preview - embed-core should load
Test timeout of 60000ms exceeded.
|
[@calcom/embed-core] › packages/embeds/embed-core/playwright/tests/preview.e2e.ts:6:7 › Preview › Preview - embed-core should load:
packages/embeds/embed-core/playwright/tests/preview.e2e.ts#L10
2) [@***com/embed-core] › packages/embeds/embed-core/playwright/tests/preview.e2e.ts:6:7 › Preview › Preview - embed-core should load
page.evaluate: Target closed
8 | "http://lo***host:3000/embed/preview.html?embedLibUrl=http://lo***host:3000/embed/embed.js&bookerUrl=http://lo***host:3000&***Link=pro/30min"
9 | );
> 10 | const libraryLoaded = await page.evaluate(() => {
| ^
11 | return new Promise((resolve) => {
12 | setInterval(() => {
13 | if (
at /home/runner/actions-runner/_work/***.com/***.com/packages/embeds/embed-core/playwright/tests/preview.e2e.ts:10:38
|
[@calcom/embed-core] › packages/embeds/embed-core/playwright/tests/preview.e2e.ts:6:7 › Preview › Preview - embed-core should load:
packages/embeds/embed-core/playwright/tests/preview.e2e.ts#L1
2) [@***com/embed-core] › packages/embeds/embed-core/playwright/tests/preview.e2e.ts:6:7 › Preview › Preview - embed-core should load
Pending operations:
- page.evaluate at packages/embeds/embed-core/playwright/tests/preview.e2e.ts:10:38
|
[@calcom/embed-core] › packages/embeds/embed-core/playwright/tests/action-based.e2e.ts:57:7 › Popup Tests › should open embed iframe on click - Configured with light theme:
packages/embeds/embed-core/playwright/tests/action-based.e2e.ts#L66
1) [@***com/embed-core] › packages/embeds/embed-core/playwright/tests/action-based.e2e.ts:57:7 › Popup Tests › should open embed iframe on click - Configured with light theme
Error: Expected to provide an iframe, got null
64 | const embedIframe = await getEmbedIframe({ ***Namespace, page, pathname: "/free" });
65 |
> 66 | await expect(embedIframe).toBeEmbedCalLink(***Namespace, embeds.getActionFiredDetails, {
| ^
67 | pathname: "/free",
68 | });
69 | // expect(await page.screenshot()).toMatchSnapshot("event-types-list.png");
at /home/runner/actions-runner/_work/***.com/***.com/packages/embeds/embed-core/playwright/tests/action-based.e2e.ts:66:31
|
[@calcom/web] › apps/web/playwright/event-types.e2e.ts:250:11 › Event Types tests -- legacy › user › Different Locations Tests › Can remove location from multiple locations that are saved:
apps/web/playwright/event-types.e2e.ts#L1
1) [@***com/web] › apps/web/playwright/event-types.e2e.ts:250:11 › Event Types tests -- legacy › user › Different Locations Tests › Can remove location from multiple locations that are saved
Test timeout of 60000ms exceeded.
|
[@calcom/web] › apps/web/playwright/event-types.e2e.ts:250:11 › Event Types tests -- legacy › user › Different Locations Tests › Can remove location from multiple locations that are saved:
apps/web/playwright/event-types.e2e.ts#L378
1) [@***com/web] › apps/web/playwright/event-types.e2e.ts:250:11 › Event Types tests -- legacy › user › Different Locations Tests › Can remove location from multiple locations that are saved
locator.click: Target closed
=========================== logs ===========================
waiting for locator('[data-testid=update-eventtype]')
locator resolved to <button disabled type="submit" form="event-type-form" da…>…</button>
attempting click action
waiting for element to be visible, enabled and stable
element is not enabled - waiting...
============================================================
376 |
377 | async function saveEventType(page: Page) {
> 378 | await page.locator("[data-testid=update-eventtype]").click();
| ^
379 | }
380 |
381 | async function gotoBookingPage(page: Page) {
at saveEventType (/home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/event-types.e2e.ts:378:56)
at /home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/event-types.e2e.ts:266:15
|
[@calcom/web] › apps/web/playwright/event-types.e2e.ts:250:11 › Event Types tests -- legacy › user › Different Locations Tests › Can remove location from multiple locations that are saved:
apps/web/playwright/event-types.e2e.ts#L1
1) [@***com/web] › apps/web/playwright/event-types.e2e.ts:250:11 › Event Types tests -- legacy › user › Different Locations Tests › Can remove location from multiple locations that are saved
Pending operations:
- locator.click at apps/web/playwright/event-types.e2e.ts:378:56
|
[@calcom/web] › apps/web/playwright/integrations-stripe.e2e.ts:130:7 › Stripe integration › Can book a paid booking:
apps/web/playwright/fixtures/users.ts#L880
1) [@***com/web] › apps/web/playwright/integrations-stripe.e2e.ts:130:7 › Stripe integration › Can book a paid booking
page.waitForURL: Timeout 30000ms exceeded.
=========================== logs ===========================
waiting for navigation to "/payment/*" until "load"
navigated to "http://***:3000/booking/2xDBHVUnJqisNzdnLzzBMf?isSuccessBookingPage=true&email=test%40example.com&eventTypeSlug=paid"
============================================================
at apps/web/playwright/fixtures/users.ts:880
878 | await page.fill('[name="email"]', "test@example.com");
879 |
> 880 | await Promise.all([page.waitForURL("/payment/*"), page.press('[name="email"]', "Enter")]);
| ^
881 |
882 | await makePaymentUsingStripe(page);
883 | }
at bookAndPayEvent (/home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/fixtures/users.ts:880:27)
at /home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/integrations-stripe.e2e.ts:138:5
|
Detect changes
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, dorny/paths-filter@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Unit tests / test
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/.
|
Type check / check-types
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/.
|
Linters / lint
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, ataylorme/eslint-annotate-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Production build (without database) / Build
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/.
|
Production build / Build
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/.
|
E2E React embeds tests / E2E Embed React (2/2)
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/.
|
Analyze Build / analyze
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, dawidd6/action-download-artifact@v2, peter-evans/find-comment@v2, peter-evans/create-or-update-comment@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Analyze Build / analyze
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
E2E React embeds tests / E2E Embed React (1/2)
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/.
|
E2E App Store tests / E2E App Store (2/2)
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/.
|
E2E embeds tests / E2E Embed Core (2/2)
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/.
|
E2E App Store tests / E2E App Store (1/2)
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/.
|
E2E embeds tests / E2E Embed Core (1/2)
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/.
|
E2E tests / E2E tests (4/5)
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/.
|
E2E tests / E2E tests (5/5)
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/.
|
E2E tests / E2E tests (1/5)
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/.
|
E2E tests / E2E tests (2/5)
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/.
|
E2E tests / E2E tests (3/5)
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/.
|
🎭 Playwright Run Summary
1 passed (2.5s)
|
🎭 Playwright Run Summary
2 passed (15.2s)
|
🎭 Playwright Run Summary
2 flaky
[@***com/embed-core] › packages/embeds/embed-core/playwright/tests/inline.e2e.ts:8:7 › Inline Iframe › Inline Iframe - Configured with Dark Theme
[@***com/embed-core] › packages/embeds/embed-core/playwright/tests/preview.e2e.ts:6:7 › Preview › Preview - embed-core should load
2 skipped
|
🎭 Playwright Run Summary
5 skipped
8 passed (31.5s)
|
🎭 Playwright Run Summary
1 flaky
[@***com/embed-core] › packages/embeds/embed-core/playwright/tests/action-based.e2e.ts:57:7 › Popup Tests › should open embed iframe on click - Configured with light theme
1 skipped
12 passed (59.5s)
|
🎭 Playwright Run Summary
3 skipped
50 passed (1.4m)
|
🎭 Playwright Run Summary
12 skipped
46 passed (1.4m)
|
🎭 Playwright Run Summary
3 skipped
79 passed (2.3m)
|
🎭 Playwright Run Summary
1 flaky
[@***com/web] › apps/web/playwright/event-types.e2e.ts:250:11 › Event Types tests -- legacy › user › Different Locations Tests › Can remove location from multiple locations that are saved
2 skipped
54 passed (2.7m)
|
🎭 Playwright Run Summary
1 flaky
[@***com/web] › apps/web/playwright/integrations-stripe.e2e.ts:130:7 › Stripe integration › Can book a paid booking
3 skipped
46 passed (2.6m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
app-store-results-1_2
Expired
|
191 KB |
|
app-store-results-2_2
Expired
|
177 KB |
|
bundle
Expired
|
2.22 KB |
|
embed-core-results-1_2
Expired
|
1000 KB |
|
embed-core-results-2_2
Expired
|
824 KB |
|
embed-react-results-1_2
Expired
|
175 KB |
|
embed-react-results-2_2
Expired
|
173 KB |
|
lint-results
Expired
|
194 KB |
|
test-results-1_5
Expired
|
236 KB |
|
test-results-2_5
Expired
|
7.88 MB |
|
test-results-3_5
Expired
|
16.4 MB |
|
test-results-4_5
Expired
|
232 KB |
|
test-results-5_5
Expired
|
217 KB |
|