Skip to content

Remove mock wallet from E2E tests and test to boundary#16889

Merged
pettinarip merged 1 commit into
devfrom
fix-e2e
Dec 15, 2025
Merged

Remove mock wallet from E2E tests and test to boundary#16889
pettinarip merged 1 commit into
devfrom
fix-e2e

Conversation

@pettinarip
Copy link
Copy Markdown
Member

Description

The wallet connection test was using a mock wallet to simulate a full connection flow. This defeats the purpose of E2E testing
since we're not testing real behavior.

Changes

  • Test now verifies the wallet modal opens and displays wallet options (MetaMask, Coinbase, Rainbow)
  • Removed mockWallet.ts fixture
  • Removed mock wallet injection from rainbow-kit.ts config

Why
We can't E2E test actual wallet connections (they require browser extensions). Instead, we verify everything up to the point where the user would interact with their wallet extension.

@netlify
Copy link
Copy Markdown

netlify Bot commented Dec 15, 2025

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit 5d01789
🔍 Latest deploy log https://app.netlify.com/projects/ethereumorg/deploys/693ff67a53af600008725040
😎 Deploy Preview https://deploy-preview-16889--ethereumorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 41 (🔴 down 14 from production)
Accessibility: 96 (🟢 up 2 from production)
Best Practices: 92 (🔴 down 8 from production)
SEO: 100 (🟢 up 1 from production)
PWA: 58 (🔴 down 1 from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@pettinarip pettinarip merged commit c552e79 into dev Dec 15, 2025
8 of 9 checks passed
@pettinarip pettinarip deleted the fix-e2e branch December 15, 2025 14:58
This was referenced Dec 18, 2025
@wackerow wackerow mentioned this pull request Jan 8, 2026
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.

2 participants