1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/test/e2e
ricky 5f254f7325 Add advanced setting to enable editing nonce on confirmation screens (#7089)
* Add UseNonce toggle

* Get the toggle actually working and dispatching

* Display nonce field on confirmation page

* Remove console.log

* Add placeholder

* Set customNonceValue

* Add nonce key/value to txParams

* remove customNonceValue from component state

* Use translation file and existing CSS class

* Use existing TextField component

* Remove console.log

* Fix lint nits

* Okay this sorta works?

* Move nonce toggle to advanced tab

* Set min to 0

* Wrap value in Number()

* Add customNonceMap

* Update custom nonce translation

* Update styles

* Reset CustomNonce

* Fix lint

* Get tests passing

* Add customNonceValue to defaults

* Fix test

* Fix comments

* Update tests

* Use camel case

* Ensure custom nonce can only be whole number

* Correct font size for custom nonce input

* UX improvements for custom nonce feature

* Fix advanced-tab-component tests for custom nonce changes

* Update title of nonce toggle in settings

* Remove unused locale message

* Cast custom nonce to string in confirm-transaction-base.component

* Handle string conversion and invalid values for custom nonces in handler

* Don't call getNonceLock in tx controller if there is a custom nonce

* Set nonce details for cases where nonce is customized

* Fix incorrectly use value for deciding whether to getnoncelock in approveTransaction

* Default nonceLock to empty object in approveTransaction

* Reapply use on nonceLock in cases where customNonceValue in approveTransaction.

* Show warning message if custom nonce is higher than MetaMask's next nonce

* Fix e2e test failure caused by custom nonce and 3box toggle conflict

* Update nonce warning message to include the suggested nonce

* Handle nextNonce comparison and update logic in lifecycle

* Default nonce field to suggested nonce

* Clear custom nonce on reject or confirm

* Fix bug where nonces are not shown in tx list on self sent transactions

* Ensure custom nonce is reset after tx is created in background

* Convert customNonceValue to number in approve tranasction controller

* Lint fix

* Call getNextNonce after updating custom nonce
2019-09-27 00:30:36 -04:00
..
contract-test Fix recipient field of approve screen (#7171) 2019-09-16 17:05:21 -02:30
mock-3box 3box integration 2.0 (#6972) 2019-09-16 14:41:01 -02:30
send-eth-with-private-key-test I5849 incremental account security (#6874) 2019-08-02 01:27:26 -02:30
address-book.spec.js test:e2e - only overwrite window.fetch once per session 2019-09-10 23:10:24 +08:00
ethereum-on.spec.js lint fix 2019-09-11 00:11:49 +08:00
fetch-mocks.json test:e2e - rework fetch-mocks 2019-09-10 23:04:03 +08:00
from-import-ui.spec.js test:e2e - only overwrite window.fetch once per session 2019-09-10 23:10:24 +08:00
func.js Refactor first time flow, remove seed phrase from state (#5994) 2019-01-23 11:55:34 -03:30
helpers.js lint fix 2019-09-11 00:11:49 +08:00
incremental-security.spec.js test:e2e - only overwrite window.fetch once per session 2019-09-10 23:10:24 +08:00
metamask-responsive-ui.spec.js test:e2e - fix responsie argument 2019-09-10 23:43:59 +08:00
metamask-ui.spec.js Fix recipient field of approve screen (#7171) 2019-09-16 17:05:21 -02:30
run-all.sh 3box integration 2.0 (#6972) 2019-09-16 14:41:01 -02:30
run-web3.sh Replace deprecated shell-parallel with concurrently (#6807) 2019-07-09 14:09:31 -02:30
send-edit.spec.js test:e2e - only overwrite window.fetch once per session 2019-09-10 23:10:24 +08:00
threebox.spec.js Add advanced setting to enable editing nonce on confirmation screens (#7089) 2019-09-27 00:30:36 -04:00
web3.spec.js test:e2e - only overwrite window.fetch once per session 2019-09-10 23:10:24 +08:00