metamask-extension icon indicating copy to clipboard operation
metamask-extension copied to clipboard

test: E2E Shield - Change payment method: crypto -> crypto

Open LeVinhGithub opened this issue 1 month ago • 7 comments

Description

This PR adds E2E test coverage for changing Shield subscription payment method from one crypto token to another (USDC to USDT). The implementation includes:

  1. New E2E Test: Added a test case that verifies the complete flow of changing payment method from USDC to USDT, including:

    • Verifying initial payment method is USDC
    • Opening payment method modal and selecting USDT
    • Verifying payment method change in the subscription approval page
    • Confirming the final payment method is updated to USDT
  2. Test Infrastructure Improvements:

    • Added createShieldFixtureCrypto() fixture for crypto payment tests with USDC and USDT tokens
    • Enhanced ShieldMockttpService to support defaultPaymentMethod option for mocking crypto subscriptions by default
    • Added selectPaymentMethodInModal() method to ShieldDetailPage page object for selecting payment methods dynamically
    • Added checkPaymentMethodInEstimatedChanges() method to ShieldSubscriptionApprovePage to verify payment method in the estimated changes section
  3. Page Object Enhancements:

    • Added data-testid="settings-back-button" to the settings back button for more reliable test element selection
    • Added clickBackButton() method to ShieldClaimPage for navigation testing

Open in GitHub Codespaces

Changelog

CHANGELOG entry: null

Related issues

Fixes:

Manual testing steps

  1. Run the E2E test for Shield subscription payment method change:

    yarn test:e2e:chrome test/e2e/tests/shield/shield-subscription-management.spec.ts

  2. Verify that the test "should be able to change payment method from crypto to crypto (USDC -> USDT)" passes successfully

  3. The test should verify:

    • Initial payment method is USDC
    • Payment method modal opens and USDT can be selected
    • Subscription approval page shows USDT in estimated changes
    • After confirmation, payment method is updated to USDT

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 E2E coverage and supporting mocks/UI hooks to change Shield subscription payment token from USDC to USDT.

  • E2E Tests:
    • Add flow verifying crypto→crypto payment method change (USDC→USDT) in test/e2e/tests/shield/shield-subscription-management.spec.ts.
    • Introduce crypto-focused fixture with USDC/USDT balances and local anvil state.
  • Mocks/Test Infrastructure:
    • Extend ShieldMockttpService (test/e2e/helpers/shield/mocks.ts):
      • Track #currentPaymentTokenSymbol and respect defaultPaymentMethod override.
      • Return crypto subscription details with dynamic token symbol/address.
      • Implement PATCH /subscriptions/:id/payment-method/crypto to update token and interval.
  • Page Objects:
    • ShieldDetailPage: add selectors/actions to open payment modal and select token.
    • ShieldSubscriptionApprovePage: add check for token symbol in estimated changes.
  • UI:
    • Add data-testid="shield-detail-payment-method-button" to payment method button (ui/pages/settings/transaction-shield-tab/payment-method-row.tsx).

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

LeVinhGithub avatar Dec 06 '25 01:12 LeVinhGithub

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.

github-actions[bot] avatar Dec 06 '25 01:12 github-actions[bot]

✨ Files requiring CODEOWNER review ✨

🧪 @MetaMask/qa (2 files, +53 -0)
  • 📁 test/
    • 📁 e2e/
      • 📁 page-objects/
        • 📁 pages/
          • 📁 settings/
            • 📁 shield/
              • 📄 shield-detail-page.ts +32 -0
              • 📄 shield-subscription-approve-page.ts +21 -0

🔐 @MetaMask/web3auth (1 files, +1 -0)
  • 📁 ui/
    • 📁 pages/
      • 📁 settings/
        • 📁 transaction-shield-tab/
          • 📄 payment-method-row.tsx +1 -0

metamaskbot avatar Dec 06 '25 01:12 metamaskbot

Builds ready [900cab8]
UI Startup Metrics (1225 ± 106 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup12251017162710612921403
load100982813089310481168
domContentLoaded100482313019210441159
domInteractive20154162136
firstPaint4548613043849631103
backgroundConnect20618425713211235
firstReactRender422979124869
getState3416107153960
initialActions104113
loadScripts806643108589851973
setupStore1262441321
numNetworkReqs86306628
BrowserifyPower User HomeuiStartup18631624232112619252078
load1065884140610511551224
domContentLoaded1053878138610411431215
domInteractive261682102647
firstPaint50594141141410161198
backgroundConnect25319556196235529
firstReactRender42357754450
getState19014069560200266
initialActions105112
loadScripts8466831181105937998
setupStore1595681437
numNetworkReqs67571111266104
WebpackStandard HomeuiStartup826695126886854957
load648560104688685809
domContentLoaded643554104087680804
domInteractive22144882240
firstPaint22980963183206698
backgroundConnect1263071528
firstReactRender51311943444133
getState23134582939
initialActions103112
loadScripts641552103587678802
setupStore1063541116
numNetworkReqs86306629
WebpackPower User HomeuiStartup14981207205915516211740
load74160296790807894
domContentLoaded73459595188798883
domInteractive2717108132858
firstPaint26693888206229782
backgroundConnect64762013642545
firstReactRender47396244955
getState19814132040234260
initialActions103011
loadScripts73159393888796881
setupStore15103961535
numNetworkReqs665810296696
FirefoxBrowserifyStandard HomeuiStartup12481091165812813021540
load102291713478410511225
domContentLoaded102291713478410491220
domInteractive5131151266697
firstPaint------
backgroundConnect3818122223998
firstReactRender36306163751
getState126148191021
initialActions102012
loadScripts99890212567410301176
setupStore1064341020
numNetworkReqs86285723
BrowserifyPower User HomeuiStartup28101716375364133553672
load1766958264258023002581
domContentLoaded1765957263558023002581
domInteractive121301194224811041
firstPaint------
backgroundConnect2052512192682201084
firstReactRender6039194236487
getState1628937465195285
initialActions3140627
loadScripts1661941257254222132431
setupStore5753647961276
numNetworkReqs69571221567112
WebpackStandard HomeuiStartup15721304300425215992083
load12701091263020712951418
domContentLoaded12691090262920712951417
domInteractive7429149514783156
firstPaint------
backgroundConnect46182403252117
firstReactRender44348784660
getState177204281453
initialActions106122
loadScripts12471076260920612771390
setupStore13687101227
numNetworkReqs86276825
WebpackPower User HomeuiStartup27481732434858332093515
load17791110333953822852568
domContentLoaded17791110333953822852568
domInteractive12229123223884954
firstPaint------
backgroundConnect183271306263183985
firstReactRender5538132145885
getState157681170148170256
initialActions2040423
loadScripts16651092260447421862371
setupStore3443175729171
numNetworkReqs7056114127796
📊 Page Load Benchmark Results

Current Commit: 900cab8 | Date: 12/6/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±40ms) 🟡 | historical mean value: 1.03s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 723ms (±37ms) 🟢 | historical mean value: 718ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±11ms) 🟢 | historical mean value: 76ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 40ms 1.00s 1.31s 1.07s 1.31s
domContentLoaded 723ms 37ms 698ms 988ms 746ms 988ms
firstPaint 76ms 11ms 60ms 160ms 88ms 160ms
firstContentfulPaint 76ms 11ms 60ms 160ms 88ms 160ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: 0 Bytes (0%)
  • common: 20 Bytes (0%)

metamaskbot avatar Dec 06 '25 02:12 metamaskbot

Builds ready [dbb9a2f]
UI Startup Metrics (1288 ± 93 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1288108416379313451420
load105588812988410971205
domContentLoaded104988612888310931200
domInteractive22164662237
firstPaint50695129341010411152
backgroundConnect21919928413225244
firstReactRender473388115170
getState3916122204491
initialActions104112
loadScripts836673107881871983
setupStore1366971425
numNetworkReqs86337629
BrowserifyPower User HomeuiStartup18821645215910419552031
load108888313349911611236
domContentLoaded107987813269911551225
domInteractive25165682747
firstPaint53289128541110331204
backgroundConnect251196620100228575
firstReactRender47398864957
getState20313868360223278
initialActions102112
loadScripts86767711181009401021
setupStore16104571634
numNetworkReqs69581161467113
WebpackStandard HomeuiStartup8527321156768731021
load65657599468690769
domContentLoaded65056898768683763
domInteractive22154162239
firstPaint21882750145211620
backgroundConnect1263881331
firstReactRender56332533957144
getState2914357343348
initialActions103112
loadScripts64756698568681761
setupStore1072941222
numNetworkReqs86306623
WebpackPower User HomeuiStartup14791175236819516091804
load719585100592781888
domContentLoaded71257999791772880
domInteractive261583122653
firstPaint24391840173240704
backgroundConnect78663615158545
firstReactRender49418365062
getState18514168258195246
initialActions103112
loadScripts70957798891769878
setupStore1484571436
numNetworkReqs6959207176896
FirefoxBrowserifyStandard HomeuiStartup12481071177414113091642
load102589113909410691279
domContentLoaded102488613899410691278
domInteractive55311682776121
firstPaint------
backgroundConnect39213023436104
firstReactRender35296463649
getState1169010921
initialActions102012
loadScripts100187313698510331203
setupStore11520320920
numNetworkReqs86266625
BrowserifyPower User HomeuiStartup25771614374658030863320
load1576945296254420622348
domContentLoaded1575945296154420622347
domInteractive149321743306861041
firstPaint------
backgroundConnect150201178211175392
firstReactRender5538109125786
getState1448341361168256
initialActions2032323
loadScripts1494931294452119632320
setupStore525114713138312
numNetworkReqs71571201569109
WebpackStandard HomeuiStartup15081276190214416051826
load12311088160610012921446
domContentLoaded12311088160610012911445
domInteractive57273704978155
firstPaint------
backgroundConnect45171992746111
firstReactRender41329594354
getState157169191526
initialActions104112
loadScripts1206107215849612641384
setupStore13597131226
numNetworkReqs86276725
WebpackPower User HomeuiStartup28971851435158332933587
load19161191357255523462621
domContentLoaded19161190357155523462620
domInteractive199281939387911060
firstPaint------
backgroundConnect152281054196184386
firstReactRender6141197196389
getState1438436559180271
initialActions3163623
loadScripts18291169354853022662573
setupStore3843636732227
numNetworkReqs72591221670115
📊 Page Load Benchmark Results

Current Commit: dbb9a2f | Date: 12/9/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.02s (±40ms) 🟡 | historical mean value: 1.05s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 709ms (±37ms) 🟢 | historical mean value: 734ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 74ms (±14ms) 🟢 | historical mean value: 79ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.02s 40ms 987ms 1.32s 1.06s 1.32s
domContentLoaded 709ms 37ms 679ms 994ms 741ms 994ms
firstPaint 74ms 14ms 56ms 188ms 84ms 188ms
firstContentfulPaint 74ms 14ms 56ms 188ms 84ms 188ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: 0 Bytes (0%)
  • common: 20 Bytes (0%)

metamaskbot avatar Dec 09 '25 03:12 metamaskbot

Builds ready [2abcfc3]
UI Startup Metrics (1257 ± 102 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup12571046151310213191438
load102585312467710701150
domContentLoaded101885012347710631145
domInteractive2815155252292
firstPaint55282125140210251105
backgroundConnect21219325111216235
firstReactRender443285114773
getState3918153234194
initialActions102112
loadScripts813647101974857941
setupStore1172431318
numNetworkReqs1368219669
BrowserifyPower User HomeuiStartup19161526258117720012221
load1078880168213411811269
domContentLoaded1068874167413411651256
domInteractive3117184262796
firstPaint56185129642910261230
backgroundConnect23120163464227258
firstReactRender47397254957
getState210148709105216326
initialActions102112
loadScripts85967614221319541047
setupStore1694181537
numNetworkReqs72572302568132
WebpackStandard HomeuiStartup823677113686879969
load67157494386748851
domContentLoaded66556993585743844
domInteractive2616111192279
firstPaint25288940184232768
backgroundConnect13681111334
firstReactRender50341942653113
getState281458113750
initialActions103111
loadScripts66256793385740841
setupStore1164151218
numNetworkReqs1368320972
WebpackPower User HomeuiStartup14201100199216515281676
load744597933101846915
domContentLoaded735592925101836900
domInteractive31171232427102
firstPaint34395918249611848
backgroundConnect85671416171539
firstReactRender50397675168
getState18514129535195263
initialActions102111
loadScripts732590916100833898
setupStore1584191434
numNetworkReqs72572252767138
FirefoxBrowserifyStandard HomeuiStartup13391093207317214001719
load1076930160410111231245
domContentLoaded1076929160410111231245
domInteractive72353294597146
firstPaint------
backgroundConnect53234004867109
firstReactRender38317073954
getState156187221137
initialActions103122
loadScripts104891415769110841199
setupStore1265481131
numNetworkReqs1568621877
BrowserifyPower User HomeuiStartup26541646380357930863604
load1664991268751321272451
domContentLoaded1664991268751421272451
domInteractive184311032284124968
firstPaint------
backgroundConnect162201133181197439
firstReactRender5335105125879
getState1257423936150196
initialActions2030423
loadScripts1587966246448220142279
setupStore454104411432207
numNetworkReqs75561572374126
WebpackStandard HomeuiStartup16451298213017917222046
load13311135177710413791546
domContentLoaded13311134177710413791546
domInteractive802916135102139
firstPaint------
backgroundConnect61221733678144
firstReactRender45347474858
getState2671944016144
initialActions103122
loadScripts1298111717529713491465
setupStore215125241798
numNetworkReqs1568320873
WebpackPower User HomeuiStartup26901752398656031133493
load19091148345152924032720
domContentLoaded19091148345152924032720
domInteractive227291274348224997
firstPaint------
backgroundConnect162241089210193938
firstReactRender5634188195990
getState1427195694167237
initialActions2135323
loadScripts18221116275748322452550
setupStore285351443583
numNetworkReqs74571342184125
📊 Page Load Benchmark Results

Current Commit: 2abcfc3 | Date: 12/10/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.03s (±37ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 716ms (±35ms) 🟢 | historical mean value: 727ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 75ms (±10ms) 🟢 | historical mean value: 82ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 37ms 1.01s 1.30s 1.04s 1.30s
domContentLoaded 716ms 35ms 696ms 982ms 725ms 982ms
firstPaint 75ms 10ms 60ms 156ms 84ms 156ms
firstContentfulPaint 75ms 10ms 60ms 156ms 84ms 156ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: 0 Bytes (0%)
  • common: 20 Bytes (0%)

metamaskbot avatar Dec 10 '25 06:12 metamaskbot

Builds ready [3e1c699]
UI Startup Metrics (1305 ± 116 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup13051058168911613661504
load106688114099811151221
domContentLoaded105987414009711101206
domInteractive2815102212489
firstPaint54786135141710411187
backgroundConnect22119827114231248
firstReactRender5030140195983
getState44191572550103
initialActions105113
loadScripts8446681139918861003
setupStore1373751426
numNetworkReqs1368320673
BrowserifyPower User HomeuiStartup19121573263118319942224
load1064866137212811501301
domContentLoaded1054852135112811431289
domInteractive3016127232898
firstPaint700104136541110611242
backgroundConnect260189783112238550
firstReactRender51388975365
getState19510932331208253
initialActions102112
loadScripts84266211211269381077
setupStore1493971432
numNetworkReqs73582182867143
WebpackStandard HomeuiStartup77765198274810911
load62955479869670774
domContentLoaded62354979068666767
domInteractive241590182178
firstPaint25081783174218708
backgroundConnect1163161328
firstReactRender46311752546119
getState271355113547
initialActions103112
loadScripts62054778867664761
setupStore1052741219
numNetworkReqs1367920672
WebpackPower User HomeuiStartup14631142189419216111801
load756611946100851926
domContentLoaded748605937100844918
domInteractive35162743528113
firstPaint306105943225334854
backgroundConnect47869811924127
firstReactRender51418875464
getState2097570294210347
initialActions102011
loadScripts74560393499840916
setupStore1774291537
numNetworkReqs71552172566128
FirefoxBrowserifyStandard HomeuiStartup13331086201919414631749
load1052907171911911131254
domContentLoaded1051907171912011131254
domInteractive58312223875144
firstPaint------
backgroundConnect47212504050127
firstReactRender39316984259
getState166200251236
initialActions102012
loadScripts1026889167611310821227
setupStore146110161237
numNetworkReqs1567820871
BrowserifyPower User HomeuiStartup26031558358456431113365
load1619964262051520952385
domContentLoaded1618964262051520952385
domInteractive1553199126486971
firstPaint------
backgroundConnect159241119184182404
firstReactRender5633104155995
getState1476795695166222
initialActions218123
loadScripts1538948259648119942268
setupStore605103515540265
numNetworkReqs74521352174125
WebpackStandard HomeuiStartup15331273220815916021845
load1277111415159613251474
domContentLoaded1277111415159613251473
domInteractive72282884095130
firstPaint------
backgroundConnect55181783466129
firstReactRender413294104357
getState167119191459
initialActions103112
loadScripts1247110014578712931434
setupStore194230291575
numNetworkReqs1568421874
WebpackPower User HomeuiStartup27251793670566630813564
load19031152585763523632572
domContentLoaded19021152585763523572571
domInteractive2842840475172701021
firstPaint------
backgroundConnect147251041150192365
firstReactRender5838123156195
getState1287827547158231
initialActions208123
loadScripts18411137583461922882539
setupStore3353986026152
numNetworkReqs75581392283128
📊 Page Load Benchmark Results

Current Commit: 3e1c699 | Date: 12/10/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±37ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 724ms (±34ms) 🟢 | historical mean value: 724ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 77ms (±12ms) 🟢 | historical mean value: 78ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 37ms 1.01s 1.30s 1.06s 1.30s
domContentLoaded 724ms 34ms 698ms 970ms 746ms 970ms
firstPaint 77ms 12ms 60ms 184ms 88ms 184ms
firstContentfulPaint 77ms 12ms 60ms 184ms 88ms 184ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: 52 Bytes (0%)
  • common: 20 Bytes (0%)

metamaskbot avatar Dec 10 '25 14:12 metamaskbot

Builds ready [cbddcb4]
UI Startup Metrics (1317 ± 112 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup13171072156211213981503
load107689812889411531252
domContentLoaded107088712749311471244
domInteractive2716103182378
firstPaint4628612583749401167
backgroundConnect22520331316234264
firstReactRender4532172174670
getState3817126174371
initialActions107112
loadScripts8526801060889131015
setupStore1264151321
numNetworkReqs1367918670
BrowserifyPower User HomeuiStartup19401581229114520272228
load1093898140312111881291
domContentLoaded1083888138312011811285
domInteractive33171532828116
firstPaint537104141941610121258
backgroundConnect24520565176236511
firstReactRender493910795162
getState216153728105223300
initialActions103112
loadScripts86567511671179591064
setupStore1673771634
numNetworkReqs71581411968126
WebpackStandard HomeuiStartup819677105086883984
load66156481872730797
domContentLoaded65656081372724791
domInteractive261599202283
firstPaint21278800134218628
backgroundConnect1163671329
firstReactRender50322933350119
getState281358123754
initialActions106112
loadScripts65355881171720786
setupStore1154051126
numNetworkReqs1368019672
WebpackPower User HomeuiStartup14201083194918815781709
load734579979109845945
domContentLoaded727572974108837938
domInteractive31161242525104
firstPaint26695908189241817
backgroundConnect85763115882576
firstReactRender504111385162
getState18514367556190242
initialActions103112
loadScripts724570966107834935
setupStore1576081436
numNetworkReqs70561502166134
FirefoxBrowserifyStandard HomeuiStartup13731120256820914491737
load109293914319611361293
domContentLoaded109193914319611361292
domInteractive70331903590135
firstPaint------
backgroundConnect51222074057152
firstReactRender39327274157
getState146203211230
initialActions103122
loadScripts106492613868811051243
setupStore27610501051564
numNetworkReqs1668922780
BrowserifyPower User HomeuiStartup26171591384057230553376
load1600983262550820962365
domContentLoaded1600982262550820952365
domInteractive16632111526997985
firstPaint------
backgroundConnect179241165209217505
firstReactRender5738100136386
getState1306824045154226
initialActions3157727
loadScripts1520941260847619592265
setupStore3643675643110
numNetworkReqs75561302181124
WebpackStandard HomeuiStartup15701316226418116411991
load12961076173311313541516
domContentLoaded12961075173311313541516
domInteractive812820541120140
firstPaint------
backgroundConnect52192023454128
firstReactRender41338884354
getState15776121542
initialActions103022
loadScripts12691048169910813251474
setupStore156122171363
numNetworkReqs1668622879
WebpackPower User HomeuiStartup26641793389652130853509
load18501101292449722992558
domContentLoaded18501100292349722992557
domInteractive226281039333170986
firstPaint------
backgroundConnect180251277230196954
firstReactRender5535102126074
getState1307840054154242
initialActions207124
loadScripts17601086268046921952509
setupStore315343454299
numNetworkReqs72471322068119
📊 Page Load Benchmark Results

Current Commit: cbddcb4 | Date: 12/10/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.03s (±41ms) 🟡 | historical mean value: 1.03s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 717ms (±38ms) 🟢 | historical mean value: 720ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±13ms) 🟢 | historical mean value: 78ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 41ms 1.01s 1.35s 1.06s 1.35s
domContentLoaded 717ms 38ms 698ms 1.02s 736ms 1.02s
firstPaint 76ms 13ms 56ms 192ms 88ms 192ms
firstContentfulPaint 76ms 13ms 56ms 192ms 88ms 192ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: 52 Bytes (0%)
  • common: 20 Bytes (0%)

metamaskbot avatar Dec 10 '25 16:12 metamaskbot

Builds ready [a32d25f]
UI Startup Metrics (1317 ± 135 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup13171025173513514121535
load1083873141811611681281
domContentLoaded1076866139711411601272
domInteractive2915125222489
firstPaint57590143243210801263
backgroundConnect22320227815228258
firstReactRender4831194205675
getState3918102144766
initialActions106112
loadScripts86066111461089391039
setupStore1262841322
numNetworkReqs1368420672
BrowserifyPower User HomeuiStartup19231601249316320172237
load1088892155413111961305
domContentLoaded1077881154313111851295
domInteractive31171122327102
firstPaint53310313323949991206
backgroundConnect24520066084231528
firstReactRender47399364858
getState19814173364207285
initialActions102112
loadScripts86468412891289691090
setupStore1574971432
numNetworkReqs72591401969132
WebpackStandard HomeuiStartup835691101976884975
load66857986468730799
domContentLoaded66357385868725789
domInteractive251696172378
firstPaint25076795178224729
backgroundConnect1168591120
firstReactRender58332313855138
getState301497143855
initialActions103112
loadScripts65957184867721781
setupStore1356591529
numNetworkReqs1369019673
WebpackPower User HomeuiStartup14171086192720416071758
load7356001010107852920
domContentLoaded7275931005107843912
domInteractive31171402526101
firstPaint28386732188300691
backgroundConnect71767714758553
firstReactRender49426845256
getState19014277167196262
initialActions101011
loadScripts724590996106835907
setupStore1573671434
numNetworkReqs74572383067140
FirefoxBrowserifyStandard HomeuiStartup15191155287131416752272
load1199954245923112711677
domContentLoaded1199954245923112701676
domInteractive77332664195179
firstPaint------
backgroundConnect67213456871257
firstReactRender41327384559
getState177224291542
initialActions103122
loadScripts1161938235621512211576
setupStore176192231558
numNetworkReqs1568420873
BrowserifyPower User HomeuiStartup26031606492454430063330
load1572983377953320432308
domContentLoaded1571983377953320432308
domInteractive148311127243101914
firstPaint------
backgroundConnect192281178231205965
firstReactRender5337104115678
getState138701028104152240
initialActions3038627
loadScripts1469968361448619172204
setupStore584101512651239
numNetworkReqs75511332080121
WebpackStandard HomeuiStartup15991345206415816891937
load13191164170210113761540
domContentLoaded13191164170210113761540
domInteractive782121236105135
firstPaint------
backgroundConnect58191683761142
firstReactRender42348874455
getState188158241558
initialActions103022
loadScripts1290114716269513461475
setupStore206195291475
numNetworkReqs1568721875
WebpackPower User HomeuiStartup28681764426560032973864
load19371150319253624152713
domContentLoaded19361150319053624142712
domInteractive193311172305153979
firstPaint------
backgroundConnect192291146228210983
firstReactRender6242206186578
getState1478358172170265
initialActions41761038
loadScripts18371135307250722642687
setupStore4154016446136
numNetworkReqs72471282468126
📊 Page Load Benchmark Results

Current Commit: a32d25f | Date: 12/11/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±43ms) 🟡 | historical mean value: 1.03s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 722ms (±39ms) 🟢 | historical mean value: 719ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 77ms (±11ms) 🟢 | historical mean value: 76ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 43ms 1.01s 1.35s 1.07s 1.35s
domContentLoaded 722ms 39ms 697ms 1.01s 747ms 1.01s
firstPaint 77ms 11ms 60ms 168ms 84ms 168ms
firstContentfulPaint 77ms 11ms 60ms 168ms 84ms 168ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: 52 Bytes (0%)
  • common: 20 Bytes (0%)

metamaskbot avatar Dec 11 '25 03:12 metamaskbot