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 a6f2156386
Update account options menu design (#8654)
The `AccountDetailsDropdown` component has been rewritten to use the
new `Menu` component, and to follow the latest designs.

This should be functionally equivalent. A couple of the icons have
changed, but that's about it.

Support for a subtitle was added to `MenuItem` to support the `origin`
subtitle used for the explorer link for custom RPC endpoints.

A few adjustments were required to `test/helper.js` to accommodate
the use of `Menu` from a JSDOM context (this is the first time it's
been used in a unit test). A `popover-content` element was added to the
fake DOM, and another global was added that `react-popper` used
internally.

An additional driver method (`clickPoint`) was added to the e2e driver
to allow clicking the background behind the menu to dismiss it. This
wasn't possible using the `clickElement` method, because that method
would refuse to click an obscured element. The only non-obscured
element to click was the menu backdrop, and that didn't work either
because the center was obscured by the menu (Selenium clicks the center
of whichever element is targeted).
2020-05-27 12:31:53 -03:00
..
fixtures Remove unused currentAccountTab state (#8404) 2020-04-24 00:23:28 -03:00
mock-3box Enable arrow-parens ESLint rule 2020-02-15 17:04:21 -03:30
send-eth-with-private-key-test I5849 incremental account security (#6874) 2019-08-02 01:27:26 -02:30
tests Split TransactionViewBalance component (#8637) 2020-05-21 14:33:48 -03:00
webdriver Update account options menu design (#8654) 2020-05-27 12:31:53 -03:00
.eslintrc.js Update ESLint rules for test suite (#8023) 2020-02-11 13:21:13 -03:30
address-book.spec.js Implement new transaction list design (#8564) 2020-05-26 15:49:11 -05:00
benchmark.js Close notification UI if no unapproved confirmations (#8358) 2020-04-20 10:21:57 -07:00
ethereum-on.spec.js Design improvements for the Connect flow (#8494) 2020-05-04 18:10:09 -02:30
fixture-server.js Build system refactor (#8140) 2020-03-09 08:55:02 +08:00
from-import-ui.spec.js Implement new transaction list design (#8564) 2020-05-26 15:49:11 -05:00
ganache.js Use Ganache programmatically in e2e tests (#7664) 2019-12-09 10:40:43 -04:00
helpers.js Add withFixtures helper and simple-send test (#7862) 2020-01-20 14:50:25 -04:00
incremental-security.spec.js Fix broken test artifact directory name (#8480) 2020-04-30 11:39:25 -03:00
metamask-responsive-ui.spec.js Update account options menu design (#8654) 2020-05-27 12:31:53 -03:00
metamask-ui.spec.js Implement new transaction list design (#8564) 2020-05-26 15:49:11 -05:00
permissions.spec.js Design QA fixes for v8 (#8630) 2020-05-20 15:42:18 -05:00
run-all.sh Remove last remaining usages of npm run (#7994) 2020-02-06 12:22:40 -03:30
run-web3.sh Add support for one-click onboarding (#7017) 2019-11-22 13:03:51 -04:00
send-edit.spec.js Implement new transaction list design (#8564) 2020-05-26 15:49:11 -05:00
signature-request.spec.js Design improvements for the Connect flow (#8494) 2020-05-04 18:10:09 -02:30
threebox.spec.js Refactor asset list items (#8586) 2020-05-13 17:41:15 -03:00
web3.spec.js Fix broken test artifact directory name (#8480) 2020-04-30 11:39:25 -03:00