cal.com
cal.com copied to clipboard
E2E: Two Factor Auth
What does this PR do?
Add tests to verify that 2FA can be enabled and disabled. If enabled, user should be able to login with it. Closes #9140
Demo
https://www.loom.com/share/4f86d6b5fca041a9a69850dbdb6ffba2
Type of change
- E2E tests
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
cal | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 30, 2023 2:03pm |
2 Ignored Deployments
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
api | ⬜️ Ignored (Inspect) | Visit Preview | May 30, 2023 2:03pm | |
ui | ⬜️ Ignored (Inspect) | Visit Preview | May 30, 2023 2:03pm |
📦 Next.js Bundle Analysis for @calcom/web
This analysis was generated by the Next.js Bundle Analysis action. 🤖
This PR introduced no changes to the JavaScript bundle! 🙌
Current Playwright Test Results Summary
✅ 104 Passing - ⚠️ 2 Flaky
Run may still be in progress, this comment will be updated as current testing workflow or job completes...
(Last updated on 05/30/2023 02:20:22pm UTC)
Run Details
Running Workflow PR Update on Github Actions
Commit: f5a5d55bd58be7580046d661192da3757204c9d4
Started: 05/30/2023 02:16:29pm UTC
⚠️ Flakes
📄 apps/web/playwright/managed-event-types.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Managed Event Types tests Can create managed event type
Retry 1 • Initial Attempt |
1.43% (5)5 / 350 runsfailed over last 7 days |
20% (70)70 / 350 runsflaked over last 7 days |
📄 packages/embeds/embed-core/playwright/tests/action-based.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Popup Tests should be able to reschedule
Retry 1 • Initial Attempt |
3.05% (4)4 / 131 runsfailed over last 7 days |
61.83% (81)81 / 131 runsflaked over last 7 days |
@hariombalhara i'm getting this even in headless mode
Also, remember to pass CALENDSO_ENCRYPTION_KEY env variable same as the one from .env because I have sometimes seen that the env variable isn't present during tests(maybe my setup is like this)
I Use the following command.
PWDEBUG=1 CALENDSO_ENCRYPTION_KEY='CALENDSO_ENCRYPTION_KEY' yarn e2e