1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/test/e2e
Mark Stacey 28093b0c59 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-27 14:37:54 -02:30
..
import-utc-json E2e test fixtures (#16061) 2022-10-28 09:42:12 +01:00
mock-page-with-disallowed-iframe Fix e2e tests 2022-05-16 18:48:20 -02:30
mock-page-with-iframe Use externally hosted phishing warning page 2022-05-16 14:40:50 -02:30
mv3 feat(17901): fix network, add-account and mv3 phishing warning issue (#19462) 2023-06-08 14:21:21 +01:00
mv3-perf-stats Capture all Error console.log events (#17710) 2023-02-23 14:27:36 +00:00
nft Extend wallet_watchAsset to support ERC721 and ERC1155 tokens (#19454) 2023-06-15 15:18:12 -05:00
restore Toggle option to enable/disable balance and Token rate checking for using third-party API (#16772) 2023-01-17 10:23:04 -05:00
seeder Extend wallet_watchAsset to support ERC721 and ERC1155 tokens (#19454) 2023-06-15 15:18:12 -05:00
send-eth-with-private-key-test chore: Adjust trailing whitespace (#15636) 2022-08-24 14:11:49 -05:00
snaps [FLASK] Rework Snaps headers and footers (#19442) 2023-06-07 15:18:49 +02:00
swaps Swaps UI update (#19169) 2023-06-15 20:17:21 +02:00
tests Fix fallback gas estimation (#19746) 2023-06-27 14:37:54 -02:30
webdriver feature(16691): mv3 e2e test for phishing warning page when sw restarts (#19196) 2023-05-19 11:17:53 +01:00
.mocharc.js allow importing of typescript in E2E test suite (#17141) 2023-01-12 08:38:12 -06:00
benchmark.js Release MultiChain 0.5 (#18903) 2023-06-01 16:14:38 -05:00
e2e-mocha-setup.js allow importing of typescript in E2E test suite (#17141) 2023-01-12 08:38:12 -06:00
e2e-process-report.js e2e multiple reports (#17715) 2023-02-10 19:34:01 +00:00
fixture-builder.js feat: add new linea mainnet network (#19326) 2023-06-16 14:05:33 -02:30
fixture-server.js Use deployed contracts in fixtures (#18107) 2023-03-13 14:31:14 +00:00
ganache.js [e2e] Using ganache requests to getBalance and getAccounts (#18215) 2023-03-20 10:29:18 +01:00
helpers.js feature(19493): eliminate e2e flakyness for eth-sign (#19606) 2023-06-15 13:13:54 +01:00
lavamoat-stats.js E2e test fixtures (#16061) 2022-10-28 09:42:12 +01:00
metamask-ui.spec.js Send flow UI update (#19465) 2023-06-08 22:39:39 +05:30
mock-e2e.js Update @metamask/gas-fee-controller to v6 (#19366) 2023-06-13 12:13:13 -02:30
mv3-stats.js E2e test fixtures (#16061) 2022-10-28 09:42:12 +01:00
phishing-warning-page-server.js Use externally hosted phishing warning page 2022-05-16 14:40:50 -02:30
run-all.js Move nft e2e tests to main e2e test job (#18055) 2023-03-14 15:21:24 +00:00
run-e2e-test.js Add desktop support (#17683) 2023-02-20 17:13:12 +00:00
user-actions-benchmark.js UX: Multichain: Move Add Account and Import Account into Account Menu Popover (#19346) 2023-06-13 10:07:01 -05:00