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 812c546acd
Contract test dapp improvements (#7587)
* Add Get Accounts button

This button calls `eth_accounts`. This button is always enabled, even
when not connected.

* Disable account buttons by default

The buttons that require you to have first connected have been disabled
by default. Previously they would be enabled until the JavaScript
finished initializing the page, at which point they'd be disabled. This
resulted in a distracting flash as the page loaded and the buttons
changed.

The `signTypedData` button was added to the accounts button set as
well, rather than being left enabled regardless of connected status.

* Allow connect button to become re-enabled

The Connect button was broken previously in that after being disabled,
it would stay disabled even if the dapp lost access to MetaMask. The
button will now be enabled whenever not connected.

* Stringify signTypedData results

* Defer metamask onboarding bundle to speed up page load
2019-12-09 14:31:47 -04:00
..
contract-test Contract test dapp improvements (#7587) 2019-12-09 14:31:47 -04:00
mock-3box
send-eth-with-private-key-test
address-book.spec.js Use Ganache programmatically in e2e tests (#7664) 2019-12-09 10:40:43 -04:00
ethereum-on.spec.js Use Ganache programmatically in e2e tests (#7664) 2019-12-09 10:40:43 -04:00
fetch-mocks.json
from-import-ui.spec.js Use Ganache programmatically in e2e tests (#7664) 2019-12-09 10:40:43 -04:00
func.js
ganache.js Use Ganache programmatically in e2e tests (#7664) 2019-12-09 10:40:43 -04:00
helpers.js yarn lint --fix 2019-12-03 17:20:55 -03:30
incremental-security.spec.js Use Ganache programmatically in e2e tests (#7664) 2019-12-09 10:40:43 -04:00
metamask-responsive-ui.spec.js Use Ganache programmatically in e2e tests (#7664) 2019-12-09 10:40:43 -04:00
metamask-ui.spec.js Use Ganache programmatically in e2e tests (#7664) 2019-12-09 10:40:43 -04:00
permissions.spec.js Use Ganache programmatically in e2e tests (#7664) 2019-12-09 10:40:43 -04:00
run-all.sh Use Ganache programmatically in e2e tests (#7664) 2019-12-09 10:40:43 -04:00
run-web3.sh
send-edit.spec.js Use Ganache programmatically in e2e tests (#7664) 2019-12-09 10:40:43 -04:00
signature-request.spec.js Use Ganache programmatically in e2e tests (#7664) 2019-12-09 10:40:43 -04:00
threebox.spec.js Use Ganache programmatically in e2e tests (#7664) 2019-12-09 10:40:43 -04:00
web3.spec.js Enable no-var rule for ESLint (#7590) 2019-12-03 11:22:01 -03:30