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 bd23a49013
Revert "Moved subscribe and filter into network controller (#16693)" (#18129)
* Revert "Moved subscribe and filter into network controller (#16693)"

This reverts commit 6f6984fa58. That
commit was an RPC middleware refactor intended to move the subscribe
and filter middleware into the network controller, to simplify the
process of sharing this middleware between clients.

This refactor resulted in `eth_subscribe` notifications being sent on
the wrong connections, causing the UI to break in some cases (the UI
`provider` connection does not support notifications). This happened
because the `setupProviderEngine` function runs per-connection,
whereas the engine setup inside the network controller is global. The
global network client cannot support notifications because it has no
way to route them; they'll need to stay in the per-connection provider
engine.

Closes #17467

* Add e2e test

An e2e test has been added that confirms subscriptions are only
broadcast to the site that registered them. This test fails on
`develop`.
2023-03-15 12:16:31 -02:30
..
account-details.spec.js E2e test fixtures (#16061) 2022-10-28 09:42:12 +01:00
add-account.spec.js Upgrading the Import Account modal (#17763) 2023-03-06 09:48:28 -08:00
add-custom-network.spec.js Migrate network configurations (previously frequentRpcListDetail) from PreferencesController to NetworkController (#17421) 2023-03-09 15:00:28 -06:00
add-hide-token.spec.js E2e test fixtures (#16061) 2022-10-28 09:42:12 +01:00
address-book.spec.js Remove new address alert (#14811) 2022-12-08 14:20:24 +00:00
advanced-settings.spec.js E2e test fixtures (#16061) 2022-10-28 09:42:12 +01:00
auto-lock.spec.js E2e test fixtures (#16061) 2022-10-28 09:42:12 +01:00
backup-restore.spec.js Migrate network configurations (previously frequentRpcListDetail) from PreferencesController to NetworkController (#17421) 2023-03-09 15:00:28 -06:00
chain-interactions.spec.js E2e test fixtures (#16061) 2022-10-28 09:42:12 +01:00
clear-activity.spec.js Rename reset account settings (#17457) 2023-02-10 22:50:12 +01:00
contract-interactions.spec.js Remove new address alert (#14811) 2022-12-08 14:20:24 +00:00
custom-rpc-history.spec.js Migrate network configurations (previously frequentRpcListDetail) from PreferencesController to NetworkController (#17421) 2023-03-09 15:00:28 -06:00
custom-token-add-approve.spec.js Transaction-list-item-details pop up to display the correct token information on token approve item (#17422) 2023-02-24 14:21:55 -05:00
dapp-interactions.spec.js MenuItem: Fix layout of menu item with subtitle (#17650) 2023-02-21 09:50:54 -06:00
dapp-tx-edit.spec.js Prevent user from editing a contract interaction created by a dapp (#16498) 2022-11-15 12:28:39 -03:30
edit-gas-fee.spec.js Removing flag for EIP1559 V2 support (#16446) 2022-12-09 00:07:06 +05:30
encrypt-decrypt.spec.js fix(17542): fix fiat currency display in few txn actions (#18011) 2023-03-08 16:05:55 +00:00
ens.spec.js [e2e] ENS test improvement - with network controller fixture (#18119) 2023-03-14 12:47:54 +01:00
errors.spec.js Refactor Errors E2E test to no longer rely upon a real error (#17332) 2023-01-23 12:58:35 -06:00
eth-sign.spec.js Disable eth_sign by default, allow users to toggle it back on (#17308) 2023-02-06 13:17:50 -03:30
eth-subscribe.spec.js Revert "Moved subscribe and filter into network controller (#16693)" (#18129) 2023-03-15 12:16:31 -02:30
failing-contract.spec.js 17921 Update TransactionAlerts with BannerAlert (#17940) 2023-03-13 12:29:10 -07:00
from-import-ui.spec.js Upgrading the Import Account modal (#17763) 2023-03-06 09:48:28 -08:00
incremental-security.spec.js Remove ONBOARDING_V2 flag for release (#16865) 2023-01-13 10:25:01 -06:00
localization.spec.js E2e test fixtures (#16061) 2022-10-28 09:42:12 +01:00
lock-account.spec.js E2e test fixtures (#16061) 2022-10-28 09:42:12 +01:00
lockdown.spec.js E2e test fixtures (#16061) 2022-10-28 09:42:12 +01:00
metamask-responsive-ui.spec.js Remove ONBOARDING_V2 flag for release (#16865) 2023-01-13 10:25:01 -06:00
metrics.spec.js E2e test fixtures (#16061) 2022-10-28 09:42:12 +01:00
multiple-transactions.spec.js Fix state in confirm transaction (#17838) 2023-02-24 22:37:26 +05:30
navigate-transactions.spec.js Fix state in confirm transaction (#17838) 2023-02-24 22:37:26 +05:30
network-error.spec.js Removing flag for EIP1559 V2 support (#16446) 2022-12-09 00:07:06 +05:30
onboarding.spec.js Add e2e test: add custome network during onboarding (#17436) 2023-01-31 13:58:39 +01:00
permissions.spec.js E2e test fixtures (#16061) 2022-10-28 09:42:12 +01:00
personal-sign.spec.js Use PageContainerFooter to render footer on all confirmation pages (#17316) 2023-01-23 20:52:12 +05:30
phishing-detection.spec.js Update the PhishingController to v2 and update phishing warning page (#17835) 2023-02-24 11:39:00 -03:30
portfolio-site.spec.js E2e test fixtures (#16061) 2022-10-28 09:42:12 +01:00
provider-api.spec.js E2e test fixtures (#16061) 2022-10-28 09:42:12 +01:00
security-provider.spec.js Test for transaction security provider (#18000) 2023-03-08 18:48:57 +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 Use deployed contracts in fixtures (#18107) 2023-03-13 14:31:14 +00:00
send-hex-address.spec.js Remove new address alert (#14811) 2022-12-08 14:20:24 +00:00
send-to-contract.spec.js E2e test fixtures (#16061) 2022-10-28 09:42:12 +01:00
settings-general.spec.js Continue converting tests from enzyme to @testing-library/react (#16458) 2022-11-29 07:42:59 -08:00
settings-search.spec.js Update UI for transaction security check in settings (#16830) 2023-01-04 15:59:48 -06:00
signature-request.spec.js Update signature request screens (#15776) 2022-11-30 19:11:36 +01:00
signin-with-ethereum.spec.js Display internet protocol on the domain in SIWE screen (#18052) 2023-03-13 21:40:43 +04:00
simple-send.spec.js E2e test fixtures (#16061) 2022-10-28 09:42:12 +01:00
state-logs.spec.js Improve downloads tests (#17995) 2023-03-07 02:00:52 +02: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
token-details.spec.js MenuItem: Fix layout of menu item with subtitle (#17650) 2023-02-21 09:50:54 -06:00