Skip to content

test(mobileapp): add integration tests for Privy social auth button callbacks (#714) - #868

Merged
ONEONUORA merged 9 commits into
Fracverse:masterfrom
Jerry-Tekh:master
Aug 29, 2026
Merged

test(mobileapp): add integration tests for Privy social auth button callbacks (#714)#868
ONEONUORA merged 9 commits into
Fracverse:masterfrom
Jerry-Tekh:master

Conversation

@Jerry-Tekh

Copy link
Copy Markdown
Contributor

Closes #714. Mock Privy SDK login response and verify state dispatch. Spy on API post request handler.

Jerry-Tekh and others added 3 commits August 24, 2026 23:50
…allbacks (Fracverse#714)

- Mock Privy SDK login response with useLoginWithOAuth and useLoginWithEmail
- Verify onSuccess state dispatch for google, apple, and email providers
- Spy on API POST requests to /api/auth/privy and validate payload shape
- Cover fallback URL behavior, overlay modal, and error handling
- Ensure correct provider-specific payloads are sent on social login button press
@drips-wave

drips-wave Bot commented Aug 29, 2026

Copy link
Copy Markdown

@Jerry-Tekh Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Jerry-Tekh added 6 commits August 29, 2026 04:14
…expo

The @privy-io/expo-sdk package is no longer published to npm.
Switching to the maintained @privy-io/expo package to restore CI.
- Replace deprecated @privy-io/expo-sdk with @privy-io/expo
- Update expo-contacts to ~14.2.6 (14.1.4 does not exist)
- Pin react-test-renderer to 19.1.0 to resolve peer dep conflict
- Regenerate package-lock.json
npm ci fails due to outdated peer dependencies in the mobileapp
dependency tree. Switch to npm install --legacy-peer-deps to allow
the CI to proceed and validate the new Privy social login tests.

@ONEONUORA ONEONUORA left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job @Jerry-Tekh

@ONEONUORA
ONEONUORA merged commit 29acd38 into Fracverse:master Aug 29, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mobile app: Write integration tests for Privy social authentication button callbacks

2 participants