cal.com
cal.com copied to clipboard
refactor: allow managed event tests parallel runs
What does this PR do?
Refs #16099
Split managed event type tests to run in parallel instead on sequence. This should improve overall testing time. These tests seems to be borked in main as well. Here's an example of them timing out but still are marked as "passed"
Before:
After
What changed?
- Added
managedEventUnlockedFieldsparameter to thecreateTeamEventTypefunction to allow specifying unlocked fields for managed events. - Updated
createUsersFixtureto includemanagedEventUnlockedFieldsparameter and logic to handle adding teammates to managed events. - Enhanced related e2e tests in
managed-event-types.e2e.tsto validate functionality around managed events including locked/unlocked fields, organizer default apps, and tab renders.
How to test?
- Execute e2e tests in
managed-event-types.e2e.tsto ensure that managed event type functionalities are correctly implemented.
Mandatory Tasks (DO NOT REMOVE)
- [ ] I have self-reviewed the code (A decent size PR without self-review might be rejected).
- [ ] I have added a Docs issue here if this PR makes changes that would require a documentation change. If N/A, write N/A here and check the checkbox.
- [x] I confirm automated tests are in place that prove my fix is effective or that my feature works.
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
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| ai | ❌ Failed (Inspect) | Sep 6, 2024 5:14am |
2 Skipped Deployments
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| cal | ⬜️ Ignored (Inspect) | Visit Preview | Sep 6, 2024 5:14am | |
| calcom-web-canary | ⬜️ Ignored (Inspect) | Visit Preview | Sep 6, 2024 5:14am |
This stack of pull requests is managed by Graphite. Learn more about stacking.
Join @zomars and the rest of your teammates on
Graphite
Graphite Automations
"Add foundation team as reviewer" took an action on this PR • (08/15/24)
1 reviewer was added to this PR based on Keith Williams's automation.