Skip to content

test: MM-1498 - Remove anti-patterns in solana-wallet-standard specs#40604

Draft
LeVinhGithub wants to merge 8 commits intomainfrom
harry/MMQA-1498
Draft

test: MM-1498 - Remove anti-patterns in solana-wallet-standard specs#40604
LeVinhGithub wants to merge 8 commits intomainfrom
harry/MMQA-1498

Conversation

@LeVinhGithub
Copy link
Contributor

@LeVinhGithub LeVinhGithub commented Mar 4, 2026

Description

The Solana Wallet Standard E2E specs had several anti-patterns that made tests flaky and harder to maintain:

  • driver.delay() – Arbitrary waits instead of dynamic waits
  • Direct driver/selector usage in specs – Bypassing the Page Object Model
  • Local helpers (clickConfirmButton, clickCancelButton) – Brittle CSS selectors and direct driver access

Changes:

  • Replaced all driver.delay() with dynamic waits (page objects use waitForSelector, checkPageIsLoaded, etc.)
  • Removed clickConfirmButton and clickCancelButton from testHelpers.ts and replaced them with SnapSignMessageConfirmation, SnapSignTransactionConfirmation, and SnapTransactionConfirmation page objects
  • Added checkNetworkIsDisplayed(networkName) to SnapSignMessageConfirmation and SnapTransactionConfirmation for network assertions
  • Replaced raw selectors (e.g. By.xpath, driver.clickElement) with page object methods

Open in GitHub Codespaces

Changelog

CHANGELOG entry: null

Related issues

Fixes: https://consensyssoftware.atlassian.net/browse/MMQA-1498

Manual testing steps

  1. Build the test extension: yarn build:test
  2. Run the Solana Wallet Standard E2E suite: yarn test:e2e:single "test/e2e/flask/solana-wallet-standard/**/*.spec.ts" --browser=chrome
  3. Confirm all tests pass without flaky timing-related failures

Screenshots/Recordings

N/A — code refactor only.

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.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 4, 2026

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 Mar 4, 2026
@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Mar 4, 2026

✨ Files requiring CODEOWNER review ✨

🧪 @MetaMask/qa (3 files, +57 -12)
  • 📁 test/
    • 📁 e2e/
      • 📁 page-objects/
        • 📁 pages/
          • 📁 confirmations/
            • 📄 snap-sign-message-confirmation.ts +10 -0
            • 📄 snap-transaction-confirmation.ts +21 -0
            • 📄 test-dapp-solana.ts +26 -12

@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Mar 4, 2026

Builds ready [c56e63b]
⚡ Performance Benchmarks
👆 Interaction Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Load New Accountload_new_account2652562737270273
total2652562737270273
Confirm Txconfirm_tx6047603060681460516068
total6047603060681460516068
Bridge User Actionsbridge_load_page2212112307226230
bridge_load_asset_picker1931861974196197
bridge_search_token7006997011701701
total112211161125411241125
🔌 Startup Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Standard HomeuiStartup14081171199311214351609
load118398916349812081348
domContentLoaded117798416249612051338
domInteractive2817124202481
firstPaint169681402183207301
backgroundConnect21218942926212238
firstReactRender20116672131
initialActions107124
loadScripts98179914269410061146
setupStore1373751521
numNetworkReqs312291202284
Power User HomeuiStartup17501448245519517672246
load11651028173015111531577
domContentLoaded11481015170814611391538
domInteractive3719155253987
firstPaint211731482183253370
backgroundConnect30825863667311426
firstReactRender23145772534
initialActions107113
loadScripts93481514621399301311
setupStore1664861627
numNetworkReqs63361662767135
🧭 User Journey Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Onboarding Import WalletimportWalletToSocialScreen2202182221220222
srpButtonToSrpForm1059611910114119
confirmSrpToPwForm22222312223
pwFormToMetricsScreen16161601616
metricsToWalletReadyScreen17171911819
doneButtonToHomeScreen70560385995767859
openAccountMenuToAccountListLoaded2934290629632029482963
total40223901421211741014212
Onboarding New WalletcreateWalletToSocialScreen2202192201220220
srpButtonToPwForm1081041144110114
createPwToRecoveryScreen889099
skipBackupToMetricsScreen35343503535
agreeButtonToOnboardingSuccess16161601616
doneButtonToAssetList53947462563602625
total9268581007599851007
Asset DetailsassetClickToPriceChart583783187183
total583783187183
Solana Asset DetailsassetClickToPriceChart76728247782
total76728247782
Import Srp HomeloginToHomeScreen1944183320748619392074
openAccountMenuAfterLogin614984136584
homeAfterImportWithNewWallet2549247426367526112636
total4585455346032346034603
Send TransactionsopenSendPageFromHome21113062630
selectTokenToSendFormLoaded19171911919
reviewTransactionToConfirmationPage8488468512849851
total8868818903887890
SwapopenSwapPageFromHome1171081299128129
fetchAndDisplaySwapQuotes289528912902428962902
total301230053020630183020
🌐 Dapp Page Load Benchmarks

Current Commit: c56e63b | Date: 3/4/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±42ms) 🟡 | historical mean value: 1.06s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 738ms (±39ms) 🟢 | historical mean value: 745ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 80ms (±11ms) 🟢 | historical mean value: 82ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.05s 42ms 1.02s 1.36s 1.09s 1.36s
domContentLoaded 738ms 39ms 716ms 1.03s 775ms 1.03s
firstPaint 80ms 11ms 60ms 172ms 88ms 172ms
firstContentfulPaint 80ms 11ms 60ms 172ms 88ms 172ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs
  • background: 58 Bytes (0%)
  • ui: 5 Bytes (0%)
  • common: 20 Bytes (0%)

@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Mar 5, 2026

Builds ready [62da8ac]
⚡ Performance Benchmarks
👆 Interaction Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Load New Accountload_new_account2702682732271273
total2702682732271273
Confirm Txconfirm_tx6083605461071860986107
total6083605461071860986107
Bridge User Actionsbridge_load_page24620727526273275
bridge_load_asset_picker20318023823210238
bridge_search_token72370276725737767
total1156109412526712191252
🔌 Startup Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Standard HomeuiStartup14461207179211115001645
load1213999142810012571389
domContentLoaded120698014169812521380
domInteractive2916100182677
firstPaint171721376142216301
backgroundConnect21819527314224243
firstReactRender21148092136
initialActions106123
loadScripts100579812119710461167
setupStore1363351522
numNetworkReqs312287192282
Power User HomeuiStartup17321404241717717702124
load11731049172814011641554
domContentLoaded11581041171913511501528
domInteractive331988123650
firstPaint1727939779237309
backgroundConnect30926840725317354
firstReactRender24156992641
initialActions104112
loadScripts93181914511289221292
setupStore1674361826
numNetworkReqs57371612454113
🧭 User Journey Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Onboarding Import WalletimportWalletToSocialScreen2192172211221221
srpButtonToSrpForm93939309393
confirmSrpToPwForm21212202222
pwFormToMetricsScreen15151601516
metricsToWalletReadyScreen16151711717
doneButtonToHomeScreen5995936034600603
openAccountMenuToAccountListLoaded2925291329491429332949
total3892387439071439033907
Onboarding New WalletcreateWalletToSocialScreen2222182253223225
srpButtonToPwForm1101101100110110
createPwToRecoveryScreen989099
skipBackupToMetricsScreen36353813638
agreeButtonToOnboardingSuccess16161711717
doneButtonToAssetList55749561345603613
total96088710044910001004
Asset DetailsassetClickToPriceChart12210714216139142
total12210714216139142
Solana Asset DetailsassetClickToPriceChart105971095108109
total105971095108109
Import Srp HomeloginToHomeScreen20361899217310320852173
openAccountMenuAfterLogin523965116465
homeAfterImportWithNewWallet28102611298114829532981
total48594619504818650335048
Send TransactionsopenSendPageFromHome21172532425
selectTokenToSendFormLoaded18162121921
reviewTransactionToConfirmationPage8448438461844846
total8868868870887887
SwapopenSwapPageFromHome31243643336
fetchAndDisplaySwapQuotes268326802689326842689
total2720270727381127252738
🌐 Dapp Page Load Benchmarks

Current Commit: 62da8ac | Date: 3/5/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.06s (±38ms) 🟡 | historical mean value: 1.05s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 746ms (±37ms) 🟢 | historical mean value: 740ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 84ms (±19ms) 🟢 | historical mean value: 82ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.06s 38ms 1.03s 1.35s 1.08s 1.35s
domContentLoaded 746ms 37ms 721ms 1.03s 768ms 1.03s
firstPaint 84ms 19ms 64ms 236ms 96ms 236ms
firstContentfulPaint 84ms 19ms 64ms 236ms 96ms 236ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs
  • background: 58 Bytes (0%)
  • ui: 5 Bytes (0%)
  • common: 20 Bytes (0%)

@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Mar 5, 2026

Builds ready [62da8ac]
⚡ Performance Benchmarks
👆 Interaction Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Load New Accountload_new_account2702682732271273
total2702682732271273
Confirm Txconfirm_tx6083605461071860986107
total6083605461071860986107
Bridge User Actionsbridge_load_page24620727526273275
bridge_load_asset_picker20318023823210238
bridge_search_token72370276725737767
total1156109412526712191252
🔌 Startup Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Standard HomeuiStartup14461207179211115001645
load1213999142810012571389
domContentLoaded120698014169812521380
domInteractive2916100182677
firstPaint171721376142216301
backgroundConnect21819527314224243
firstReactRender21148092136
initialActions106123
loadScripts100579812119710461167
setupStore1363351522
numNetworkReqs312287192282
Power User HomeuiStartup17321404241717717702124
load11731049172814011641554
domContentLoaded11581041171913511501528
domInteractive331988123650
firstPaint1727939779237309
backgroundConnect30926840725317354
firstReactRender24156992641
initialActions104112
loadScripts93181914511289221292
setupStore1674361826
numNetworkReqs57371612454113
🧭 User Journey Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Onboarding Import WalletimportWalletToSocialScreen2192172211221221
srpButtonToSrpForm93939309393
confirmSrpToPwForm21212202222
pwFormToMetricsScreen15151601516
metricsToWalletReadyScreen16151711717
doneButtonToHomeScreen5995936034600603
openAccountMenuToAccountListLoaded2925291329491429332949
total3892387439071439033907
Onboarding New WalletcreateWalletToSocialScreen2222182253223225
srpButtonToPwForm1101101100110110
createPwToRecoveryScreen989099
skipBackupToMetricsScreen36353813638
agreeButtonToOnboardingSuccess16161711717
doneButtonToAssetList55749561345603613
total96088710044910001004
Asset DetailsassetClickToPriceChart12210714216139142
total12210714216139142
Solana Asset DetailsassetClickToPriceChart105971095108109
total105971095108109
Import Srp HomeloginToHomeScreen20361899217310320852173
openAccountMenuAfterLogin523965116465
homeAfterImportWithNewWallet28102611298114829532981
total48594619504818650335048
Send TransactionsopenSendPageFromHome21172532425
selectTokenToSendFormLoaded18162121921
reviewTransactionToConfirmationPage8448438461844846
total8868868870887887
SwapopenSwapPageFromHome31243643336
fetchAndDisplaySwapQuotes268326802689326842689
total2720270727381127252738
🌐 Dapp Page Load Benchmarks

Current Commit: 62da8ac | Date: 3/5/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.06s (±38ms) 🟡 | historical mean value: 1.05s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 746ms (±37ms) 🟢 | historical mean value: 740ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 84ms (±19ms) 🟢 | historical mean value: 82ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.06s 38ms 1.03s 1.35s 1.08s 1.35s
domContentLoaded 746ms 37ms 721ms 1.03s 768ms 1.03s
firstPaint 84ms 19ms 64ms 236ms 96ms 236ms
firstContentfulPaint 84ms 19ms 64ms 236ms 96ms 236ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs
  • background: 58 Bytes (0%)
  • ui: 5 Bytes (0%)
  • common: 20 Bytes (0%)

@LeVinhGithub LeVinhGithub changed the title test: Remove anti-patterns in solana-wallet-standard specs test: MM-1437 - Remove anti-patterns in solana-wallet-standard specs Mar 6, 2026
@LeVinhGithub LeVinhGithub changed the title test: MM-1437 - Remove anti-patterns in solana-wallet-standard specs test: MM-1498 - Remove anti-patterns in solana-wallet-standard specs Mar 6, 2026
@LeVinhGithub LeVinhGithub self-assigned this Mar 6, 2026
@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Mar 6, 2026

Builds ready [84de995]
⚡ Performance Benchmarks
👆 Interaction Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Load New Accountload_new_account28326930415300304
total28326930415300304
Confirm Txconfirm_tx605060356058960546058
total605060356058960546058
Bridge User Actionsbridge_load_page2021992084200208
bridge_load_asset_picker19614524739236247
bridge_search_token73270875722756757
total1136108812045111921204
🔌 Startup Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Standard HomeuiStartup14221222178510614661613
load1190100714339512351371
domContentLoaded1183100214279412311364
domInteractive3018122192675
firstPaint1537137474210259
backgroundConnect20919124913212235
firstReactRender19133942127
initialActions109124
loadScripts99181212279310341171
setupStore1364471527
numNetworkReqs312290192581
Power User HomeuiStartup2776167211671170125014831
load12281054175016713041670
domContentLoaded12111040173416312761597
domInteractive3619129213687
firstPaint223771723209270409
backgroundConnect918267955815914583054
firstReactRender24164562636
initialActions106113
loadScripts994841147815610581356
setupStore1563251824
numNetworkReqs843522446105173
🧭 User Journey Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Onboarding Import WalletimportWalletToSocialScreen2212192232222223
srpButtonToSrpForm99991000100100
confirmSrpToPwForm22212302323
pwFormToMetricsScreen16161601616
metricsToWalletReadyScreen17161911819
doneButtonToHomeScreen699607875109775875
openAccountMenuToAccountListLoaded292129102935929272935
total39953891417511440854175
Onboarding New WalletcreateWalletToSocialScreen2182172180218218
srpButtonToPwForm11310412810123128
createPwToRecoveryScreen888088
skipBackupToMetricsScreen34333513435
agreeButtonToOnboardingSuccess16151711617
doneButtonToAssetList49948651711506517
total88986692019898920
Asset DetailsassetClickToPriceChart13310315018142150
total13310315018142150
Solana Asset DetailsassetClickToPriceChart78758337983
total78758337983
Import Srp HomeloginToHomeScreen1988185120737820542073
openAccountMenuAfterLogin443359105259
homeAfterImportWithNewWallet2307226123573223272357
total4339421444649644334464
Send TransactionsopenSendPageFromHome24173462534
selectTokenToSendFormLoaded22172742527
reviewTransactionToConfirmationPage85184486710849867
total89688590610906906
SwapopenSwapPageFromHome39364534045
fetchAndDisplaySwapQuotes2689267827051127002705
total2733271727451227422745
🌐 Dapp Page Load Benchmarks

Current Commit: 84de995 | Date: 3/6/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±39ms) 🟡 | historical mean value: 1.05s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 727ms (±37ms) 🟢 | historical mean value: 734ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 80ms (±11ms) 🟢 | historical mean value: 83ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 39ms 1.01s 1.33s 1.05s 1.33s
domContentLoaded 727ms 37ms 704ms 1000ms 738ms 1000ms
firstPaint 80ms 11ms 64ms 176ms 88ms 176ms
firstContentfulPaint 80ms 11ms 64ms 176ms 88ms 176ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs
  • background: 58 Bytes (0%)
  • ui: 5 Bytes (0%)
  • common: 20 Bytes (0%)

@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Mar 6, 2026

Builds ready [db60680]
⚡ Performance Benchmarks
👆 Interaction Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Load New Accountload_new_account469276727172537727
total469276727172537727
Confirm Txconfirm_tx61496060631910462226319
total61496060631910462226319
Bridge User Actionsbridge_load_page25124127011246270
bridge_load_asset_picker18114721832207218
bridge_search_token72570576223743762
total11971101137810512501378
🔌 Startup Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Standard HomeuiStartup14911263198111715561698
load12621068165610513071438
domContentLoaded12541063161510313031414
domInteractive2816134202578
firstPaint196711288172243362
backgroundConnect22720137623232264
firstReactRender18127771925
initialActions1012223
loadScripts1047842141010310911216
setupStore1373951422
numNetworkReqs322290193184
Power User HomeuiStartup3219167212954223540084870
load12731091184616913031693
domContentLoaded12561084181616112861666
domInteractive40192103238116
firstPaint257821700262292512
backgroundConnect127826510789211217082752
firstReactRender25174772639
initialActions108114
loadScripts1036881157715110721416
setupStore17769101838
numNetworkReqs934022344106187
🧭 User Journey Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Onboarding Import WalletimportWalletToSocialScreen2212202221221222
srpButtonToSrpForm94919939699
confirmSrpToPwForm21212102121
pwFormToMetricsScreen15151501515
metricsToWalletReadyScreen16161601616
doneButtonToHomeScreen67659383192734831
openAccountMenuToAccountListLoaded2917289829401729332940
total3921386039995039183999
Onboarding New WalletcreateWalletToSocialScreen2172162191218219
srpButtonToPwForm1071021134109113
createPwToRecoveryScreen888088
skipBackupToMetricsScreen36353713637
agreeButtonToOnboardingSuccess16161601616
doneButtonToAssetList63262064410644644
total101810131022410221022
Asset DetailsassetClickToPriceChart1113617249142172
total1113617249142172
Solana Asset DetailsassetClickToPriceChart83808628386
total83808628386
Import Srp HomeloginToHomeScreen2009187121679920612167
openAccountMenuAfterLogin45385465254
homeAfterImportWithNewWallet24412283261812025172618
total4568445447199645624719
Send TransactionsopenSendPageFromHome25183463034
selectTokenToSendFormLoaded21182532125
reviewTransactionToConfirmationPage8508468543853854
total89488290810901908
SwapopenSwapPageFromHome443166135166
fetchAndDisplaySwapQuotes2697268727191326942719
total2745272527852427372785
🌐 Dapp Page Load Benchmarks

Current Commit: db60680 | Date: 3/6/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1000ms (±58ms) 🟢 | historical mean value: 1.05s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 701ms (±54ms) 🟢 | historical mean value: 735ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 79ms (±9ms) 🟢 | historical mean value: 83ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1000ms 58ms 966ms 1.30s 1.05s 1.30s
domContentLoaded 701ms 54ms 674ms 991ms 750ms 991ms
firstPaint 79ms 9ms 64ms 160ms 84ms 160ms
firstContentfulPaint 79ms 9ms 64ms 160ms 84ms 160ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs
  • background: 58 Bytes (0%)
  • ui: 5 Bytes (0%)
  • common: 20 Bytes (0%)

@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 9, 2026

@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Mar 9, 2026

Builds ready [96eb359]
⚡ Performance Benchmarks
👆 Interaction Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Load New Accountload_new_account2772682846278284
total2772682846278284
Confirm Txconfirm_tx607660686087960866087
total607660686087960866087
Bridge User Actionsbridge_load_page25522428923273289
bridge_load_asset_picker16211419031187190
bridge_search_token7057017083707708
total1112109011291511211129
🔌 Startup Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Standard HomeuiStartup14231198170410814891632
load1196995144710012511392
domContentLoaded118898814169812421374
domInteractive281689162571
firstPaint164711296136208308
backgroundConnect21819630716221249
firstReactRender19133142027
initialActions1010123
loadScripts98779412249610451173
setupStore1362751622
numNetworkReqs312295202384
Power User HomeuiStartup20441652245415921422317
load11901079185415911771601
domContentLoaded11711065176715211601586
domInteractive40201793137107
firstPaint1798061495252320
backgroundConnect30926945232316378
firstReactRender24165472637
initialActions105113
loadScripts94984615451499381354
setupStore1774871835
numNetworkReqs69361734555168
🧭 User Journey Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Onboarding Import WalletimportWalletToSocialScreen2192182201219220
srpButtonToSrpForm96959719697
confirmSrpToPwForm22222202222
pwFormToMetricsScreen16161811718
metricsToWalletReadyScreen17161701717
doneButtonToHomeScreen6176096329616632
openAccountMenuToAccountListLoaded2924290429411229302941
total3910389039221339213922
Onboarding New WalletcreateWalletToSocialScreen2242172346230234
srpButtonToPwForm1061031113106111
createPwToRecoveryScreen889089
skipBackupToMetricsScreen34333713437
agreeButtonToOnboardingSuccess16161601616
doneButtonToAssetList57550868366614683
total97389411047810131104
Asset DetailsassetClickToPriceChart12210615218133152
total12210615218133152
Solana Asset DetailsassetClickToPriceChart78758027980
total78758027980
Import Srp HomeloginToHomeScreen2079198721757021102175
openAccountMenuAfterLogin49386294862
homeAfterImportWithNewWallet24802253271416324862714
total4499442645685845684568
Send TransactionsopenSendPageFromHome16121931819
selectTokenToSendFormLoaded23193362833
reviewTransactionToConfirmationPage8498468522849852
total8878838923887892
SwapopenSwapPageFromHome452276185476
fetchAndDisplaySwapQuotes268426802688326862688
total2729270727622027422762
🌐 Dapp Page Load Benchmarks

Current Commit: 96eb359 | Date: 3/9/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.06s (±40ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 742ms (±38ms) 🟢 | historical mean value: 727ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 82ms (±11ms) 🟢 | historical mean value: 81ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.06s 40ms 1.02s 1.35s 1.09s 1.35s
domContentLoaded 742ms 38ms 712ms 1.02s 767ms 1.02s
firstPaint 82ms 11ms 68ms 172ms 92ms 172ms
firstContentfulPaint 82ms 11ms 68ms 172ms 92ms 172ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 5.15 MiB (100%)
  • ui: 8.2 MiB (100%)
  • common: 10.99 MiB (100%)

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants