cal.pub0.org/apps/web/playwright
Agusti Fernandez Pardo f4fe91396f
Improve 2fa: ask for code before account removal and 2fa disabling (#3817)
* fix conflicts

* fix remove separate function and call mutation directly

* feat: add new react-otp-input to enable 2fa flow

* fix: comment out

* fix: remove next-auth 4.9.0 from yarn.lock

* fix: delete account test fill password before submit

* fix: test delete accc

* fix typo in delete acc test

* Update apps/web/components/security/EnableTwoFactorModal.tsx

Co-authored-by: Omar López <zomars@me.com>

* feat: remove react-otp-input reuse TwoFactor

* feat: add center props to TwoFactor

* fix: no v2

* feat: disable 2fa requires 2fa api

* feat: make 2fa required to disable 2fa

* fix: FormEvent instead of SyntheticEvent

* fix: types

* fix: move disable 2fa form to fully use RHF

* fix     if (e) e.preventDefault();

* feat: fix remove account

* fix: remove react-otp-input types

* fix: separate onConfirm to add to form handleSubmit

* fix: types e:SyntethicEvent

* fix: types

* fix: import packages lib not web lib

* Update apps/web/components/security/EnableTwoFactorModal.tsx

Co-authored-by: Omar López <zomars@me.com>

* Update apps/web/components/security/EnableTwoFactorModal.tsx

Co-authored-by: Omar López <zomars@me.com>

* fix: no import from web

* fix: import

* fix: remove duplicate FormEvent

* fix: upgrade ErrorCode imports

* fix profile types totpCode not optional

* fix: build pass

* fix: dont touch test delete-account

* fix: type

* fix: add data-testid to password field

* fix: conflicts w syncServices

* Build fixes

* Fixes delete account e2e test

Co-authored-by: Agusti Fernandez Pardo <git@agusti.me>
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-31 14:57:53 -06:00
..
auth Improve 2fa: ask for code before account removal and 2fa disabling (#3817) 2022-08-31 14:57:53 -06:00
fixtures fix: update rejectOnNotFound -> find(Fist|Unique)OrThrow (#3829) 2022-08-31 13:44:47 -06:00
lib Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00
app-store.test.ts Parallelizes some tests 2022-05-11 11:19:22 -06:00
booking-pages.test.ts Change location of booking (#2658) 2022-05-27 23:27:41 +00:00
change-password.test.ts Fix a set of E2E bugs causing several CI failures (#2177) 2022-03-17 12:36:11 -07:00
change-username.test.ts Update all Yarn dependencies (2022-07-29) (#3599) 2022-08-17 11:38:21 -06:00
dynamic-booking-pages.test.ts Feature/booking page refactor (#3035) 2022-06-15 14:54:31 -06:00
embed-code-generator.test.ts Update all Yarn dependencies (2022-07-29) (#3599) 2022-08-17 11:38:21 -06:00
event-types.test.ts Add getSchedule tests (#3233) 2022-07-21 10:44:23 -06:00
hash-my-url.test.ts Update all Yarn dependencies (2022-05-16) (#2769) 2022-05-17 19:31:49 +00:00
integrations-stripe.test.ts Zoom/Hubspot Tests with MSW mocking of requests initiated from Next.js server (#3210) 2022-08-26 12:44:02 -06:00
login.oauth.test.ts Update all Yarn dependencies (2022-05-16) (#2769) 2022-05-17 19:31:49 +00:00
login.test.ts E2E fixtures (#2747) 2022-05-13 21:02:10 -06:00
onboarding.test.ts Hotfix: Embed - Fix issue in accessing sessionStorage in certain scenarios (#3851) 2022-08-16 04:18:13 +00:00
reschedule.test.ts Fix bug for reschedule on opt-in bookings (#3678) 2022-08-05 17:08:47 +00:00
saml.test.ts Update all Yarn dependencies (2022-05-16) (#2769) 2022-05-17 19:31:49 +00:00
trial.test.ts Refactor login tests (#2337) 2022-04-06 08:13:09 -07:00
wipe-my-cal.test.ts Wipe my cal e2e fixes (#3509) 2022-07-24 20:18:36 +00:00