1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/test/e2e/tests
Mark Stacey ec7e7fdf6d
Fix fallback gas estimation (#19746)
* Fix fallback gas estimation

Our fallback gas estimation was failing due to a bug in the
`@metamask/controller-utils` package. This was causing gas estimation
to fail completely on certain networks (those not supported by our gas
estimation APIs and non EIP-1559 compatibile), and it was causing the
fallback gas estimation operation (in case our API was down) to fail
across all networks.

Fixes https://github.com/MetaMask/metamask-extension/issues/19735

* Add e2e tests

E2E tests have been added to capture gas estimation. Cases are added
for our API, for the fallback estimate, and for non-EIP-1559 estimates.

As part of this work, the legacy gas API had to be disabled. This was
being used in e2e tests but was dead code in production. It needed to
be disabled to ensure the code under test was reachable.

* Fix gas API referenced in e2e test

* Update unit test snapshots
2023-06-26 16:13:16 -02:30
..
account-details.spec.js Release MultiChain 0.5 (#18903) 2023-06-01 16:14:38 -05:00
add-account.spec.js Fix add-account e2e test (#19684) 2023-06-20 16:33:24 +01:00
add-custom-network.spec.js fix(e2e): flaky test-e2e-chrome on add-custom-network.spec.js (#19487) 2023-06-07 23:39:06 +05:30
add-hide-token.spec.js Upgrade assets-controllers to v9 (#19472) 2023-06-09 15:48:48 -05:00
address-book.spec.js UI updates for contacts Page (#19646) 2023-06-26 22:38:42 +05:30
advanced-settings.spec.js Release MultiChain 0.5 (#18903) 2023-06-01 16:14:38 -05:00
auto-lock.spec.js Fix autolock field to accept decimals in Firefox (#19653) 2023-06-22 10:29:24 -06:00
backup-restore.spec.js Release MultiChain 0.5 (#18903) 2023-06-01 16:14:38 -05:00
chain-interactions.spec.js Reduce e2e test flakiness (#19507) 2023-06-08 14:34:48 -02:30
clear-activity.spec.js Release MultiChain 0.5 (#18903) 2023-06-01 16:14:38 -05:00
contract-interactions.spec.js feature(17901): fix address-book Sends to an address book entry e2e against MV3 build (#19330) 2023-05-30 13:44:56 +01:00
custom-rpc-history.spec.js Release MultiChain 0.5 (#18903) 2023-06-01 16:14:38 -05:00
custom-token-add-approve.spec.js Release MultiChain 0.5 (#18903) 2023-06-01 16:14:38 -05:00
dapp-interactions.spec.js Release MultiChain 0.5 (#18903) 2023-06-01 16:14:38 -05:00
dapp-tx-edit.spec.js chore: refactor connect to dapp action in e2e (#19015) 2023-05-05 14:56:08 +01:00
edit-gas-fee.spec.js chore: refactor connect to dapp action in e2e (#19015) 2023-05-05 14:56:08 +01:00
encrypt-decrypt.spec.js Release MultiChain 0.5 (#18903) 2023-06-01 16:14:38 -05:00
ens.spec.js Send flow UI update (#19465) 2023-06-08 22:39:39 +05:30
errors.spec.js Avoid resetting the mock server (#18661) 2023-04-19 15:36:23 +01:00
eth-sign.spec.js Implement tests for multiple service worker restarts on the mv3 build (#19293) 2023-06-20 11:17:08 +01:00
eth-subscribe.spec.js chore: refactor connect to dapp action in e2e (#19015) 2023-05-05 14:56:08 +01:00
failing-contract.spec.js chore: refactor connect to dapp action in e2e (#19015) 2023-05-05 14:56:08 +01:00
gas-estimates.spec.js Fix fallback gas estimation (#19746) 2023-06-26 16:13:16 -02:30
import-flow.spec.js feature(19496): eliminate flow e2e flakyness in terms of asserting content for DOM (#19600) 2023-06-15 11:01:44 +01:00
incremental-security.spec.js Release MultiChain 0.5 (#18903) 2023-06-01 16:14:38 -05:00
localization.spec.js E2e test fixtures (#16061) 2022-10-28 09:42:12 +01:00
lock-account.spec.js Release MultiChain 0.5 (#18903) 2023-06-01 16:14:38 -05:00
lockdown.spec.js E2e test fixtures (#16061) 2022-10-28 09:42:12 +01:00
metamask-responsive-ui.spec.js Send flow UI update (#19465) 2023-06-08 22:39:39 +05:30
metrics.spec.js Avoid resetting the mock server (#18661) 2023-04-19 15:36:23 +01:00
multiple-transactions.spec.js Add e2e tests for queuing multiple transactions (#19411) 2023-06-22 08:56:44 +01:00
navigate-transactions.spec.js feature(17901): fix address-book Sends to an address book entry e2e against MV3 build (#19330) 2023-05-30 13:44:56 +01:00
network-error.spec.js Update @metamask/gas-fee-controller to v6 (#19366) 2023-06-13 12:13:13 -02:30
onboarding.spec.js Reduce e2e test flakiness (#19507) 2023-06-08 14:34:48 -02:30
permissions.spec.js Release MultiChain 0.5 (#18903) 2023-06-01 16:14:38 -05:00
personal-sign.spec.js chore: refactor connect to dapp action in e2e (#19015) 2023-05-05 14:56:08 +01:00
phishing-detection.spec.js feature(16691): mv3 e2e test for phishing warning page when sw restarts (#19196) 2023-05-19 11:17:53 +01:00
portfolio-site.spec.js removed portfolio link from wallet view (#19716) 2023-06-23 17:28:41 +05:30
provider-api.spec.js Release MultiChain 0.5 (#18903) 2023-06-01 16:14:38 -05:00
security-provider.spec.js chore: refactor connect to dapp action in e2e (#19015) 2023-05-05 14:56:08 +01:00
send-edit.spec.js Removing flag for EIP1559 V2 support (#16446) 2022-12-09 00:07:06 +05:30
send-eth.spec.js feature(19625): eliminate e2e flakyness for add-account and send-eth (#19645) 2023-06-20 14:45:40 +01:00
send-hex-address.spec.js feature(19463): fix send-eth flaky test and refactor (#19531) 2023-06-09 15:01:12 +01:00
send-to-contract.spec.js Send flow UI update (#19465) 2023-06-08 22:39:39 +05:30
settings-general.spec.js Release MultiChain 0.5 (#18903) 2023-06-01 16:14:38 -05:00
settings-search.spec.js Release MultiChain 0.5 (#18903) 2023-06-01 16:14:38 -05:00
settings-security-reveal-srp.spec.js feat(srp): add a quiz to the SRP reveal (#19283) 2023-06-20 14:27:10 -04:00
signature-request.spec.js chore: refactor connect to dapp action in e2e (#19015) 2023-05-05 14:56:08 +01:00
signin-with-ethereum.spec.js chore: refactor connect to dapp action in e2e (#19015) 2023-05-05 14:56:08 +01:00
simple-send.spec.js feature(19463): fix send-eth flaky test and refactor (#19531) 2023-06-09 15:01:12 +01:00
state-logs.spec.js Release MultiChain 0.5 (#18903) 2023-06-01 16:14:38 -05:00
stuck-approved-transaction.spec.js Call onbootcleanup at the end of the tx controller constructor (#16449) 2022-11-10 09:58:27 -03:30
switch-custom-network.spec.js Release MultiChain 0.5 (#18903) 2023-06-01 16:14:38 -05:00
terms-of-use.spec.js Terms of use e2e (#18861) 2023-04-28 14:37:06 +01:00
token-details.spec.js Release MultiChain 0.5 (#18903) 2023-06-01 16:14:38 -05:00