Skip to content

ci: test e2e with currents#28948

Closed
ethan-pronev wants to merge 4 commits intocalcom:mainfrom
Approxima-AI:ethan
Closed

ci: test e2e with currents#28948
ethan-pronev wants to merge 4 commits intocalcom:mainfrom
Approxima-AI:ethan

Conversation

@ethan-pronev
Copy link
Copy Markdown

What does this PR do?

  • Fixes #XXXX (GitHub issue number)

Visual Demo (For contributors especially)

A visual demonstration is strongly recommended, for both the original and new change (video / image - any one).

Video Demo (if applicable):

  • Show screen recordings of the issue or feature.
  • Demonstrate how to reproduce the issue, the behavior before and after the change.

Image Demo (if applicable):

  • Add side-by-side screenshots of the original and updated change.
  • Highlight any significant change(s).

Mandatory Tasks (DO NOT REMOVE)

  • I have self-reviewed the code (A decent size PR without self-review might be rejected).
  • I have updated the developer docs if this PR makes changes that would require a documentation change. If N/A, write N/A here and check the checkbox.
  • I confirm automated tests are in place that prove my fix is effective or that my feature works.

How should this be tested?

  • Are there environment variables that should be set?
  • What are the minimal test data to have?
  • What is expected (happy path) to have (input and output)?
  • Any other important info that could help to test that PR

Checklist

  • I haven't read the contributing guide
  • My code doesn't follow the style guidelines of this project
  • I haven't commented my code, particularly in hard-to-understand areas
  • I haven't checked if my changes generate no new warnings
  • My PR is too large (>500 lines or >10 files) and should be split into smaller PRs

ethan-pronev and others added 4 commits April 20, 2026 17:36
In pr.yml's prepare job, yarn-install runs in skip-install-if-cache-hit
mode — a pure lookup that does not materialize node_modules when all
yarn caches hit. If the playwright cache then misses, `yarn playwright
install --with-deps` fails with "Couldn't find the node_modules state
file". Restore the node_modules cache (and fall back to a full yarn
install) in the playwright action before running the install step.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Drop the trust-check job and the ready-for-e2e label check so every
PR push runs the full CI + e2e pipeline without manual labeling.
Repo is private and single-contributor, so the external-contributor
trust gate is no longer needed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Remove the workflows that published Playwright HTML reports to
calcom/test-results-2 and wire @currents/playwright into both Playwright
configs instead. The Currents reporter only registers when
CURRENTS_RECORD_KEY is set, so local runs without the secret skip upload
entirely. CURRENTS_PROJECT_ID is read from an env var to stay
configurable across suites.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

Welcome to Cal.diy, @ethan-pronev! Thanks for opening this pull request.

A few things to keep in mind:

  • This is Cal.diy, not Cal.com. Cal.diy is a community-driven, fully open-source fork of Cal.com licensed under MIT. Your changes here will be part of Cal.diy — they will not be deployed to the Cal.com production app.
  • Please review our Contributing Guidelines if you haven't already.
  • Make sure your PR title follows the Conventional Commits format.

A maintainer will review your PR soon. Thanks for contributing!

@github-actions
Copy link
Copy Markdown
Contributor

Hey there and thank you for opening this pull request! 👋🏼

We require pull request titles to follow the Conventional Commits specification and it looks like your proposed title needs to be adjusted.

Details:

No release type found in pull request title " ci: test e2e with currents". Add a prefix to indicate what kind of release this pull request corresponds to. For reference, see https://www.conventionalcommits.org/

Available types:
 - feat: A new feature
 - fix: A bug fix
 - docs: Documentation only changes
 - style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
 - refactor: A code change that neither fixes a bug nor adds a feature
 - perf: A code change that improves performance
 - test: Adding missing tests or correcting existing tests
 - build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
 - ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
 - chore: Other changes that don't modify src or test files
 - revert: Reverts a previous commit

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 21, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 45d5f9a3-95c9-43f5-97d1-8075208d5722

📥 Commits

Reviewing files that changed from the base of the PR and between e9c6d0e and 15e6f51.

⛔ Files ignored due to path filters (2)
  • apps/web/playwright/icons.e2e.ts-snapshots/icons--calcom-web-darwin.png is excluded by !**/*.png
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (101)
  • .github/actions/yarn-playwright-install/action.yml
  • .github/workflows/cleanup-report.yml
  • .github/workflows/cleanup.yml
  • .github/workflows/e2e-app-store.yml
  • .github/workflows/e2e-atoms.yml
  • .github/workflows/e2e-embed-react.yml
  • .github/workflows/e2e-embed.yml
  • .github/workflows/e2e-report.yml
  • .github/workflows/e2e.yml
  • .github/workflows/merge-reports.yml
  • .github/workflows/pr.yml
  • .github/workflows/publish-report.yml
  • .github/workflows/run-ci.yml
  • __checks__/csp-login.spec.ts
  • apps/web/package.json
  • apps/web/playwright/ab-tests-redirect.e2e.ts
  • apps/web/playwright/auth/delete-account.e2e.ts
  • apps/web/playwright/auth/forgot-password.e2e.ts
  • apps/web/playwright/availability.e2e.ts
  • apps/web/playwright/booking-confirm-reject.e2e.ts
  • apps/web/playwright/booking-duplicate-api-calls.e2e.ts
  • apps/web/playwright/booking-limits.e2e.ts
  • apps/web/playwright/booking-pages.e2e.ts
  • apps/web/playwright/booking-phone-autofill.e2e.ts
  • apps/web/playwright/booking-seats.e2e.ts
  • apps/web/playwright/booking-sheet-keyboard.e2e.ts
  • apps/web/playwright/cancellation-fee-warning.e2e.ts
  • apps/web/playwright/change-password.e2e.ts
  • apps/web/playwright/change-theme.e2e.ts
  • apps/web/playwright/change-username.e2e.ts
  • apps/web/playwright/duration-limits.e2e.ts
  • apps/web/playwright/dynamic-booking-pages.e2e.ts
  • apps/web/playwright/embed-code-generator.e2e.ts
  • apps/web/playwright/event-types.e2e.ts
  • apps/web/playwright/filter-helpers.ts
  • apps/web/playwright/fixtures/apps.ts
  • apps/web/playwright/fixtures/bookings.ts
  • apps/web/playwright/fixtures/embeds.ts
  • apps/web/playwright/fixtures/eventTypes.ts
  • apps/web/playwright/fixtures/features.ts
  • apps/web/playwright/fixtures/orgs.ts
  • apps/web/playwright/fixtures/payments.ts
  • apps/web/playwright/fixtures/regularBookings.ts
  • apps/web/playwright/fixtures/users.ts
  • apps/web/playwright/fixtures/webhooks.ts
  • apps/web/playwright/hash-my-url.e2e.ts
  • apps/web/playwright/hide-duration-selector.e2e.ts
  • apps/web/playwright/i18n-routing.e2e.ts
  • apps/web/playwright/icons.e2e.ts
  • apps/web/playwright/lib/chart-helpers.ts
  • apps/web/playwright/lib/fixtures.ts
  • apps/web/playwright/lib/pageObject.ts
  • apps/web/playwright/lib/testUtils.ts
  • apps/web/playwright/locale.e2e.ts
  • apps/web/playwright/login.2fa.e2e.ts
  • apps/web/playwright/login.api.e2e.ts
  • apps/web/playwright/login.e2e.ts
  • apps/web/playwright/login.oauth.e2e.ts
  • apps/web/playwright/manage-booking-questions.e2e.ts
  • apps/web/playwright/oauth-provider.e2e.ts
  • apps/web/playwright/oauth/oauth-authorize-approval-status.e2e.ts
  • apps/web/playwright/oauth/oauth-client-admin.e2e.ts
  • apps/web/playwright/oauth/oauth-client-helpers.ts
  • apps/web/playwright/oauth/oauth-client-owner-crud.e2e.ts
  • apps/web/playwright/oauth/oauth-refresh-tokens.e2e.ts
  • apps/web/playwright/onboarding.e2e.ts
  • apps/web/playwright/out-of-office.e2e.ts
  • apps/web/playwright/payment-apps.e2e.ts
  • apps/web/playwright/payment.e2e.ts
  • apps/web/playwright/profile.e2e.ts
  • apps/web/playwright/reschedule.e2e.ts
  • apps/web/playwright/settings-admin.e2e.ts
  • apps/web/playwright/settings/upload-avatar.e2e.ts
  • apps/web/playwright/signup.e2e.ts
  • apps/web/playwright/team/expects.ts
  • apps/web/playwright/webhook.e2e.ts
  • apps/web/playwright/wipe-my-cal.e2e.ts
  • currents.config.ts
  • package.json
  • packages/app-store/googlecalendar/tests/google-calendar.e2e.ts
  • packages/app-store/googlecalendar/tests/testUtils.ts
  • packages/embeds/embed-core/package.json
  • packages/embeds/embed-core/playwright/lib/pages/bookingSuccessPage.ts
  • packages/embeds/embed-core/playwright/lib/testUtils.ts
  • packages/embeds/embed-core/playwright/tests/action-based.e2e.ts
  • packages/embeds/embed-core/playwright/tests/embed-pages.e2e.ts
  • packages/embeds/embed-core/playwright/tests/inline.e2e.ts
  • packages/embeds/embed-core/playwright/tests/namespacing.e2e.ts
  • packages/embeds/embed-core/playwright/tests/preview.e2e.ts
  • packages/embeds/embed-core/playwright/tests/two-step-slot-selection.e2e.ts
  • packages/embeds/embed-react/package.json
  • packages/embeds/embed-react/playwright/tests/basic.e2e.ts
  • packages/platform/examples/base/currents.config.ts
  • packages/platform/examples/base/package.json
  • packages/platform/examples/base/playwright.config.ts
  • packages/platform/examples/base/tests/availability-settings-atom/availability-settings-atom.e2e.ts
  • packages/platform/examples/base/tests/booker-atom/booker-atom.e2e.ts
  • packages/platform/examples/base/tests/connect-atoms/apple-connect.e2e.ts
  • packages/platform/examples/base/tests/create-event-type-atom/create-event-type.e2e.ts
  • packages/platform/examples/base/tests/create-team-event-type-atom/create-team-event-type.e2e.ts
  • playwright.config.ts

Disabled knowledge base sources:

  • Linear integration is disabled

You can enable these sources in your CodeRabbit configuration.


📝 Walkthrough

Walkthrough

This pull request refactors CI/CD workflows and test infrastructure. It removes GitHub Actions workflows for test report cleanup, publishing, and merging; deletes CI approval gating logic (trust-check job and ready-for-e2e label requirements) from the PR workflow; and removes artifact uploading steps from E2E test jobs. The test framework is migrated from @playwright/test to @approxima/test across 80+ test files and fixtures. Currents test recording integration is added via environment variables in E2E workflows and new currents.config.ts configuration files. Playwright reporter configuration is updated to use list format and enable video/screenshot artifact capture.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@ethan-pronev ethan-pronev restored the ethan branch April 21, 2026 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant