Vladimir Saric
f988dc1c5e
Enable the Token Allowance flow by default for all users ( #16740 )
2023-01-23 21:49:55 +05:30
Jyoti Puri
3e523e2382
Use PageContainerFooter to render footer on all confirmation pages ( #17316 )
2023-01-23 20:52:12 +05:30
David Walsh
cb6ee2b3fe
Use async/await instead of Promise.resolve ( #16221 )
2023-01-20 14:20:18 -06:00
ryanml
a19a5d60d3
Convert shared/constants/hardware-wallets.js -> Typescript ( #17310 )
2023-01-20 09:14:40 -06:00
Brad Decker
5f6d2ba6b0
Convert Transaction constants to typescript ( #17149 )
2023-01-18 08:47:29 -06:00
weizman
6d551f10fe
Update LavaMoat (core/lavapack) ( #17061 )
2023-01-18 14:35:37 +02:00
Thomas Huang
4c3c4eebac
Final conversion of tests from enzyme to @testing-library/react ( #16862 )
...
* Add transaction activity log component
* Remove duplicate tx activity log snapshot.
* Convert Advanced Tab to tlr.
* Lint fix
* Change ENS to DNS in mock state data.
* Add test ids for speedup, cancel, rety buttons.
* Convert TransactionListItemDetails component to RTL.
* Convert PageContainerHeader component to RTL.
* Convert TokenInput component to RTL.
* Convert UnitInput component to RTL.
* Convert withModalProps to RTL.
* Convert i18n-helper to RTL.
* Convert ConfirmSeedPhrase component to TLR.
* Convert AddRecipient component to RTL.
* Set process.env metamask build type to 'main' for test
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: Pedro Figueiredo <pedro.figueiredo@consensys.net>
2023-01-17 07:51:35 -08:00
Niranjana Binoy
a0bb4a6c5a
Toggle option to enable/disable balance and Token rate checking for using third-party API ( #16772 )
2023-01-17 10:23:04 -05:00
David Walsh
7760f4d658
Remove ONBOARDING_V2 flag for release ( #16865 )
...
* Remove ONBOARDING_V2 flag for release
* Remove new usage
* Update e2e tests
* Update incremental-security.spec.js
* Fix lint
Co-authored-by: PeterYinusa <peter.yinusa@consensys.net>
2023-01-13 10:25:01 -06:00
Frederik Bolding
f6f691190d
Fix Snaps E2E test flake ( #17174 )
2023-01-13 15:10:47 +01:00
Bowen Sanders
4c8faaba48
[FLASK] Create E2E test for snap_dialog ( #17111 )
...
* added dialog e2e test
2023-01-12 09:25:46 -08:00
Brad Decker
312f24fddc
allow importing of typescript in E2E test suite ( #17141 )
2023-01-12 08:38:12 -06:00
Bowen Sanders
1b62a773b4
[E2E] Change to replace confirm snap to dialog snap ( #17146 )
2023-01-12 15:29:29 +01:00
Brad Decker
64839b6bf7
split unit tests ( #16455 )
...
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-01-11 12:23:38 -06:00
Bowen Sanders
f2da79f563
[E2E] Fixes to try to deflake Snaps E2E tests ( #17123 )
...
* added delays in several places
* fix to update test
2023-01-10 11:11:15 -08:00
Filip Sekulic
e6038d542a
Update UI for transaction security check in settings ( #16830 )
2023-01-04 15:59:48 -06:00
weizman
3cf5ef642f
Revert "Integrate new LavaMoat scuttling protection feature ( #16994 )" ( #17043 )
2022-12-22 17:26:53 +02:00
chloeYue
d66db28ae6
Add e2e test for reset account ( #16996 )
...
* add test for reset account
2022-12-22 14:16:09 +01:00
weizman
5d320ceec6
Integrate new LavaMoat scuttling protection feature ( #16994 )
...
Co-authored-by: kumavis <kumavis@users.noreply.github.com>
Co-authored-by: kumavis <aaron@kumavis.me>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2022-12-21 12:54:30 -06:00
Frederik Bolding
7e7a0f1f72
[FLASK] Use custom UI for transaction insights ( #16912 )
...
* Allow custom UI for transaction insights
* Fix margin
* Small fixes to CSS and selectors
* Rename property
* Fix E2E locally
* Bump test-snaps
* Bump test-snaps
2022-12-20 11:44:49 +01:00
Olusegun Akintayo
13de51e748
Security and Privacy Settings Re-org ( #16756 )
2022-12-19 18:46:36 +01:00
mirjanaKukic
0992dd5437
added new test for adding custom network ( #15484 )
...
add custom network and switch to network
lint fix
add custom network and not switch the network
add wait for selector
lint fix
fix
add waitforselector
fix
yarn lock
added delay
added comments
lint fix
added rpc networks in mock-e2e.js
lint fix
fix
yarn lock
alphabetic order of the array in mock-e2e
fix
lint fix
fix
removed unnecessary networks
changed blacklistedHosts
added fixture builder
changed to Arbitrum One network
2022-12-19 16:46:07 +00:00
legobeat
7bdb91c089
test/e2e: increase timeout 60s -> 80s ( #16592 )
2022-12-19 09:27:47 -06:00
Dan J Miller
074c2934fe
remove warning on revoke approval for all nfts ( #16953 )
...
Co-authored-by: EresDev <eresdev@hotmail.com>
2022-12-16 22:37:18 +05:30
Dan J Miller
0792e4ebbc
Recipient name passed to confirm-page-container component should be u… ( #16961 )
...
* Recipient name passed to confirm-page-container component should be used if pet name exists for the to address
* Ensure recipient edit/add popup is shown for non-owned accounts
* Ensure contract name is rendered if it exists for recipient address
* Ensure that shortened address is last fallback after account, addressbook, token and ens names
2022-12-15 13:03:59 -03:30
Mark Stacey
5857b85225
Add e2e debugging logs ( #16937 )
...
A `debug` flag has been added to our e2e test runner scripts, enabling
e2e debug logs. When this flag is enabled, all driver interactions will
be logged to the console. This is extremely useful when debugging e2e
tests, because it lets you known how far the test had progressed before
failing.
This flag should work with all existing e2e test scripts, including
both `test:e2e:single` and all of the test commands that run entire
test suites.
The README has been updated to reference this flag in the section
regarding how to run a single e2e test. To ensure this wasn't totally
missed for the other scripts, I added a line suggesting that users use
`--help` to see all supported options.
2022-12-13 16:00:47 -03:30
Daniel
c7ceb91d00
Update an E2E test with a mock ( #16935 )
2022-12-13 10:31:32 -03:30
Bowen Sanders
720c7e7d16
initial deflakery ( #16894 )
2022-12-12 12:14:23 -08:00
Bowen Sanders
7e7be2769d
[FLASK] Create E2E test for tx-insights ( #16785 )
...
* Created an E2E test for tx-insights.
Co-authored-by: Guillaume Roux <guillaumeroux123@gmail.com>
2022-12-08 12:15:59 -08:00
Jyoti Puri
8125473dc5
Removing flag for EIP1559 V2 support ( #16446 )
2022-12-09 00:07:06 +05:30
ryanml
a759d427f0
Remove new address alert ( #14811 )
...
* Removing new address alert
* remove unused copy
* fix broken e2e test
* rework layout nesting
* satisfy lint
* change layout to fix firefox tests
* change selector specificity on e2e test
* revert test change after fix has been merged from develop
* fix linting
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: Pedro Figueiredo <pedro.figueiredo@consensys.net>
2022-12-08 14:20:24 +00:00
Peter Yinusa
c9b42fc966
force background exceptions to show ( #16860 )
...
* force background exceptions to show
* fix type
2022-12-08 12:58:34 +00:00
amerkadicE
8885c54f13
NFT setApprovalForAll warning popover ( #16195 )
...
* NFT setApprovalForAll warning popover
2022-12-06 14:24:07 -06:00
Thomas Huang
8fde322907
Continue converting tests from enzyme to @testing-library/react ( #16753 )
2022-12-06 10:49:08 -06:00
Vladimir Saric
9ede85c9ac
Updated secondary copy and removed the address component from SetApprovalForAll and NFT Approve screens ( #16292 )
2022-12-05 10:59:15 -06:00
Alex Donesky
05ab94fd1c
Add security & privacy "What's New" message ( #16783 )
2022-12-02 17:59:41 -06:00
amerkadicE
80e4a1fef4
Update signature request screens ( #15776 )
...
Fix e2e test
Update siteicon for v4 signature type
Code refactor
Code refactor
Remove origin and address in signatrue request
Update e2e tests
Use getNetworkName function
Move header component inline jsx
Update snaps
2022-11-30 19:11:36 +01:00
amerkadicE
dd0844e200
Add signature request warning modal ( #16225 )
...
* Add signature request warning modal
Fix e2e tests
Fix e2e tests
Remove warning message from eth sign request
Remove unused locales
Fix e2e test
Fix e2e test
* Run pipeline
* Fix locales:
?
* Add unit tests
2022-11-30 16:34:50 +01:00
HowardBraham
b1fd7f7796
Fixes 'yarn start' on Windows - LavaPack is not defined ( #13318 ) ( #16550 )
...
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2022-11-30 09:19:45 -06:00
Bowen Sanders
0e1c385cd0
[FLASK] Create E2E test for snap management ( #16628 )
...
* added management test
* added id and dismiss alert function
* changed xwindow handling
* fixed linting
2022-11-30 14:12:09 +01:00
Frederik Bolding
dfb6210910
[FLASK] snaps-monorepo@0.25.0
( #16673 )
...
* snaps-monorepo@0.25.0
* Regen LavaMoat policies
* Bump test-snaps
* [FLASK] Add Snaps JSON-RPC handler permission (#16670 )
* Add Snaps JSON-RPC handler permission
* Add copy and icon
* Fix test
Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
2022-11-30 13:19:33 +01:00
Thomas Huang
119219b5d2
Continue converting tests from enzyme to @testing-library/react ( #16458 )
...
* Add transaction activity log component
* Remove duplicate tx activity log snapshot.
* Convert Advanced Tab to tlr.
* Lint fix
* Convert Settings Tab test to tlr.
* Convert Send Amount Row test to tlr.
* Convert Send Row Error Message test to tlr.
* Add Mock Send State json file.
* Lint fix
* Use proper testid for jazz icon for settings e2e
* Update Send Amount Row snapshot
2022-11-29 07:42:59 -08:00
dragana8
2680340e27
Unable to proceed with tx bc of inaccurate/overly aggressive "Insufficient funds for gas" warning #13087 ( #14634 )
...
Co-authored-by: VSaric <vladimir.saric@consensys.net>
2022-11-28 10:41:42 -06:00
seaona
f44af06f9b
[e2e] Setup MV3 specific test folder and add 1 simple testcase introducing Service Worker re-start ( #16606 )
...
* First e2e mv3 specific dapp testcase
* Fix testpath for snaps
* Update `it` description
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
* e2e test paths improvement
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2022-11-25 12:06:48 +01:00
seaona
6c00785271
Mitigate flaky test with the use of new function ( #16655 )
2022-11-24 19:10:07 +01:00
seaona
6dddd246d1
[e2e] [MV3] Fix Add Account e2e flaky test for MV3 build ( #16603 )
...
* Wait until element is not present
* Wait for non empty element on add account test
* Wait for non empty element for all instances of get account text
* Point to account value directly
* Add accounts as const
2022-11-24 19:09:54 +01:00
David Walsh
266d7d93d5
Fix #15050 - MV3: Keep the user logged in when service worker restarts ( #15558 )
2022-11-23 18:49:24 -06:00
Frederik Bolding
dd20281372
Fix E2E chunking ( #16653 )
...
* Fix E2E chunking algo
* Use different algo
2022-11-23 15:21:19 +01:00
George Marshall
5ee7da6afe
Adding FormTextField
component ( #16497 )
...
* Adding FormTextField component
* Adding to index.js
* Adding id, label and helptext stories
* Removing unneeded htmlFor and fixing accessibility on helpText story
* Fixing issues with review suggestions
* Fixing lint issue
* Adding snapshot test
2022-11-22 13:04:27 -08:00
Frederik Bolding
de955f3faa
[FLASK] snaps-monorepo@0.24.1
( #16525 )
...
* snaps-monorepo@0.24.0
* Fix imports and regen LavaMoat policies
* Bump iframe-execution-environment
* Fix tests
* Add permissions
* Bump patch
* Bump test-snaps
* [FLASK] Fix update e2e test to catch snaps with caveats (#16546 )
* changed snap to update to bip32
* small changes to test
* Fix lint
* Fix E2E
* Update copy
* Update icon
Co-authored-by: Bowen Sanders <bowensanders@gmail.com>
2022-11-22 13:07:08 +01:00