Commit 5181212
authored
test: update onboarding fixture and paths (#38232)
<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->
## **Description**
This PR is in preparation for the upcoming work around fixtures. It does
- Moves the related fixtures files to the `fixtures` and updates all
paths
- Updates the onboarding-fixture.json to the latest state and adds the
related changes in specs
<img width="283" height="165" alt="image"
src="https://github.com/user-attachments/assets/bc3cb26c-d863-4e2c-89a8-5edcfec39485"
/>
[](https://codespaces.new/MetaMask/metamask-extension/pull/38232?quickstart=1)
## **Changelog**
<!--
If this PR is not End-User-Facing and should not show up in the
CHANGELOG, you can choose to either:
1. Write `CHANGELOG entry: null`
2. Label with `no-changelog`
If this PR is End-User-Facing, please write a short User-Facing
description in the past tense like:
`CHANGELOG entry: Added a new tab for users to see their NFTs`
`CHANGELOG entry: Fixed a bug that was causing some NFTs to flicker`
(This helps the Release Engineer do their job more quickly and
accurately)
-->
CHANGELOG entry:
## **Related issues**
Fixes:
## **Manual testing steps**
1. Check ci
## **Screenshots/Recordings**
<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->
### **Before**
<!-- [screenshots/recordings] -->
### **After**
<!-- [screenshots/recordings] -->
## **Pre-merge author checklist**
- [x] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask
Extension Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've completed the PR template to the best of my ability
- [x] I’ve included tests if applicable
- [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
## **Pre-merge reviewer checklist**
- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Moves E2E fixtures into `test/e2e/fixtures`, updates all import paths,
and adjusts specs (balances/flows) to align with the updated onboarding
fixture.
>
> - **E2E / Fixtures Migration**:
> - Move fixture files to `test/e2e/fixtures/` and update imports for
`FixtureBuilder`, `default-fixture`, and `fixture-server` across tests
and helpers.
> - **Onboarding & Flows Updates**:
> - Update specs to match the new onboarding fixture/state: adjust
expected balances (e.g., `$127,500.00`, `$5,100.00`) and remove
interactions like `clickBackupRemindMeLaterButton`.
> - Align various confirmation/permissions/network tests with updated
flows where necessary.
> - **Broad Test Touches**:
> - Apply path updates across Flask, snaps, networks, tokens, hardware
wallets, request-queuing, PPOM, metrics, multichain, Solana, and other
suites.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
4373ad9. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent 85115d6 commit 5181212
File tree
323 files changed
+896
-1352
lines changed- app/scripts
- fixtures
- test/e2e
- accounts
- benchmarks
- fixtures
- flask
- btc
- multi-srp
- multichain-api/evm
- snaps
- helpers/seedless-onboarding
- json-rpc
- multi-injected-provider
- page-objects
- flows
- pages/onboarding
- provider
- snaps
- tests
- account
- bridge
- carousel
- confirmations
- alerts
- signatures
- transactions
- connections
- content-security-policy
- critical-errors
- dapp-interactions
- deep-link
- hardware-wallets
- ledger
- trezor
- identity
- account-syncing
- contact-syncing
- metrics
- multichain-accounts
- multichain
- network
- notifications
- onboarding
- petnames
- phishing-controller
- port-stream-chunking
- portfolio
- ppom
- privacy-mode
- privacy
- remote-feature-flag
- request-queuing
- reset-wallet
- responsive-ui
- send-legacy
- send
- settings
- shield
- simulation-details
- smart-transactions
- solana
- survey
- swap-send
- swaps
- synchronous-injection
- tokens
- defi
- nft
- transaction
- update-modal
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
323 files changed
+896
-1352
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
918 | 918 | | |
919 | 919 | | |
920 | 920 | | |
921 | | - | |
| 921 | + | |
| 922 | + | |
922 | 923 | | |
923 | 924 | | |
924 | 925 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
File renamed without changes.
0 commit comments