Repository navigation
test: add Playwright E2E tests for public booking flow - #75
Draft
devin-ai-integration[bot] wants to merge 1 commit into
Draft
devin-ai-integration[bot] wants to merge 1 commit into
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds
apps/web/playwright/booking-flow.e2e.ts, an E2E suite (existing@calcom/webPlaywright project/config and fixtures) covering the public booking flow end to end:/{username}→ click "30 min" → pick first available day/slot next month → fill name, email, notes → Confirm. Asserts the success page (This meeting is scheduled,booking-title, attendee name/email, notes) and that the DB booking isACCEPTED, owned by the organizer, with the right attendee./opt-in) – showsYour booking has been submittedand the booking isPENDING.[data-testid="time"][data-time=...]).Each test creates its own user via the
usersfixture and cleans up inafterEach.Visual Demo (For contributors especially)
N/A – test-only change. A screen recording of the run is shared in the Devin session.
Mandatory Tasks (DO NOT REMOVE)
How should this be tested?
packages/prisma/docker-compose.yml),.envfrom.env.example,yarn workspace @calcom/prisma db-deploy && db-seed.yarn dev(Playwright reuses the server on :3000), then:Link to Devin session: https://partner-workshops.devinenterprise.com/sessions/c96cb351d0e24223afc1f6aac5fe715d
Open in Devin Desktop: https://partner-workshops.devinenterprise.com/desktop/session/c96cb351d0e24223afc1f6aac5fe715d?variant=devin