1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 07:16:36 +01:00
Commit Graph

1344 Commits

Author SHA1 Message Date
Thomas
9ffed5fd18 E2E - Dont error on browser errors 2018-08-14 11:29:43 -07:00
Thomas
96d789d2cf Merge branch 'develop' into network-remove-provider-engine
Override package-lock and fix merge conflicts
2018-08-14 10:44:42 -07:00
Dan Miller
a59e47e7b0 Add missing awaits and/or missing wait timeouts in test/e2e/beta/metamask-beta-ui.spec.js 2018-08-14 12:50:26 -02:30
Dan Miller
860bf42346 Make deployment states in test/e2e/beta/contract-test/contract.js more explicit 2018-08-14 12:35:50 -02:30
Dan Miller
c00d0daeb5 Improve error handling in assertElementNotPresent of test/e2e/beta/helpers.js 2018-08-14 12:35:50 -02:30
brunobar79
b77cc3d969 fix tx tests 2018-08-14 03:42:23 -04:00
Thomas
7918240833 Confirms new contract token in the popup 2018-08-13 10:31:07 -07:00
brunobar79
42834fe8be fix e2e tests 2018-08-10 13:11:49 -04:00
Esteban MIno
d263d60b4c tests for migration 28 2018-08-09 16:41:16 -04:00
Thomas
de6f8b6811 Delay 2018-08-08 21:06:08 -07:00
Thomas
66120c627f confirms a deplay contract tx in the popup 2018-08-08 18:04:48 -07:00
Dan Miller
e98c3b4c01 Get nonce for showing retry button using ethQuery transaction count. 2018-08-08 17:04:42 -02:30
Thomas
562764ccb2 Use develop e2e beta tests 2018-08-07 12:07:22 -07:00
Esteban MIno
c0cdda8321 Merge branch 'develop' into TokensPerAccountBasis 2018-08-07 14:17:40 -04:00
frankiebee
ff53a33f81 lint fixes 2018-08-07 11:14:56 -07:00
frankiebee
cbade51ebd Merge branch 'develop' of https://github.com/MetaMask/metamask-extension into network-remove-provider-engine-tests 2018-08-07 01:53:13 -07:00
Whymarrh Whitby
d1435fb883 Switch superstatic for static-server pkg 2018-08-06 15:47:57 -02:30
Dan Miller
7de2a0687d Fix seed word confirmation step of e2e beta tests. 2018-08-06 12:14:06 -02:30
Dan Miller
aff66f4b07 Use unmodified constant for test delay in from-import-beta-spec. 2018-08-06 11:07:16 -02:30
Dan Miller
74e2225f36 Improve waits for new tx-list-items after first contract method call in e2e beta tests. 2018-08-06 11:07:16 -02:30
Thomas Huang
024ebe07e0 Merge branch 'develop' into network-remove-provider-engine-tests 2018-08-01 10:40:31 -07:00
Thomas Huang
5b3927fe5b Lint 2018-07-30 20:30:35 -07:00
Thomas Huang
2392e77cd8 Set metamask controller network provider to localhost 2018-07-30 20:18:01 -07:00
Esteban MIno
fbcba8f019 create tokens storage when setadresses 2018-07-30 19:09:17 -04:00
Thomas
3d9f283f87 Disallow netConnections other than localhosts 2018-07-30 06:27:25 -07:00
Thomas
fb5e357998 Detect Tokens are weird 2018-07-30 06:26:34 -07:00
Whymarrh Whitby
0fd8862c5e Don't show an additional beta UI notification
When a user has opted-in to the new UI from the announcement, we don't
need an additional notification letting the user know that they've
switched.
2018-07-28 11:59:51 -02:30
Dan Miller
07c0cd59d4 New ui e2e tests switch to localhost provider (needed after new ui selection screen addition). 2018-07-28 11:59:51 -02:30
Dan Miller
915c4fd1b1 Fix integration tests to accomodate new ui suggestion screen changes. 2018-07-28 11:59:51 -02:30
Dan Miller
30d92b8d3f Fix e2e tests to accomodate new ui suggestion screen changes. 2018-07-28 11:59:51 -02:30
Esteban MIno
dd6a725e6d unit tests for tokens per account and network 2018-07-27 17:41:47 -04:00
Esteban MIno
f79a249bcc modify tests according to tokens by network 2018-07-26 20:04:57 -04:00
Thomas
138858647e Merge branch 'develop' into network-remove-provider-engine 2018-07-25 22:38:44 -07:00
Dan Miller
cb8ea12db6 Updates e2e beta tests to ensure that popup window closes after confirming a simple send. 2018-07-24 11:24:36 -02:30
Esteban Miño
110efa9ec1
Merge branch 'develop' into detectTokenFeature 2018-07-20 20:09:37 -04:00
Esteban MIno
9c95554933 fix detection on submit password 2018-07-20 19:58:03 -04:00
Esteban Miño
cb045fd8fe
Auto-detect tokens #3034 (#4683)
* detect tokens polling

* network store to detect token

* tests for spec

* passtest-lint

* fix lint

* improve tests

* detect tokens through infura

* detect tokens when submit password and new account selected

* keyring unlocked detect and unit tests

* add changelog
2018-07-20 12:36:24 -04:00
Esteban MIno
009b1cefbe keyring unlocked detect and unit tests 2018-07-19 19:46:46 -04:00
Esteban MIno
3b97d816ff detect tokens when submit password and new account selected 2018-07-19 15:56:38 -04:00
Bruno Barbieri
9be2248d7a
Merge pull request #4625 from MetaMask/initial-trezor-support
Initial trezor support
2018-07-19 15:00:59 -04:00
brunobar79
cbb14f1d5e fix browser not supported screen 2018-07-17 21:57:19 -04:00
brunobar79
aa5a987765 added some e2e tests 2018-07-17 21:54:04 -04:00
brunobar79
cb53d5122c Merge branch 'develop' of github.com:MetaMask/metamask-extension into initial-trezor-support 2018-07-17 20:43:32 -04:00
Alexander Tseung
e16f5ab54d Fix tests 2018-07-17 13:38:15 -07:00
brunobar79
e89350b19f added tests for removeAccount 2018-07-17 01:44:28 -04:00
brunobar79
de4265c629 added more unit tests 2018-07-17 01:17:18 -04:00
Alexander Tseung
4737ea49c7 Increase clickable area and padding of Retry Transaction bar 2018-07-16 21:45:24 -07:00
brunobar79
e5512c306d added unit tests for metamaskcontroller 2018-07-16 19:36:08 -04:00
brunobar79
41879a9835 added test for preferences controller 2018-07-16 16:08:19 -04:00
Esteban MIno
2fffe09873 detect tokens through infura 2018-07-12 20:43:43 -04:00
Bobby Dresser
eb2b36b3cb fix tos link; 2018-07-12 16:24:13 -04:00
Alexander Tseung
0d4dbbec2a
Merge pull request #4691 from MetaMask/i4404-confirm-refactor
Refactor and redesign confirm transaction views
2018-07-11 15:31:50 -10:00
Esteban MIno
910713c6b3 improve tests 2018-07-11 15:59:05 -04:00
Dan
07322bc404 Wait for an element with a .tx-list-pending-item-container to be rendered before attempting to select the tx-list-item. (e2e beta tests) 2018-07-11 15:47:17 -02:30
Dan
05ee2b7401 Reattempt to find network selector; wait for network selector dropdown to contain localhost before attempting to click. (e2e beta tests) 2018-07-11 15:13:32 -02:30
Dan
8912955765 Wait for submitted tx list item amounts to match the expected before clicking through. (e2e beta tests) 2018-07-11 14:51:58 -02:30
Dan
e91d87efd9 Fix bug in test mock signature request methods. 2018-07-11 13:37:26 -02:30
Dan
91eca558f0 Fix send integration tests for compatability with confirm refactor. 2018-07-11 08:35:15 -02:30
Dan
a7a66171c2 Fix signature request tests for compatability with confirm refactor. 2018-07-11 08:35:15 -02:30
Dan
f81676fda1 Update e2e beta tests to cover confirm refactor changes. 2018-07-11 08:35:06 -02:30
frankiebee
b30499886f test - check that #setTxStatusRejected removes transaction from history 2018-07-10 15:35:27 -07:00
Dan
228b807221 Fix existing e2e tests 2018-07-10 17:18:16 -02:30
Dan
1a0a701de0 Handles window indeterminancy issues for external dapps in e2e beta tests. 2018-07-10 17:18:16 -02:30
frankiebee
8a678001a9 test - fix for lint 2018-07-10 11:43:00 -07:00
frankiebee
28c509914b Merge branch 'develop' of https://github.com/MetaMask/metamask-extension into i#3896 2018-07-10 11:32:05 -07:00
Alexander Tseung
7d691c7398 Fix existing unit tests 2018-07-07 18:53:00 -07:00
Dan J Miller
6595f84d07
Merge pull request #4648 from MetaMask/update-import-from-seed-screen
Update import from seed screen on new ui.
2018-07-05 16:26:21 -02:30
Dan J Miller
46cda26f3b
Merge pull request #4685 from MetaMask/estimate-gasprice-background-newui
Use background gas price estimation method in new ui.
2018-07-05 08:01:03 -02:30
Dan
f262f0ea64 Update import from seed screen on new ui. 2018-07-04 21:21:12 -02:30
Dan
c47a4ce2c9 Update new-ui-send integration tests to always explicitly set gas price. (e2e tests handle auto-setting and defaults) 2018-07-04 16:44:56 -02:30
kumavis
fa02a6c7c6 test - unit - remove tests for obsolete methods 2018-07-03 13:56:18 -07:00
kumavis
77daed5c74 Merge branch 'develop' of github.com:MetaMask/metamask-extension into network-remove-provider-engine 2018-07-03 12:42:14 -07:00
Esteban MIno
63b9c8796b fix lint 2018-07-03 15:24:23 -04:00
kumavis
2b2cd87e2d test - e2e - contract test - add logs 2018-07-03 12:17:46 -07:00
Esteban MIno
0494b2fc8a Merge branch 'develop' into detectTokenFeature 2018-07-03 13:23:15 -04:00
kumavis
b75abfac60 test - e2e - fix missing import 2018-07-02 23:54:18 -07:00
brunobar79
53f1072ff4 fix contract-test 2018-07-02 22:20:51 -04:00
brunobar79
4b398701c1 fix unit tests 2018-07-02 21:03:34 -04:00
brunobar79
c734e486a0 fix tests 2018-07-02 20:21:27 -04:00
brunobar79
b4107a505b fix warning for new-ui screen tests 2018-07-02 20:13:04 -04:00
brunobar79
0da41263ac fix warning for unit tests 2018-07-02 20:12:50 -04:00
brunobar79
390f86113a fix test/mascara.conf.js warnings 2018-07-02 19:53:45 -04:00
brunobar79
04743afb2d fix warnings for integration tests 2018-07-02 19:52:49 -04:00
brunobar79
cb71896a8f fix warnings for e2e tests 2018-07-02 19:51:27 -04:00
kumavis
9f11042d72 test - e2e - move timings 2018-07-02 16:03:53 -07:00
brunobar79
a8f745f9fe eslint --fix . 2018-07-02 18:49:33 -04:00
kumavis
0ada37ead7 test - e2e-beta - update some api calls 2018-07-02 15:46:33 -07:00
kumavis
a89902c170 Merge branch 'develop' of github.com:MetaMask/metamask-extension into network-remove-provider-engine 2018-07-02 13:54:05 -07:00
Dan
c5a16af831 Improve checks for closing info page on app installation in e2e beta tests. 2018-06-29 08:56:51 -02:30
Dan
f824a2982a Use supersonic instead of httpserver to serve local dapp (e2e beta tests) 2018-06-28 10:16:36 -02:30
Esteban MIno
6284e66481 tests for spec 2018-06-27 22:18:06 -04:00
Dan
8a96dc0c48 Turn off failing e2e beta assertion in firefox until bugs in webdriver/geckodriver are resolved. 2018-06-27 14:40:16 -02:30
Dan
0cdfbb4503 Update condition for backspace in customize gas step of token factory send test (e2e beta). 2018-06-27 13:50:44 -02:30
Dan
bec3fa3dbf Fix add existing token test (e2e beta tests). 2018-06-27 12:55:30 -02:30
Dan
669f2437c7 Switch to eth and back before asserting on token balance (e2e beta token tests). 2018-06-27 11:08:57 -02:30
Dan
9cc358a429 await all clicks in e2e beta tests. 2018-06-27 11:08:55 -02:30
Dan
12266b064e Close popup window for e2e beta token factory send test. 2018-06-27 11:08:17 -02:30
Dan
a25f5483d8 Fix retype seed phrase button. 2018-06-27 11:08:17 -02:30
Dan
b029085fbe Disable e2e beta assertion after first token addition because of firefox / webdriver bug. 2018-06-27 11:08:17 -02:30
Dan
6c8f4b2dea Pass correct params to verboseReportOnFailure in beta e2e tests. 2018-06-27 11:08:17 -02:30
Dan
686d14f42d Add timeouts to certain beta e2e driver.waits. 2018-06-27 11:08:17 -02:30
Dan
31bb8a0ab7 Add try catch to deal with false negative timeouts in beta e2e tests. 2018-06-27 11:08:17 -02:30
Dan
a6cb13422d Wait for element text match in metamask-beta-ui e2e send token test 2018-06-27 11:08:17 -02:30
Dan
c343a12543 Use locally served dapp to test contract calls in e2e beta tests 2018-06-27 11:08:15 -02:30
Dan
c1aa193487 Add extra delay to e2e tests after remix page load. 2018-06-27 11:01:26 -02:30
Dan
f5d43404dc Fix send token tests in beta ui e2e tests. 2018-06-27 11:01:26 -02:30
Dan
bdf9cd8e3a Speed up page opening and fix timeout errors on remix page opening in beta e2e tests. 2018-06-27 11:01:26 -02:30
Dan
07970b7cfa Add delay before regularly failing test. 2018-06-27 11:01:26 -02:30
Dan
b7e7209fe6 Fix element located bug in beta e2e contract method call test. 2018-06-27 11:01:26 -02:30
Dan
7d5531d3e8 Improve wait for buy modal render after first time flow in beta e2e tests. 2018-06-27 11:01:26 -02:30
Dan
b64292d92f Update metamask-beta-ui e2e spec to fail on insufficient gas estimation. 2018-06-27 11:01:26 -02:30
Dan
309239afb4 Wait for locating of submit buttons before attempting to click in metamask.spec.js 2018-06-27 11:01:26 -02:30
Dan
13e0b42359 Update tests to accomodate token list menu additions. 2018-06-27 11:01:26 -02:30
Dan
cc61372260 Disable onbeforeunload alert on remix for contract integration tests. 2018-06-27 11:01:26 -02:30
Dan
bf32aeaef2 Adds test for hiding tokens. 2018-06-27 11:01:26 -02:30
Dan
797a3ee686 e2e beta tests for contract deployment and calling a contract method. 2018-06-27 11:01:25 -02:30
Dan
e293233c5e Improve reliability of beta e2e tests by using webdriver apis to wait for certain dom elements. 2018-06-27 11:01:25 -02:30
Dan
1d8f257832 Add test for importing from private key to from-import-beta-ui.spec.js, and remove non-import related tests from that file. 2018-06-27 11:01:23 -02:30
Dan
9734e6ffb8 metamask-beta-ui.spec.js tests custom token send before searched token. 2018-06-27 11:00:42 -02:30
Dan
9cb15d44a0 Adds e2e tests for sending tokens from token factory. 2018-06-27 10:58:55 -02:30
Dan
67894ef2e2 Adds e2e tests for sending tokens within metamask. 2018-06-27 10:58:55 -02:30
Dan
f82e4439d0 Adds e2e tests for sending tokens from token factory. 2018-06-27 10:45:54 -02:30
Dan
73894fb5bd Adds e2e tests for sending tokens within metamask. 2018-06-27 10:45:36 -02:30
frankiebee
94a4f99115 tests - fix cancle transaction test to better fit new behavior 2018-06-26 12:21:50 -07:00
frankiebee
7b1f57e05d woops - remove .only
Co-authored-by: @jennypollack
2018-06-25 15:18:01 -07:00
frankiebee
9b92ba4c47 trandsactions - remove rejected transactions from history 2018-06-25 15:07:54 -07:00
frankiebee
7d3da0ae96 migration 27 - remove rejected transactions from state 2018-06-25 11:45:00 -07:00
Whymarrh Whitby
1509a4393a Accept whitespace when matching token balances in e2e tests 2018-06-20 16:15:22 -02:30
Whymarrh Whitby
4cd4d99e70 Add explicit timeout for add token test 2018-06-20 16:15:22 -02:30
Dan
0c8318b02a Update integration tests for newui gas estimation fixes. 2018-06-18 15:20:16 -02:30
Dan Finlay
3a5089da6f
Merge pull request #4566 from MetaMask/notice-phishing
Push new notice on recent phishing incidents
2018-06-14 09:49:38 -07:00
kumavis
c2afb79035 test - e2e-beta - from import - handle phishing warning 2018-06-14 00:52:46 -07:00
kumavis
e95fed06b7 test - e2e-beta - separate notice tests into individual tests 2018-06-14 00:36:14 -07:00
kumavis
564bb9f652 test - e2e - clear phishing warning 2018-06-14 00:23:38 -07:00
kumavis
4b8a4fd5fe test - e2e - check for phishing warning 2018-06-13 23:52:51 -07:00
kumavis
44a8e48a04 notices - replace getLatestNotice with getNextNotice 2018-06-13 23:30:31 -07:00
kumavis
e9cb650832 Merge branch 'develop' of github.com:MetaMask/metamask-extension into ValidateEmptyKey 2018-06-13 21:11:04 -07:00
kumavis
7a001447a8 test - unit - add assertRejects to test asyncFns 2018-06-13 21:01:00 -07:00
kumavis
62586b3b6e
test - unit - import strategies - properly await async methods 2018-06-13 20:39:57 -07:00
Whymarrh Whitby
c56ed16891 Fix e2e test Chrome profile paths 2018-06-12 14:11:20 -02:30
kumavis
030fea7136 test - e2e - beta - from import - fix missing startup phase 2018-06-12 08:35:45 -07:00
kumavis
9d1b4cc1d7 test - e2e - beta - dont select localhost as it is already set 2018-06-12 08:19:57 -07:00
kumavis
4773a7f3ec test - e2e - extensionUri should point to home.html 2018-06-11 18:56:59 -07:00
kumavis
93a2e28705 test - e2e - remove usage of extensionId from tests 2018-06-11 16:45:29 -07:00
kumavis
ab0e60e802 test - e2e - fix incomplete setup phase 2018-06-11 15:34:54 -07:00
Dan Finlay
b24efcb1cd Make account import tests much more specific
However, they no longer seem to work. I'm unclear why this test is
failing. The private key being provided should be valid.
2018-06-11 14:58:05 -07:00
kumavis
2e3f421b73 test - e2e - properly export setupBrowserAndExtension 2018-06-11 14:55:50 -07:00
kumavis
8a0961b4a8 test - e2e - more factoring of test setup 2018-06-11 14:46:45 -07:00
kumavis
907594463d test - e2e - use fs-extra instead of fs 2018-06-11 14:35:20 -07:00
kumavis
ebb9447593 test - e2e - factor out setup phase + rename METAMASK_CONFIG to METAMASK_TEST_CONFIG 2018-06-11 14:25:49 -07:00
kumavis
02f5502e16 test - e2e - inject metamask config to point at localhost 2018-06-11 11:04:28 -07:00
kumavis
0fa9014986 test - e2e - reduce browser-specific code 2018-06-11 09:37:08 -07:00
Dan Finlay
385927a1b9 Improve private key import tests 2018-06-07 13:34:10 -07:00
Dan Finlay
b7fe4b820d Improve test formatting 2018-06-07 10:54:19 -07:00
kumavis
66b703b1a4 Merge branch 'develop' of github.com:MetaMask/metamask-extension into network-remove-provider-engine 2018-06-07 10:07:36 -07:00
Dan
a09d609360 Bump beta e2e timeouts on faucet page. 2018-06-06 22:15:38 -02:30
Dan
11f5fdc927 Merge branch 'develop' into i3725-refactor-send-component- 2018-06-06 21:55:20 -02:30
kumavis
c86213bf11
Merge pull request #4385 from MetaMask/ci-test-e2e-beta
CI - Add e2e-beta tests
2018-06-06 16:58:34 -07:00
Dan
ae55e8a3c1 Merge branch 'develop' into i3725-refactor-send-component- 2018-06-06 16:40:43 -02:30
kumavis
2198276bd5 Merge branch 'develop' of github.com:MetaMask/metamask-extension into network-remove-provider-engine 2018-06-06 12:05:38 -07:00
Thomas Huang
1fb408f62e
Merge pull request #4512 from MetaMask/test-metamask-no-diagnostics
test - metamask-controller - disable diagnostics
2018-06-06 11:54:59 -07:00
kumavis
d30f03dcbf
Merge pull request #4414 from scsaba/recipient-blacklist
Disallow sending to ganache default accounts on main net
2018-06-06 11:54:01 -07:00
kumavis
9d77b0a196 Merge branch 'develop' of github.com:MetaMask/metamask-extension into network-remove-provider-engine 2018-06-06 11:08:29 -07:00
Dan
72649a0b59 Improve e2e beta tests by adding appropriate waits. 2018-06-06 13:45:08 -02:30
Dan
12e7508584 Conditionally close info page in beta e2e tests. 2018-06-06 07:34:25 -02:30
Dan
3d57352e54 Merge remote-tracking branch 'whymarrh/ci-test-e2e-beta' into ci-test-e2e-beta 2018-06-06 06:48:15 -02:30
Dan
bb4de95f76 Fix e2e beta tests to account for add-token updates and actual behaviour of tab openings on installation. 2018-06-05 22:16:03 -02:30
Dan
fbcab7a91e Merge branch 'develop' into ci-test-e2e-beta 2018-06-05 22:15:06 -02:30
kumavis
da938ded5c
test - metamask-controller - disable diagnostics 2018-06-05 13:31:34 -07:00
kumavis
20bdba3d17 diagnostics - rewrite bug-notifier as diagnostics-reporter 2018-06-05 11:51:27 -07:00
Dan
aee9247faa Merge branch 'develop' into i3725-refactor-send-component- 2018-06-04 22:32:30 -02:30
Dan Finlay
ae156e1087 Mock notifier in test 2018-06-04 15:26:01 -07:00
Dan Finlay
797e63b37b Add failing test for unknown identity entry 2018-06-04 13:28:46 -07:00
Whymarrh Whitby
60c06a6440 Adjust delays in new beta e2e tests 2018-06-01 13:31:21 -07:00
Dan
701611e317 Merge branch 'i3725-refactor-send-component-' into i3914-fix-newui-send-gas-estimation 2018-05-31 15:39:24 -02:30
Dan
d12bb8c14f Merge branch 'i3725-refactor-send-component-' of github.com:MetaMask/metamask-extension into i3725-refactor-send-component- 2018-05-31 15:29:17 -02:30
Alexander Tseung
cc73d869fe Add new alert modals 2018-05-31 10:37:52 -07:00
Dan
3745c1ea4f Fix send amount field select in send-new-ui integration test. 2018-05-31 14:53:38 -02:30
Dan
704ba54bef Fix send-new-ui gas fee display expectation. 2018-05-31 13:47:09 -02:30
Dan
67c74cd5b6 Fix currency display send integration tests. 2018-05-31 12:07:23 -02:30
Dan
3d597cd1d2 Fix test to account for greater precision currency display. 2018-05-30 20:54:31 -02:30
Csaba Solya
1dda0c6469 remove generating blocked accounts and use a config file instead 2018-05-30 21:15:59 +02:00
Csaba Solya
cf73581c0e adding tests for recipient blacklist checker 2018-05-30 17:38:27 +02:00
Csaba Solya
6affd8f949 adding transaction controller tests 2018-05-30 16:24:40 +02:00
Thomas
be6776897f Delay before getting address text 2018-05-29 23:07:45 -07:00
Thomas
54ccf5e930 Merge branch 'develop' into e2e-test 2018-05-29 22:34:17 -07:00
kumavis
73afb263cb ci - job-screens - use e2e funcs 2018-05-29 22:13:58 -07:00
Thomas
f90ad6191c Add account 2018-05-29 18:20:54 -07:00
kumavis
32293a959c test - unit - tx-controller - fix blockTracker stub 2018-05-29 01:08:55 -07:00
kumavis
e2a9b9e2ae Merge branch 'develop' of github.com:MetaMask/metamask-extension into network-remove-provider-engine 2018-05-28 18:25:51 -07:00
kumavis
31f47a7a42 test - unit - pending-tx-tracker - update method name 2018-05-28 16:00:35 -07:00
kumavis
686d5cf825 test - unit - nonce-tracker - fix blockTracker stub 2018-05-28 15:59:34 -07:00
kumavis
5be154ea20 controllers - transactions - merge @frankiebee's work with mine 2018-05-28 14:29:31 -07:00
kumavis
a0fe5b9190 test - unit - metamask-controller - remove log 2018-05-25 11:09:19 -07:00
kumavis
deab195772 test - unit - code style nitpick 2018-05-24 23:19:54 -07:00
kumavis
da5be0812a test - unit - metamask-controller - fix many bugs in tests 2018-05-24 23:19:39 -07:00
kumavis
0b45810d4c test - unit - run ganache-server in background 2018-05-24 23:18:11 -07:00
kumavis
afdefc58e9 test - unit - tx-controller-test - add history object to txMeta when using internal calls 2018-05-24 22:41:09 -07:00
kumavis
630e2300f4 test - unit - move fetch polyfill to helper 2018-05-24 22:10:17 -07:00
kumavis
380964a687 test - unit - metamask-controller - polyfill global.fetch 2018-05-24 21:17:56 -07:00
Dan
0de765aa25 Clean up for send refactor PR. 2018-05-25 00:00:55 -02:30
Whymarrh Whitby
715624227a Add basic e2e tests for the new UI 2018-05-24 23:23:42 -02:30
kumavis
2b54d948da test - remove .only from unit tests 2018-05-24 15:53:06 -07:00
Dan
440905125d Merge branch 'develop' into i3725-refactor-send-component- 2018-05-23 16:03:15 -02:30
frankiebee
61caee9d94 Merge branch 'network-remove-provider-engine' of https://github.com/MetaMask/metamask-extension into transactions-use-new-block-tracker 2018-05-22 16:45:20 -07:00
frankiebee
c4b09da34e transactions - update pending-tx-tracker to use the new block tracker 2018-05-22 16:42:06 -07:00
frankiebee
60bc28bf3c test pending-tx-tracker - update tests to reflect new block tracker behavior and remove tx:confirmed event tests 2018-05-22 16:37:43 -07:00
kumavis
3a80f3dd83 Merge branch 'develop' of github.com:MetaMask/metamask-extension into network-remove-provider-engine 2018-05-22 13:20:04 -07:00
kumavis
cee55b47d0
Merge pull request #4321 from MetaMask/testing
MM controller tests and reorganizing test files
2018-05-22 13:02:41 -07:00
Thomas Huang
492b4a6743
Merge pull request #4333 from MetaMask/test-e2e-check-for-errors
test - e2e - check for console errors after each test
2018-05-22 12:59:55 -07:00
kumavis
b5bbfd3264
Merge pull request #4308 from MetaMask/i4232-addtoken
Update designs for Add Token screen
2018-05-22 12:53:59 -07:00
kumavis
1fbf59cdd3 ci - screens - continue screenshots through account creation + export account 2018-05-22 01:56:52 -07:00
kumavis
83782421bb test - e2e - only inspect console for errors in chrome 2018-05-21 20:17:46 -07:00
kumavis
a3ca64d321 test - e2e - ignore 'development build of Redux' warning 2018-05-21 19:59:21 -07:00
kumavis
4856c0803f test - e2e - ignore 'development build of React' warning 2018-05-21 19:57:13 -07:00
kumavis
81ff04ec27 test - e2e - ignore favicon 404s 2018-05-21 18:00:22 -07:00
kumavis
db08d8d43e test - e2e - ignore react 'unknown props dataset' warnings 2018-05-21 17:15:05 -07:00
tmashuang
238f2eb179 Merge branch 'develop' into testing 2018-05-21 16:36:48 -07:00
kumavis
9c6e2ec8ef test - e2e - check for console errors after each test 2018-05-21 16:26:38 -07:00
Frankie
e8b2e11c56 Reveal get filtered tx list (#4332)
* add getFilteredTxList from txController to getApi

* transactions - remove dead code (isNonceTaken)
2018-05-21 16:00:44 -07:00
tmashuang
58b9afff4f Merge branch 'develop' into testing 2018-05-21 14:57:57 -07:00
kumavis
08d95bbafa
Merge pull request #4034 from whymarrh/account-nicknames
Move account names out of KeyringController
2018-05-21 13:44:07 -07:00
tmashuang
554a10f17e Merge branch 'develop' into testing 2018-05-21 13:05:24 -07:00
kumavis
b426b5e58c
Merge pull request #4278 from MetaMask/e2e-tests
E2e tests
2018-05-21 10:53:55 -07:00
tmashuang
13ebb0b455 Moved loose some loose test files to sub folders 2018-05-21 05:59:26 -07:00
Alexander Tseung
c4e75a7075 Fix tests 2018-05-20 14:08:45 -07:00
Thomas
f279a8e61a signMessage and signPersonalMessage 2018-05-17 16:26:08 -07:00
Whymarrh Whitby
67310e151e Fix migration 026 to produce the correct shape for state.identities 2018-05-17 13:35:38 -02:30
Whymarrh Whitby
e546f4b904 Update MetaMaskController vault restoration test for new KC api 2018-05-17 12:57:39 -02:30
Whymarrh Whitby
2d13fac476 Add migration to move identities from KeyringController 2018-05-17 12:57:39 -02:30
Whymarrh Whitby
50af02e74b Add test case for PreferencesController#setAccountLabel 2018-05-17 12:57:39 -02:30
Whymarrh Whitby
c54e4c7191 Add PreferencesController#setAddresses to update ids 2018-05-17 12:57:39 -02:30
Whymarrh Whitby
cbe4d0d88c Update AddressBookController to read from preferences store 2018-05-17 12:57:39 -02:30
Whymarrh Whitby
924cc1fcf7 Move setAccountLabel into PreferencesController 2018-05-17 12:57:39 -02:30
Thomas
770379c3da Merge branch 'develop' into testing 2018-05-17 00:01:36 -07:00
kumavis
eaa5a48c91 test - unit - network - get providerProxy via public method 2018-05-16 23:54:17 -07:00
Thomas
5e80bc4cb9 Merge branch 'develop' into testing 2018-05-16 22:47:07 -07:00
kumavis
088d7930e0 network - create provider and block-tracker via json-rpc-engine 2018-05-16 20:46:34 -07:00
Thomas
f2815d3121 Adjustments for previous PR 2018-05-16 19:12:03 -07:00
Thomas
77e13640b4 Testing timeouts 2018-05-16 15:03:53 -07:00
kumavis
44f31f9a7e Merge branch 'develop' of github.com:MetaMask/metamask-extension into scsaba-transaction-history-timestamps 2018-05-16 13:56:32 -07:00
kumavis
c27d9162d7 Merge branch 'develop' of github.com:MetaMask/metamask-extension into network-controller-remove-setNetworkEndpoints 2018-05-16 11:57:07 -07:00
Dan
759bc17388 Merge branch 'develop' into i3725-refactor-send-component- 2018-05-15 11:21:15 -02:30
Thomas
517be35ab6 Merge branch 'develop' into e2e-tests 2018-05-14 17:19:44 -07:00
Thomas
cd42d18203 Merge e2e tests into one 2018-05-14 17:17:36 -07:00
Thomas Huang
6e79225dbf
Merge pull request #4251 from whymarrh/e2e-fixes
Small e2e test adjustments
2018-05-14 10:56:49 -07:00
Whymarrh Whitby
6926e4e9d2 e2e: Use the more reliable enter key for logging in 2018-05-14 14:01:28 -02:30
Whymarrh Whitby
dc6f6addb9 e2e: Wait a bit before clicking through privacy screen
The network connection can take a bit so we need to wait for the
spinner to go away.
2018-05-14 13:58:57 -02:30
Whymarrh Whitby
4e91fc8639 e2e: Adjust the extension ID query for newer Chrome versions 2018-05-14 13:57:58 -02:30
Whymarrh Whitby
6afd169e60 e2e: Use newest window as MM tx confirm popup 2018-05-14 13:57:19 -02:30
Dan
6bc8cc819a Merge branch 'develop' into i3725-refactor-send-component- 2018-05-14 11:44:50 -02:30
Alexander Tseung
0bcfbc1544 Add error message when passwords don't match in first time flow. Change input field styling in first time flow 2018-05-13 21:46:12 -07:00
Alexander Tseung
2381c0e0f4 Add new unlock screen design 2018-05-11 12:49:17 -07:00
Thomas
d9d528753d Increase timeout 2018-05-10 10:47:48 -07:00
Thomas
c37ad657cd Fix typo 2018-05-10 10:32:41 -07:00
Thomas
60933f1090 Job Screens with Shadow Dom Css selector 2018-05-10 10:24:27 -07:00
Thomas
68bbe18e32 Multistep Shadow Dom Query Selector for local extension id 2018-05-10 09:47:34 -07:00
Csaba Solya
9026651224 add time stamps to transaction history log entries 2018-05-10 13:26:02 +02:00
Thomas
f441153211 console.log -> assert.equal 2018-05-09 01:58:43 -07:00
Thomas
9a1661918f ImportAccountWithStrategies Json and Keystore 2018-05-09 01:51:55 -07:00
Thomas
d59105299a Update test:screens to newest chrome extension list 2018-05-08 07:30:05 -07:00
Thomas
6c9b303dbd Merge branch 'develop' into e2e-tests 2018-05-08 07:11:29 -07:00
Thomas
f7a3d8887c Update to extension Id path for new chrome 2018-05-08 07:03:17 -07:00
Thomas
f2e1cb9302 Remove approvePersonalMessage test 2018-05-07 14:56:33 -07:00
Thomas
8250fd9d6d Merge branch 'develop' into testing 2018-05-07 14:30:43 -07:00
Thomas
228e06110d Remove waiting for button to be enabled TOU 2018-05-03 16:11:05 -07:00
Thomas
025d8e7983 Merge branch 'e2e-tests' of https://github.com/tmashuang/metamask-extension into e2e-tests 2018-05-03 14:38:49 -07:00
Thomas
1d353c002d Increase timeout for TOU scroll 2018-05-03 14:37:56 -07:00
Thomas
23e1290e27 Add a comment on the confirmation transaction metamask popup showing blank, but button still renders 2018-05-03 14:18:06 -07:00
Thomas
10baffaf48 Quit chromedriver after test 2018-05-03 14:14:02 -07:00
Thomas
f900821a42 Merge branch 'develop' into e2e-tests 2018-05-03 14:10:26 -07:00
Thomas
9bba97a676 Reduce delay for installing firefox addon 2018-05-03 13:26:48 -07:00
Thomas
74e36e6f8f Add Timeouts for driver.wait 2018-05-03 13:18:54 -07:00
Thomas
8d9d55fec3 Test wit driver.wait 2018-05-03 13:06:36 -07:00
kumavis
d2aa36f866 test - network controller - remove tests for deprecated APIs + update tests 2018-05-02 18:07:29 -07:00
Thomas
5e688f0781 Delay around the addon install 2018-05-01 15:24:32 -07:00
Thomas
79baa37f31 test increase timeout 2018-05-01 14:53:17 -07:00
frankiebee
a45cb75435 transactions - add a nonce check utility for ui use 2018-05-01 13:57:43 -07:00
Thomas
c08a5d04c4 Async/await installing extension 2018-05-01 12:33:40 -07:00
Thomas
9dfe4f410d Firefox 2018-05-01 12:18:22 -07:00
Thomas Huang
2601aa594e
Merge pull request #4116 from MetaMask/test-unit-ganache
Test - Move unit tests to ganache-core
2018-04-30 10:35:17 -07:00
Dan
26f965bcce Further refactors; includes refactor of send-v2.js and associated container 2018-04-30 13:05:48 -02:30
Paul Bouchon
daaaab3ab0
Verify identities state after restoring new accounts (#4091) 2018-04-29 23:18:34 -04:00
kumavis
b8a18feb51 test - unit - send from test accounts to avoid not-enough-balance error from ganache 2018-04-27 17:12:52 -07:00
kumavis
b487dab2e7 test - unit - use ganache instead of deprecated block-tracker test util 2018-04-27 17:11:44 -07:00
kumavis
2b9925a9e4
Merge pull request #4110 from MetaMask/master
Develop - Add commits to develop that are already in Master
2018-04-27 16:17:46 -06:00
Paul Bouchon
1bad3fa257
Allow transactions with 0-gwei gas price (#4073)
* Allow transactions with 0-gwei gas price
* Add tests to verify tx with 0 gas fee
* Conditionally use CurrencyInput in CurrencyDisplay
2018-04-27 10:42:02 -04:00
kumavis
dcd04091cc
Merge pull request #4042 from MetaMask/tx-controller-rewrite-v3
docs and file organization for txController
2018-04-25 16:52:46 -06:00
Thomas
629457ea54 setupUntrustedCommunication and setupTrustedCommunication 2018-04-24 13:33:31 -07:00
Thomas
0100923129 Merge branch 'master' into testing 2018-04-23 11:22:24 -07:00
Thomas
ddece0cc11 ConfigManager markAccountsFound, markPasswordForgotten, unMarkPasswordForgotten 2018-04-23 11:21:48 -07:00
Alexander Tseung
9e41f58af2 Clean up network config 2018-04-23 10:18:05 -07:00
Thomas
2a1912642c resetAccount and addNewAccount 2018-04-19 14:36:33 -07:00
frankiebee
c20c97ce62 Merge branch 'master' into tx-controller-rewrite-v3 2018-04-19 11:49:11 -07:00
Dan Finlay
40f0a40edf
Merge pull request #3998 from MetaMask/i3988-checksummed-address
Show checksum addresses on UI
2018-04-18 11:43:38 -07:00
Thomas
30df8b7995 newUnsignedMessage and newUnsignedPersonalMessage 2018-04-18 11:26:49 -07:00
bitpshr
cce123c30e Show checksummed addresses throughout the UI 2018-04-18 09:47:05 -04:00
Dan Finlay
6ee57dcad7
Merge branch 'master' into i3580-InternationalizeCurrency 2018-04-17 13:36:21 -07:00
bitpshr
b4912f29cd Disable token price polling when no client is active 2018-04-16 18:12:05 -04:00
bitpshr
d0447f9058 Maintain token prices using a background service 2018-04-16 11:47:06 -04:00
frankiebee
88f4212363 meta - transactions - code clean up and jsDoc 2018-04-13 12:38:07 -07:00
bitpshr
8974f933fc Add tests for ComposableObservableStore 2018-04-13 14:32:58 -04:00
bitpshr
4780f825b1 Add ComposableObservableStore for subscription management 2018-04-13 10:20:44 -04:00
Thomas
f82c51c2c4 Merge branch 'master' into testing 2018-04-11 08:35:31 -07:00
Thomas
30474ccd35 MM-controlller tests 2018-04-11 08:34:35 -07:00
frankiebee
2d7c3c2b00 meta - transactions - create a transactions dir in controller and move relevant files into it 2018-04-10 14:28:05 -07:00
Dan
285265ce8a Add basic currency localization test. 2018-04-09 21:31:27 -02:30
Dan
4e6c0574dd Fix integration tests so that they check for localize currency. 2018-04-09 19:22:07 -02:30
Dan
2c4426e4de Merge branch 'master' into i3580-InternationalizeCurrency 2018-04-09 16:52:26 -02:30
kumavis
4cae3d3b0d
Merge pull request #3921 from MetaMask/gh-3736-react-router
Add react-router integration
2018-04-09 10:55:46 -07:00
Alexander Tseung
1e6f062bb6 Fix integration tests 2018-04-06 11:25:05 -07:00
Alexander Tseung
4c15c0d3ba Merge branch 'master' of https://github.com/MetaMask/metamask-extension into cb-254 2018-04-05 23:17:22 -07:00
frankiebee
d4e30040a2 migrations - back fixes 2018-04-05 19:33:10 -07:00
frankiebee
7d243aacf9 create migration 25 2018-04-05 18:05:03 -07:00
frankiebee
1ba74c1566 test - run live migrations over first time state 2018-04-05 17:49:50 -07:00
frankiebee
b9243cd8b9 meta - create a migration template 2018-04-05 16:25:13 -07:00
kumavis
741c6097a2
Merge pull request #3887 from MetaMask/i#3886
transactions - remove unnecessary keys on txParams
2018-04-05 15:06:29 -07:00
frankiebee
c02da0f27c transactions - _normalizeTxParams will now return a new object for txParams 2018-04-05 12:12:02 -07:00
frankiebee
4efc718074 make migration-24 compat with first-time-state 2018-04-05 11:28:25 -07:00
Alexander Tseung
82af778e62 Revert "commit"
This reverts commit fa8500e09a.
2018-04-05 10:11:09 -07:00
Alexander Tseung
fa8500e09a commit 2018-04-05 09:53:24 -07:00
frankiebee
343f0e9e80 transactions - remove unnecessary keys on txParams 2018-04-04 22:29:43 -07:00
Alexander Tseung
254cf975a6 Fix confirm-sig-requests integration test 2018-04-04 18:46:22 -07:00
Alexander Tseung
5b2ace3b80 Merge branch 'master' of https://github.com/MetaMask/metamask-extension into cb-254 2018-04-04 18:21:35 -07:00
Alexander Tseung
037d6e6624 Fix integration tests 2018-04-04 18:21:30 -07:00
frankiebee
245c01bc0f transactions - make #_validateTxParams not async and "linting" wink wink nudge nudge 2018-04-04 14:57:27 -07:00
frankiebee
8243824c6a hot-fix - migrate unaproved txParams so that the from is lowercase 2018-04-04 14:27:28 -07:00
frankiebee
457a47bf62 transactions - normalize txParams 2018-04-04 14:27:20 -07:00
Thomas
7aa54916d8 Update Sinon methods. sinon.sandbox.create() -> sandbox.createSandbox() 2018-04-04 14:26:18 -07:00
kumavis
ca780075a8
Merge pull request #3834 from MetaMask/3734
Address Add Token design feedback
2018-04-03 17:00:12 -07:00
Dan Finlay
c75918493d Fix and improve test 2018-04-03 14:03:56 -07:00
Dan Finlay
74049c19fc Internationalize currency
Fixes #3580
2018-04-03 13:58:26 -07:00
David Yoo
3d2b32167b Fix tests 2018-04-02 17:21:30 -07:00
Frankie
c14ec41917
Merge pull request #3831 from MetaMask/i#3770
some more transaction validation bug fixes
2018-04-02 16:18:35 -07:00
kumavis
d5a88cdc00 ci:screens - turn on repeat in walkthrough gif 2018-04-02 15:51:00 -07:00
frankiebee
b58ca99b61 tests - fix txController tests so that txMetas have a from feild 2018-04-02 15:44:03 -07:00
kumavis
98e0fc1ab9 Merge branch 'master' of github.com:MetaMask/metamask-extension into ci-screens 2018-04-02 14:13:45 -07:00
frankiebee
e8a480aac4 transactions validationt - valdate from field on txParams 2018-04-02 13:17:54 -07:00
Thomas
68808c8e24 Merge branch 'testing' of https://github.com/tmashuang/metamask-extension into testing 2018-04-02 10:04:53 -07:00
kumavis
d699c9b8b4
Merge pull request #3801 from danjm/i3684-txlistitemstest
Adds integration tests for different tx list items
2018-03-30 21:36:45 -07:00
kumavis
8db097d8d9 ci - screens - increase delay before setting provider type 2018-03-30 18:14:26 -07:00
kumavis
69ff600c74 ci - screens - add delay after setting network 2018-03-30 17:36:43 -07:00
kumavis
a3f7cd1cfc development - ci-screens - remove mocha wrapper that was losing exit code 2018-03-30 15:03:49 -07:00
kumavis
7a406d51c3 development - screens - fix screenshot on failure 2018-03-30 14:48:41 -07:00
kumavis
d05a2ca968 development - screens - screenshot on failure 2018-03-30 14:39:43 -07:00
kumavis
7dde948c45 Merge branch 'master' of github.com:MetaMask/metamask-extension into ci-screens 2018-03-30 13:57:50 -07:00
kumavis
32bb09bcb9 test - e2e - set network to localhost 2018-03-30 13:52:42 -07:00
kumavis
b014133fdc development - screens - use localhost for network 2018-03-30 11:16:08 -07:00
kumavis
0d27d27efa development - screenshotter - capture en locale and build gif from only en 2018-03-30 00:59:16 -07:00
kumavis
fcdfd48057 development - screenshotter - capture screens across all locales 2018-03-30 00:48:37 -07:00