Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Allow token balance to populate after swap #28744

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from

Conversation

davibroc
Copy link
Contributor

@davibroc davibroc commented Nov 26, 2024

Add to add a delay to allow the token balance to resolve. The script was going to fast and after swapping the first token the next swap would fail as the balance didn't have enough time to update

Description

Add to add a delay to allow the token balance to resolve. The script was going to fast and after swapping the first token the next swap would fail as the balance didn't have enough time to update

Open in GitHub Codespaces

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.

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
Copy link
Collaborator

Builds ready [5d3cfd0]
Page Load Metrics (1652 ± 42 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint1497182816568440
domContentLoaded1478180916258842
load1483182616528642
domInteractive237036147
backgroundConnect9117262512
firstReactRender1670332210
getState45114157
initialActions01000
loadScripts1068133211947938
setupStore65716199
uiStartup1645201918399646
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@metamaskbot
Copy link
Collaborator

Builds ready [04fca2d]
Page Load Metrics (1726 ± 61 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint15762023172712661
domContentLoaded15142002169412560
load15752022172612761
domInteractive247538168
backgroundConnect1180342210
firstReactRender1670332210
getState56017199
initialActions040294
loadScripts11131526125410651
setupStore610711
uiStartup17432228191914569
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@metamaskbot
Copy link
Collaborator

Builds ready [6eda1a5]
Page Load Metrics (1942 ± 123 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint38924211764501241
domContentLoaded159023831910254122
load159923981942255123
domInteractive2484452010
backgroundConnect679352311
firstReactRender1677402311
getState45418147
initialActions01000
loadScripts116818151433215103
setupStore65915157
uiStartup175726852172289139
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@metamaskbot
Copy link
Collaborator

Builds ready [6ed9fd5]
Page Load Metrics (1947 ± 51 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint41222161870353170
domContentLoaded16842197191211153
load17502216194710651
domInteractive23197443718
backgroundConnect1075362412
firstReactRender175624105
getState5611693199
initialActions01000
loadScripts12581701147110149
setupStore714921
uiStartup19862440222011857
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@metamaskbot
Copy link
Collaborator

Builds ready [cfa41a1]
Page Load Metrics (1776 ± 74 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint15992283177815374
domContentLoaded15912236175314670
load15962301177615574
domInteractive248933168
backgroundConnect76122178
firstReactRender15481984
getState4411489209
initialActions01000
loadScripts12081578133110349
setupStore616831
uiStartup180128992026247119
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

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

Successfully merging this pull request may close these issues.

2 participants