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: fix flaky erc20 send token e2e #28775

Merged
merged 6 commits into from
Dec 5, 2024
Merged

test: fix flaky erc20 send token e2e #28775

merged 6 commits into from
Dec 5, 2024

Conversation

pnarayanaswamy
Copy link
Contributor

@pnarayanaswamy pnarayanaswamy commented Nov 27, 2024

Description

The issue is that sometimes when clicking on the watchAssets button from the test dapp the metamask dialog does not open. The test dapp button is present and enabled but for some reason clicking on it does nothing. However if you wait for a second and then click this seems to solve the issue.

Also tried to wait until the page is loaded, element is present, visible and enabled, however, the flakiness persists. Hence added a hardcoded wait.

Open in GitHub Codespaces

Related issues

Fixes: #28700

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.

@pnarayanaswamy pnarayanaswamy requested a review from a team as a code owner November 27, 2024 14:33
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-confirmations Push issues to confirmations team label Nov 27, 2024
@metamaskbot
Copy link
Collaborator

Builds ready [41e5b22]
Page Load Metrics (1827 ± 77 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint35721001754358172
domContentLoaded15312080178514972
load15752099182715977
domInteractive267341157
backgroundConnect787442612
firstReactRender1777312010
getState56018189
initialActions01000
loadScripts10871549130813866
setupStore65411105
uiStartup173127942051240115
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@metamaskbot
Copy link
Collaborator

Builds ready [a005cfa]
Page Load Metrics (1799 ± 47 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint1620198018049445
domContentLoaded1605193817749345
load1618198217999747
domInteractive2397412412
backgroundConnect94721136
firstReactRender158923178
getState45205873316
initialActions01000
loadScripts1232150413678239
setupStore610711
uiStartup18172402204214168
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@metamaskbot
Copy link
Collaborator

Builds ready [aaa11aa]
Page Load Metrics (1814 ± 53 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint30920081745348167
domContentLoaded15041938179810551
load15131956181411053
domInteractive266337136
backgroundConnect7371473
firstReactRender1689272110
getState5210491126
initialActions01000
loadScripts10891535138110550
setupStore6511095
uiStartup17262253206312460
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@metamaskbot
Copy link
Collaborator

Builds ready [a0f03c6]
Page Load Metrics (1810 ± 104 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint62021391718287138
domContentLoaded147425191790216104
load149125381810217104
domInteractive24493073
backgroundConnect76623178
firstReactRender1599272311
getState47212993216
initialActions00000
loadScripts10581997134120096
setupStore68014199
uiStartup171529302107288138
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@cryptotavares cryptotavares requested a review from a team December 4, 2024 13:55
@hjetpoluru hjetpoluru added this pull request to the merge queue Dec 5, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 5, 2024
@metamaskbot
Copy link
Collaborator

Builds ready [3e808a3]
Page Load Metrics (1929 ± 141 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint162925931937292140
domContentLoaded158525261904291140
load159325641929294141
domInteractive2592432110
backgroundConnect87228189
firstReactRender15105312713
getState843921527737
initialActions01000
loadScripts121319441460223107
setupStore680152210
uiStartup178635832300513246
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@hjetpoluru hjetpoluru added this pull request to the merge queue Dec 5, 2024
Merged via the queue into main with commit 456e63f Dec 5, 2024
75 checks passed
@hjetpoluru hjetpoluru deleted the fix-erc20-e2e branch December 5, 2024 20:29
@github-actions github-actions bot locked and limited conversation to collaborators Dec 5, 2024
@metamaskbot metamaskbot added the release-12.10.0 Issue or pull request that will be included in release 12.10.0 label Dec 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-12.10.0 Issue or pull request that will be included in release 12.10.0 team-confirmations Push issues to confirmations team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix "Confirmation Redesign ERC20 Token Send @no-mmi dApp ..." flaky tests
4 participants