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 917290e764 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-30 15:18:50 +01:00
..
account-details.spec.js
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
address-book.spec.js
advanced-settings.spec.js
auto-lock.spec.js
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
clear-activity.spec.js
contract-interactions.spec.js
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
dapp-interactions.spec.js
dapp-tx-edit.spec.js
edit-gas-fee.spec.js
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
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-30 15:18:50 +01:00
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
localization.spec.js
lock-account.spec.js
lockdown.spec.js
metamask-responsive-ui.spec.js
metrics.spec.js
multiple-transactions.spec.js
navigate-transactions.spec.js
network-error.spec.js
onboarding.spec.js
permissions.spec.js
personal-sign.spec.js
phishing-detection.spec.js
portfolio-site.spec.js
provider-api.spec.js
security-provider.spec.js Test for transaction security provider (#18000) 2023-03-08 18:48:57 +01:00
send-edit.spec.js
send-eth.spec.js Use deployed contracts in fixtures (#18107) 2023-03-13 14:31:14 +00:00
send-hex-address.spec.js
send-to-contract.spec.js
settings-general.spec.js
settings-search.spec.js
signature-request.spec.js
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
state-logs.spec.js Improve downloads tests (#17995) 2023-03-07 02:00:52 +02:00
stuck-approved-transaction.spec.js
token-details.spec.js