1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00
metamask-extension/test
Mark Stacey 7b35ea6400
Allow exporting state during e2e tests (#7860)
As of #7663, an in-memory store was used in place of local storage
during e2e tests, to facilitate the use of state fixtures. However,
this made it difficult to export state during a test run. The
instructions for exporting state to create fixtures assumed that local
storage was being used.

A new global function has been added to the background context to allow
exporting state. This method is available during testing and
development, and it works with either local storage or the in-memory
store. The fixture instructions have been updated to reference this new
function.
2020-01-17 18:59:25 -04:00
..
data Move webdriver interactions into driver module (#7798) 2020-01-13 11:07:32 -04:00
e2e Allow exporting state during e2e tests (#7860) 2020-01-17 18:59:25 -04:00
integration Move webdriver interactions into driver module (#7798) 2020-01-13 11:07:32 -04:00
lib Remove usages of xtend from the background scripts (#7796) 2020-01-13 08:59:36 -10:00
stub Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
unit Inline networkStore to avoid having too many event listeners (#7854) 2020-01-17 18:28:27 -03:30
unit-global Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
web3 yarn lint --fix 2019-12-03 17:20:55 -03:30
base.conf.js eslint --fix . 2018-07-02 18:49:33 -04:00
flat.conf.js eslint --fix . 2018-07-02 18:49:33 -04:00
helper.js Don't log Ganache Testrpc started event (#7822) 2020-01-14 23:47:56 -03:30
setup.js Update ESLint rules for curly braces style (#7477) 2019-11-19 20:33:20 -03:30