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 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
..
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 [e2e] Setup MV3 specific test folder and add 1 simple testcase introducing Service Worker re-start (#16606) 2022-11-25 12:06:48 +01:00
mv3-perf-stats Capture all Error console.log events (#17710) 2023-02-23 14:27:36 +00:00
nft Move nft e2e tests to main e2e test job (#18055) 2023-03-14 15:21:24 +00: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 ERC1155 Import & Dapp interaction E2E tests (#17885) 2023-02-27 10:48:41 -06:00
send-eth-with-private-key-test chore: Adjust trailing whitespace (#15636) 2022-08-24 14:11:49 -05:00
snaps [FLASK] BREAKING - snaps-monorepo@0.30.0 (#17718) 2023-03-08 13:29:23 -05:00
swaps Added e2e swap test and fixed mocked API (#17934) 2023-03-07 16:51:15 +01:00
tests Revert "Moved subscribe and filter into network controller (#16693)" (#18129) 2023-03-15 12:16:31 -02:30
webdriver Capture all Error console.log events (#17710) 2023-02-23 14:27:36 +00:00
.mocharc.js allow importing of typescript in E2E test suite (#17141) 2023-01-12 08:38:12 -06:00
benchmark.js allow importing of typescript in E2E test suite (#17141) 2023-01-12 08:38:12 -06: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 Adding NFT autodetection to "What's New" Announcements (#17653) 2023-03-14 11:07:58 -04:00
fixture-server.js Use deployed contracts in fixtures (#18107) 2023-03-13 14:31:14 +00:00
ganache.js [E2E]: Set approval for all e2e (#15481) 2022-08-09 14:59:20 +01:00
helpers.js Use deployed contracts in fixtures (#18107) 2023-03-13 14:31:14 +00:00
lavamoat-stats.js E2e test fixtures (#16061) 2022-10-28 09:42:12 +01:00
metamask-ui.spec.js Extract out confirm-data and confirm-hex-data components from confirm-transaction-base.component.js (#17822) 2023-03-09 10:38:37 +05:30
mock-e2e.js delay chain validation (#17413) 2023-03-08 16:33:27 +00:00
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 Convert Transaction constants to typescript (#17149) 2023-01-18 08:47:29 -06:00
x-server.js Fix 'yarn setup' on M1 Macs (#11887) 2021-09-01 10:40:40 -06:00