Skip to content

test: swap + send eth e2e tests#24449

Merged
BZahory merged 12 commits intomb843/swap-and-sendfrom
swap-send-e2e-eth
May 24, 2024
Merged

test: swap + send eth e2e tests#24449
BZahory merged 12 commits intomb843/swap-and-sendfrom
swap-send-e2e-eth

Conversation

@micaelae
Copy link
Copy Markdown
Member

@micaelae micaelae commented May 9, 2024

Description

Open in GitHub Codespaces

Related issues

Fixes:

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

Pre-merge author checklist

  • I’ve followed MetaMask Coding Standards.
  • I've completed the PR template to the best of my ability
  • I’ve included tests if applicable
  • I’ve documented my code using JSDoc format if applicable
  • I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.

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.

@micaelae micaelae requested a review from a team as a code owner May 9, 2024 00:37
@BZahory BZahory force-pushed the mb843/updates-2 branch from b140e19 to 120e2cb Compare May 9, 2024 16:09
@micaelae micaelae requested review from a team as code owners May 9, 2024 16:09
@micaelae micaelae requested a review from kumavis as a May 9, 2024 20:50
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented May 9, 2024

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.

@micaelae micaelae force-pushed the swap-send-e2e-eth branch 2 times, most recently from a96660e to c0ed904 Compare May 10, 2024 01:48
@BZahory BZahory force-pushed the mb843/updates-2 branch from 3ada699 to c98f3d7 Compare May 10, 2024 15:30
@micaelae micaelae requested a review from a team as a code owner May 10, 2024 15:30
@micaelae micaelae force-pushed the swap-send-e2e-eth branch 5 times, most recently from f6d9ee1 to f380839 Compare May 17, 2024 16:57
@micaelae micaelae marked this pull request as draft May 18, 2024 01:21
@micaelae micaelae force-pushed the swap-send-e2e-eth branch 3 times, most recently from 729b7fd to a9bf603 Compare May 22, 2024 21:13
@micaelae micaelae marked this pull request as ready for review May 22, 2024 21:14
@BZahory BZahory force-pushed the mb843/updates-2 branch from 77054a1 to 533127b Compare May 22, 2024 21:16
@BZahory BZahory requested a review from a team as a code owner May 22, 2024 21:16
@micaelae micaelae force-pushed the swap-send-e2e-eth branch 5 times, most recently from 59954b4 to 64eecd2 Compare May 23, 2024 05:44
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use addHexPrefix here instead

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Side note but is this not a numeric value? We would need to change the base in the next parameter as well if it's a hex

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you search for GAS_PRICE_API_MOCK_RESULT or gasPricesCallbackMock it looks like the prices are in decimals

The infura https://gas.api.infura.io/networks/1/gasPrices api might be deprecated tho bc I can't find docs on it

Copy link
Copy Markdown
Contributor

@georgewrmarshall georgewrmarshall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why this is blocked by @MetaMask/design-system-engineers, did it previously touch the component-library? Approving to unblock

@micaelae micaelae force-pushed the swap-send-e2e-eth branch from 64eecd2 to ca537b4 Compare May 23, 2024 17:13
@micaelae micaelae force-pushed the swap-send-e2e-eth branch 6 times, most recently from ec510e2 to 0f5804a Compare May 24, 2024 19:29
Base automatically changed from mb843/updates-2 to mb843/swap-and-send May 24, 2024 20:50
@micaelae micaelae force-pushed the swap-send-e2e-eth branch 2 times, most recently from 70d6f85 to ad4b598 Compare May 24, 2024 21:11
micaelae added 10 commits May 24, 2024 18:00
fix: send-hex-address tests

fix: custom-token-send-transfer tests

fix: ens test

fix: erc721-interaction tests

fix: custom-token-add-approve tests

fix: snap-account-transfers tests

fix: test-snap-txinsights tests

fix: failing-contract tests

fix: settings-security-reveal-srp tests

fix: token-details test

fix: add-hide-token tests

fix: show-hex-data test

fix: test-snap-txinsights-v2 tests

fix: increase-token-allowance test

fix: increase snap-account-transfers delay (flaky)

fix: rm delay for swap-send-eth

fix: contract-interactions test

fix: snap-account-transfers

fix: failing-contract tests

fix: ens test

fix: rm useEthFeeData
fix: show-hex-data.spec tests

fix: swap-send-eth test
@micaelae micaelae force-pushed the swap-send-e2e-eth branch from ad4b598 to 3e6bb55 Compare May 24, 2024 22:02
@BZahory BZahory force-pushed the swap-send-e2e-eth branch from b10e78c to 7e438aa Compare May 24, 2024 23:18
@BZahory BZahory merged this pull request into mb843/swap-and-send May 24, 2024
@BZahory BZahory deleted the swap-send-e2e-eth branch May 24, 2024 23:45
@github-actions github-actions bot locked and limited conversation to collaborators May 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants