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

chore: de-deuplicates the erc20 revoke allowance tests #29658

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

pnarayanaswamy
Copy link
Contributor

@pnarayanaswamy pnarayanaswamy commented Jan 13, 2025

Description

The ERC 20 revoke allowance tests were using some exported methods from other tests (increase allowance and approve component) causing also those tests to be run along with the revoke tests. This PR moves the reusable methods to the shared file so that the tests are not duplicated

Open in GitHub Codespaces

Related issues

Fixes: #28486

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 metamaskbot added the team-confirmations Push issues to confirmations team label Jan 13, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [0ad2779]
Page Load Metrics (1794 ± 113 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint28324971640504242
domContentLoaded148224461761231111
load149025021794236113
domInteractive25149482914
backgroundConnect8104322813
firstReactRender1899492814
getState495242914
initialActions01000
loadScripts107019551330213103
setupStore65814147
uiStartup167727412111301145
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@metamaskbot
Copy link
Collaborator

Builds ready [0521cdc]
Page Load Metrics (1723 ± 56 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint15582065172511555
domContentLoaded15512022169610852
load15592069172311656
domInteractive2695462211
backgroundConnect875262010
firstReactRender1678382412
getState65623199
initialActions01000
loadScripts1111151712479445
setupStore65914147
uiStartup18252271195611254
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
Labels
team-confirmations Push issues to confirmations team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix "Confirmation Redesign ERC20 Approve Component Submit..." flaky tests
2 participants