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 abd2a5559e
Update @metamask/gas-fee-controller to v6 (#19366)
* Update `@metamask/gas-fee-controller` to v6

The `@metamask/address-book-controller` package has been updated to v3.
This version was part of the [core monorepo v53](MetaMask/core#1385)
release. The remaining packages released as part of v53 will be updated
in later PRs.

This release included a number of breaking changes, but most of them
do not affect the extension:

* Bump to Node 16
  * The extension already uses Node.js v16
* The `getChainId` constructor parameter now expects a `Hex` return
type rather than a decimal string
  * The extension was already passing in a `getChainId` parameter that
returned `Hex`
* The gas fee controller messenger now requires the
`NetworkController:stateChange` event instead of the
`NetworkController:providerConfigChange` event
  * This does not apply if `onNetworkStateChange` and `getChainId` are
provided to the constructor, which is the case here.
* Update `@metamask/network-controller` dependency and peer dependency
  * This dependency is only used for types, and none of the type
changes affect how the extension interacts with this controller.

The one change that did have an impact is that the constructor
parameter `onNetworkStateChange` now expects event handlers to be
passed the full network state.

Relates to #19271

* Ensure chainid always matches mainnet in test builds

This is a bit strange, but this is how the tests were setup previously.

* Fix accidental state mutation

* Remove hardcoded mainnet chain ID from test builds
2023-06-13 12:13:13 -02:30
..
account-details.spec.js Release MultiChain 0.5 (#18903) 2023-06-01 16:14:38 -05:00
add-account.spec.js feat(17901): fix network, add-account and mv3 phishing warning issue (#19462) 2023-06-08 14:21:21 +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 feature(19463): fix send-eth flaky test and refactor (#19531) 2023-06-09 15:01:12 +01:00
advanced-settings.spec.js Release MultiChain 0.5 (#18903) 2023-06-01 16:14:38 -05:00
auto-lock.spec.js Release MultiChain 0.5 (#18903) 2023-06-01 16:14:38 -05: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 chore: refactor connect to dapp action in e2e (#19015) 2023-05-05 14:56: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
from-import-ui.spec.js feature(19463): fix send-eth flaky test and refactor (#19531) 2023-06-09 15:01:12 +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 Fix state in confirm transaction (#17838) 2023-02-24 22:37:26 +05:30
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 UX: Multichain: Analytics (#18674) 2023-04-27 09:28:08 -05:00
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(19463): fix send-eth flaky test and refactor (#19531) 2023-06-09 15:01:12 +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
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