fix: Broken SSR for event booking pages #20734
Triggered via pull request
April 11, 2024 04:26
hariombalhara
synchronize
#14497
Status
Success
Total duration
15m 44s
Artifacts
13
pr.yml
on: pull_request_target
Detect changes
14s
Type check
/
check-types
2m 9s
Unit tests
/
test
1m 49s
Production build
/
Build API V1
1m 28s
Production build (without database)
/
Build
9m 22s
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 32s
required
3s
Annotations
14 errors, 20 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/app-store] › packages/app-store/routing-forms/playwright/tests/basic.e2e.ts:337:9 › Routing Forms › Seeded Routing Form › Test preview should return correct route:
packages/app-store/routing-forms/playwright/tests/basic.e2e.ts#L1
1) [@***com/app-store] › packages/app-store/routing-forms/playwright/tests/basic.e2e.ts:337:9 › Routing Forms › Seeded Routing Form › Test preview should return correct route
Test timeout of 60000ms exceeded.
|
[@calcom/app-store] › packages/app-store/routing-forms/playwright/tests/basic.e2e.ts:337:9 › Routing Forms › Seeded Routing Form › Test preview should return correct route:
packages/app-store/routing-forms/playwright/tests/basic.e2e.ts#L345
1) [@***com/app-store] › packages/app-store/routing-forms/playwright/tests/basic.e2e.ts:337:9 › Routing Forms › Seeded Routing Form › Test preview should return correct route
page.fill: Target closed
=========================== logs ===========================
waiting for locator('[data-testid="form-field-Test field"]')
============================================================
343 |
344 | // //event redirect
> 345 | await page.fill('[data-testid="form-field-Test field"]', "event-routing");
| ^
346 | await page.click('[data-testid="test-routing"]');
347 | let routingType = await page.locator('[data-testid="test-routing-result-type"]').innerText();
348 | let route = await page.locator('[data-testid="test-routing-result"]').innerText();
at /home/runner/actions-runner/_work/***.com/***.com/packages/app-store/routing-forms/playwright/tests/basic.e2e.ts:345:18
|
[@calcom/app-store] › packages/app-store/routing-forms/playwright/tests/basic.e2e.ts:337:9 › Routing Forms › Seeded Routing Form › Test preview should return correct route:
packages/app-store/routing-forms/playwright/tests/basic.e2e.ts#L1
1) [@***com/app-store] › packages/app-store/routing-forms/playwright/tests/basic.e2e.ts:337:9 › Routing Forms › Seeded Routing Form › Test preview should return correct route
Pending operations:
- page.fill at packages/app-store/routing-forms/playwright/tests/basic.e2e.ts:345:18
|
[@calcom/web] › apps/web/playwright/integrations-stripe.e2e.ts:143:7 › Stripe integration › Pending payment booking should not be confirmed by default:
apps/web/playwright/integrations-stripe.e2e.ts#L163
1) [@***com/web] › apps/web/playwright/integrations-stripe.e2e.ts:143:7 › Stripe integration › Pending payment booking should not be confirmed by default
expect.toBeVisible: Error: strict mode violation: getByText('Unconfirmed') resolved to 3 elements:
1) <div class="flex items-center gap-x-2"> Unconfirmed</div> aka getByTestId('horizontal-tab-unconfirmed')
2) <div class="font-medium inline-flex items-center just…>Unconfirmed</div> aka getByRole('link', { name: 'Wed, 1 May 9:00am - 9:30am Unconfirmed' })
3) <div class="font-medium inline-flex items-center just…>Unconfirmed</div> aka getByRole('link', { name: 'Paid between Nameless and Stripe Stripeson Pending payment You and Stripe Stripeson' })
=========================== logs ===========================
expect.toBeVisible with timeout 30000ms
waiting for getByText('Unconfirmed')
waiting for getByText('Unconfirmed')
============================================================
161 | await page.goto(`/bookings/upcoming`);
162 |
> 163 | await expect(page.getByText("Unconfirmed")).toBeVisible();
| ^
164 | await expect(page.getByText("Pending payment").last()).toBeVisible();
165 | });
166 |
at /home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/integrations-stripe.e2e.ts:163:49
|
[@calcom/web] › apps/web/playwright/integrations-stripe.e2e.ts:143:7 › Stripe integration › Pending payment booking should not be confirmed by default:
apps/web/playwright/integrations-stripe.e2e.ts#L163
1) [@***com/web] › apps/web/playwright/integrations-stripe.e2e.ts:143:7 › Stripe integration › Pending payment booking should not be confirmed by default
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
expect.toBeVisible: Error: strict mode violation: getByText('Unconfirmed') resolved to 3 elements:
1) <div class="flex items-center gap-x-2"> Unconfirmed</div> aka getByTestId('horizontal-tab-unconfirmed')
2) <div class="font-medium inline-flex items-center just…>Unconfirmed</div> aka getByRole('link', { name: 'Wed, 1 May 9:00am - 9:30am Unconfirmed' })
3) <div class="font-medium inline-flex items-center just…>Unconfirmed</div> aka getByRole('link', { name: 'Paid between Nameless and Stripe Stripeson Pending payment You and Stripe Stripeson' })
=========================== logs ===========================
expect.toBeVisible with timeout 30000ms
waiting for getByText('Unconfirmed')
waiting for getByText('Unconfirmed')
============================================================
161 | await page.goto(`/bookings/upcoming`);
162 |
> 163 | await expect(page.getByText("Unconfirmed")).toBeVisible();
| ^
164 | await expect(page.getByText("Pending payment").last()).toBeVisible();
165 | });
166 |
at /home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/integrations-stripe.e2e.ts:163:49
|
[@calcom/web] › apps/web/playwright/login.e2e.ts:16:7 › user can login & logout succesfully -- future › login flow user & logout using dashboard:
apps/web/playwright/login.e2e.ts#L40
2) [@***com/web] › apps/web/playwright/login.e2e.ts:16:7 › user can login & logout succesfully -- future › login flow user & logout using dashboard
Error: Timed out 30000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 30000ms
- waiting for locator('[data-testid=login-form]')
- waiting for locator('[data-testid=login-form]')
38 |
39 | // Reroute to the home page to check if the login form shows up
> 40 | await expect(page.locator(`[data-testid=login-form]`)).toBeVisible();
| ^
41 | });
42 | });
43 | });
at /home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/login.e2e.ts:40:62
at /home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/login.e2e.ts:28:5
|
[@calcom/web] › apps/web/playwright/login.e2e.ts:59:9 › Login and logout tests -- legacy › Login flow validations -- future › Should warn when user does not exist:
apps/web/playwright/login.e2e.ts#L1
3) [@***com/web] › apps/web/playwright/login.e2e.ts:59:9 › Login and logout tests -- legacy › Login flow validations -- future › Should warn when user does not exist
Test timeout of 60000ms exceeded.
|
[@calcom/web] › apps/web/playwright/login.e2e.ts:59:9 › Login and logout tests -- legacy › Login flow validations -- future › Should warn when user does not exist:
apps/web/playwright/fixtures/users.ts#L848
3) [@***com/web] › apps/web/playwright/login.e2e.ts:59:9 › Login and logout tests -- legacy › Login flow validations -- future › Should warn when user does not exist
page.waitForResponse: Page closed
=========================== logs ===========================
waiting for response /\/api\/auth\/***lback\/credentials/
============================================================
at apps/web/playwright/fixtures/users.ts:848
846 |
847 | // waiting for specific login request to resolve
> 848 | await page.waitForResponse(/\/api\/auth\/***lback\/credentials/);
| ^
849 | }
850 |
851 | export async function apiLogin(
at login (/home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/fixtures/users.ts:848:14)
at /home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/login.e2e.ts:64:7
|
🎭 Playwright Run Summary
2 passed (10.0s)
|
🎭 Playwright Run Summary
1 passed (3.3s)
|
🎭 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
8 skipped
47 passed (1.4m)
|
🎭 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.3s)
|
🎭 Playwright Run Summary
12 skipped
46 passed (1.3m)
|
🎭 Playwright Run Summary
1 flaky
[@***com/app-store] › packages/app-store/routing-forms/playwright/tests/basic.e2e.ts:337:9 › Routing Forms › Seeded Routing Form › Test preview should return correct route
5 skipped
7 passed (1.5m)
|
🎭 Playwright Run Summary
3 flaky
[@***com/web] › apps/web/playwright/integrations-stripe.e2e.ts:143:7 › Stripe integration › Pending payment booking should not be confirmed by default
[@***com/web] › apps/web/playwright/login.e2e.ts:16:7 › user can login & logout succesfully -- future › login flow user & logout using dashboard
[@***com/web] › apps/web/playwright/login.e2e.ts:59:9 › Login and logout tests -- legacy › Login flow validations -- future › Should warn when user does not exist
3 skipped
45 passed (2.5m)
|
🎭 Playwright Run Summary
2 skipped
55 passed (2.5m)
|
🎭 Playwright Run Summary
4 skipped
80 passed (2.6m)
|
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/.
|
Production build / Build API V1
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/.
|
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 / 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 (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/.
|
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 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 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 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/.
|
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 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 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 (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 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 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/.
|
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 (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/.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
app-store-results-1_2
|
3.92 MB |
|
app-store-results-2_2
|
177 KB |
|
bundle
|
2.21 KB |
|
embed-core-results-1_2
|
859 KB |
|
embed-core-results-2_2
|
824 KB |
|
embed-react-results-1_2
|
175 KB |
|
embed-react-results-2_2
|
173 KB |
|
lint-results
|
200 KB |
|
test-results-1_5
|
237 KB |
|
test-results-2_5
|
228 KB |
|
test-results-3_5
|
34.1 MB |
|
test-results-4_5
|
231 KB |
|
test-results-5_5
|
217 KB |
|