1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/test/e2e
Harry b4ecc4c3f5
Disable eth_sign by default, allow users to toggle it back on (#17308)
* Added translation for eth sign toggle

* Disabled the ability to call eth_sign by default. Added ability within advanced settings to renable support for eth_sign

* Add test case for eth_sign being enabled and disabled

* Modified copy

* Moved rpc method preference to its own object within store

* Complete work on moving rpc method preference into its own object within store

* Fix with prettier

* Fix lint

* Fix a unit test

* Fix test

* Renamed function and object keys to be more intuitive

* Fix e2e test

* Enabled eth_sign through preferences fixture

* Fix lint

* Fix e2e test

Wait for the notification popup to close, leaving 2 window handles the extension and the test dapp

* Fix e2e test

* Fix unit test

Enable eth_sign method

* Lint fix

---------

Co-authored-by: PeterYinusa <peter.yinusa@consensys.net>
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
2023-02-06 13:17:50 -03: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 E2e test fixtures (#16061) 2022-10-28 09:42:12 +01:00
nft Add e2e test: import nft (#17543) 2023-02-02 20:01:41 +01: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 Fix/use etherjs specific imports (#15461) 2023-01-24 08:10:36 -06:00
send-eth-with-private-key-test chore: Adjust trailing whitespace (#15636) 2022-08-24 14:11:49 -05:00
snaps Fix Snaps E2E test flake (#17174) 2023-01-13 15:10:47 +01:00
swaps Update an E2E test with a mock (#16935) 2022-12-13 10:31:32 -03:30
tests Disable eth_sign by default, allow users to toggle it back on (#17308) 2023-02-06 13:17:50 -03:30
webdriver [FLASK] Create E2E test for snap management (#16628) 2022-11-30 14:12:09 +01: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
fixture-builder.js Fix #17388 - Remove dismiss button from NFT notification (#17389) 2023-01-25 13:28:15 -06:00
fixture-server.js E2e test fixtures (#16061) 2022-10-28 09:42:12 +01:00
ganache.js [E2E]: Set approval for all e2e (#15481) 2022-08-09 14:59:20 +01:00
helpers.js Add e2e test: add custome network during onboarding (#17436) 2023-01-31 13:58:39 +01:00
lavamoat-stats.js E2e test fixtures (#16061) 2022-10-28 09:42:12 +01:00
metamask-ui.spec.js Enable the Token Allowance flow by default for all users (#16740) 2023-01-23 21:49:55 +05:30
mock-e2e.js added new test for adding custom network (#15484) 2022-12-19 16:46:07 +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 Nft build for e2e tests (#17430) 2023-01-27 12:45:35 -06:00
run-e2e-test.js allow importing of typescript in E2E test suite (#17141) 2023-01-12 08:38:12 -06: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