Skip to content

Conversation

@davibroc
Copy link
Contributor

@davibroc davibroc commented Nov 18, 2025

Description

Open in GitHub Codespaces

Changelog

CHANGELOG entry:

Related issues

Fixes:

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

Pre-merge author checklist

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.

Note

Adds withKeyringThirtyAccounts() to FixtureBuilder with a prebuilt 30-account vault and updates wallet state generator with a test SRP and new imports.

  • Fixtures/Testing:
    • test/e2e/fixture-builder.js:
      • Add withKeyringThirtyAccounts() to set KeyringController vault prepopulated with 30 accounts.
    • app/scripts/fixtures/generate-wallet-state.js:
      • Add test SRP constant and new imports (uuid, sha256FromString); remove E2E_SRP import.

Written by Cursor Bugbot for commit fb3bbe6. This will update automatically on new commits. Configure here.

@davibroc davibroc requested a review from a team as a code owner November 18, 2025 19:02
@github-actions
Copy link
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@metamaskbot metamaskbot added the team-qa QA team label Nov 18, 2025
@metamaskbot
Copy link
Collaborator

✨ Files requiring CODEOWNER review ✨

🧪 @MetaMask/qa (1 files, +7 -0)
  • 📁 test/
    • 📁 e2e/
      • 📄 fixture-builder.js +7 -0

@metamaskbot
Copy link
Collaborator

Builds ready [ea2bea2]
UI Startup Metrics (1216 ± 91 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1216105614439112661394
load104991612308111211186
domContentLoaded104391112158011091180
domInteractive2314108181877
firstPaint65186124941710531169
backgroundConnect2312192587233247
firstReactRender29205063342
getState23796122545
initialActions107112
loadScripts81969698879888951
setupStore1152841220
numNetworkReqs1367419670
BrowserifyPower User HomeuiStartup21221777297527723122975
load1121945165620813751656
domContentLoaded1103932164321113641643
domInteractive561715956150159
firstPaint731129164649210771646
backgroundConnect24722730919252309
firstReactRender70451021683102
getState21816331143255311
initialActions103113
loadScripts875718135019811331350
setupStore25165382753
numNetworkReqs1259519734167197
WebpackStandard HomeuiStartup8577281312958591121
load622564104180619785
domContentLoaded615558100675613768
domInteractive191287151559
firstPaint219591009220186757
backgroundConnect271281143157
firstReactRender3319141133742
getState1163541317
initialActions102011
loadScripts61255599573610757
setupStore1366171419
numNetworkReqs1367519871
WebpackPower User HomeuiStartup1079908152423113981524
load651560960122800960
domContentLoaded631551903106758903
domInteractive36121173884117
firstPaint416119906247571906
backgroundConnect66923479174234
firstReactRender40374624146
getState1369215723149157
initialActions101011
loadScripts627549893103748893
setupStore1262882328
numNetworkReqs846313929129139
FirefoxBrowserifyStandard HomeuiStartup14591291232315814731792
load12251116186311012511483
domContentLoaded12241115186211012501483
domInteractive52331713546152
firstPaint------
backgroundConnect4222214234785
firstReactRender27215362743
getState1073341117
initialActions207123
loadScripts12001100183710612331388
setupStore157211221227
numNetworkReqs1266815859
BrowserifyPower User HomeuiStartup32462544421249537034212
load15581322194920417381949
domContentLoaded15581321194920417371949
domInteractive253100652174397652
firstPaint------
backgroundConnect53910211463499331146
firstReactRender84661161494116
getState1517224443181244
initialActions213123
loadScripts15071279191321016471913
setupStore783216736115167
numNetworkReqs1267724259171242
WebpackStandard HomeuiStartup16311401202413416371985
load13811225171111213971685
domContentLoaded13811225171111213961685
domInteractive55301562864116
firstPaint------
backgroundConnect46211212151111
firstReactRender352689133780
getState1275881121
initialActions103122
loadScripts13531205169010613721614
setupStore14783131252
numNetworkReqs1367017765
WebpackPower User HomeuiStartup35032808515873443375158
load17761463247227420282472
domContentLoaded17761463247227420272472
domInteractive26666746217550746
firstPaint------
backgroundConnect53113215404056871540
firstReactRender955614124107141
getState221128557121267557
initialActions318138
loadScripts17251417238527019952385
setupStore783614434109144
numNetworkReqs1287424463230244
📊 Page Load Benchmark Results

Current Commit: ea2bea2 | Date: 11/18/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.02s (±101ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 719ms (±127ms) 🟢 | historical mean value: 726ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 84ms (±109ms) 🟢 | historical mean value: 77ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.02s 101ms 994ms 2.00s 1.04s 2.00s
domContentLoaded 719ms 127ms 686ms 1.96s 726ms 1.96s
firstPaint 84ms 109ms 60ms 1.17s 84ms 1.17s
firstContentfulPaint 84ms 109ms 60ms 1.17s 84ms 1.17s
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 53 Bytes (0%)
  • ui: 10 Bytes (0%)
  • common: 20 Bytes (0%)

q// This SRP has 30 accounts each with a Solana account
const TEST_SRP =
'stock grab suspect keep column cover plate grape assault patrol pistol wire';

Copy link

Choose a reason for hiding this comment

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

Bug: Fix Constant Mismatch

A new TEST_SRP constant is defined but never used. Line 45 still references the undefined E2E_SRP instead, which will cause a runtime error because E2E_SRP was removed from the imports. The code should use the TEST_SRP constant instead of E2E_SRP on line 45.

Fix in Cursor Fix in Web

@github-actions github-actions bot added size-S and removed size-XS labels Nov 18, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [782b59b]
UI Startup Metrics (1250 ± 92 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1250107314689213271414
load107993012798511421210
domContentLoaded107292412758511351203
domInteractive231494172071
firstPaint60079126841510481172
backgroundConnect23722328711241253
firstReactRender29205063144
getState2184882636
initialActions106113
loadScripts841706103884905974
setupStore1172731116
numNetworkReqs1367319670
WebpackStandard HomeuiStartup8377111205968381095
load61355995682607873
domContentLoaded60655693978602854
domInteractive181184141453
firstPaint19357872189197580
backgroundConnect251279133060
firstReactRender3219134163545
getState1162031315
initialActions104111
loadScripts60355492975600843
setupStore1163941318
numNetworkReqs1367720872
FirefoxBrowserifyStandard HomeuiStartup14751316181211215131759
load1245112614658212861458
domContentLoaded1244112614648212851457
domInteractive55332043553154
firstPaint------
backgroundConnect4026120154564
firstReactRender28225062843
getState1173141121
initialActions103122
loadScripts1221110614377812581411
setupStore1375781230
numNetworkReqs1267315754
WebpackStandard HomeuiStartup16471437213214016992009
load13961209177511314731643
domContentLoaded13961208177511314731643
domInteractive54301932764110
firstPaint------
backgroundConnect4724138215387
firstReactRender3625101153881
getState1175451119
initialActions104122
loadScripts13661192170410814241606
setupStore186145211459
numNetworkReqs1366817766
📊 Page Load Benchmark Results

Current Commit: 782b59b | Date: 11/18/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±38ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 736ms (±36ms) 🟢 | historical mean value: 726ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 78ms (±11ms) 🟢 | historical mean value: 77ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.05s 38ms 1.01s 1.33s 1.10s 1.33s
domContentLoaded 736ms 36ms 704ms 1.00s 772ms 1.00s
firstPaint 78ms 11ms 60ms 168ms 88ms 168ms
firstContentfulPaint 78ms 11ms 60ms 168ms 88ms 168ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 53 Bytes (0%)
  • ui: 10 Bytes (0%)
  • common: 20 Bytes (0%)

@davibroc davibroc added the no-changelog no-changelog Indicates no external facing user changes, therefore no changelog documentation needed label Nov 18, 2025
@davibroc davibroc force-pushed the test/fix-test-webpack branch from 5984f05 to fb3bbe6 Compare November 18, 2025 22:40
@davibroc davibroc changed the title Add new vault test: Add new vault Nov 18, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [fb3bbe6]
UI Startup Metrics (1267 ± 95 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1267110415789513341444
load109494513718711581239
domContentLoaded108794113418411521230
domInteractive241593182173
firstPaint73079135644011141237
backgroundConnect2372202779240255
firstReactRender29205673046
getState23771102747
initialActions108113
loadScripts856719110983925996
setupStore1162541221
numNetworkReqs1367619672
WebpackStandard HomeuiStartup88073512821008911077
load61655799681610823
domContentLoaded60855096677603804
domInteractive211496161768
firstPaint21862973221189776
backgroundConnect341384164374
firstReactRender34206493944
getState1252131418
initialActions102011
loadScripts60454895775601796
setupStore1372031518
numNetworkReqs1367419869
FirefoxBrowserifyStandard HomeuiStartup13851241200515514191761
load1175107214889612151417
domContentLoaded1175107214889612151417
domInteractive51341282262113
firstPaint------
backgroundConnect4024205283889
firstReactRender25204152539
getState136184181131
initialActions113122
loadScripts1151105514258511941347
setupStore145201211228
numNetworkReqs1467820774
WebpackStandard HomeuiStartup15751428220914815811901
load1337121916449213601573
domContentLoaded1337121916439213601573
domInteractive56311512567110
firstPaint------
backgroundConnect4319120204999
firstReactRender31247793245
getState1275491245
initialActions102122
loadScripts1308119616178313281513
setupStore176218301249
numNetworkReqs1367018767
📊 Page Load Benchmark Results

Current Commit: fb3bbe6 | Date: 11/18/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.01s (±45ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 697ms (±41ms) 🟢 | historical mean value: 729ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 78ms (±13ms) 🟢 | historical mean value: 78ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.01s 45ms 976ms 1.34s 1.06s 1.34s
domContentLoaded 697ms 41ms 671ms 1.01s 735ms 1.01s
firstPaint 78ms 13ms 64ms 196ms 88ms 196ms
firstContentfulPaint 78ms 13ms 64ms 196ms 88ms 196ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 53 Bytes (0%)
  • ui: 0 Bytes (0%)
  • common: 20 Bytes (0%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog no-changelog Indicates no external facing user changes, therefore no changelog documentation needed size-S team-qa QA team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants