Skip to content

test(docs): match the webapp tutorial's e2e suites to its app and wallet - #25785

Open
alejoamiras wants to merge 1 commit into
nextfrom
worktree-docs-webapp-e2e
Open

alejoamiras wants to merge 1 commit into
nextfrom
worktree-docs-webapp-e2e

Conversation

@alejoamiras

Copy link
Copy Markdown
Contributor

The webapp tutorial's browser tests had never matched the app: they waited for a WalletConnect screen the local network doesn't show, and for an auto-approving test wallet the tutorial doesn't ship. They now cover the two-player screen and approve the tutorial's own wallet through its popup, and pass 7/7 in both docs lines. Only the tests change.

Both e2e suites tested UI that the tutorial has never shipped, so
test-webapp-e2e passed 1/7 in both lines:

- The embedded-wallet tests waited for the single-player WalletConnect
  form, but the local network renders the two-player split screen. They
  now cover that screen: player 2 can connect only after player 1, and
  player 1 connects to a running local network.
- The extension tests expected an "Aztec Test Wallet" that approves
  discovery on its own. The tutorial wallet is "Aztec Tutorial Wallet"
  and holds discovery, the session and the capability request until the
  user approves them in its popup. The tests now send the popup's
  approval messages from the extension's offscreen page. They confirm the
  session whose emojis match the app's, and assert that the app's
  capability request then reaches the wallet.
@alejoamiras
alejoamiras requested a review from a team as a code owner November 6, 2026 20:52

This branch has not been deployed

No deployments
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.

1 participant