Bruno Barbieri
3112d5b5c0
no globals
2019-01-02 17:17:44 -05:00
Bruno Barbieri
d504c075d5
Use sudo consistently
2019-01-02 16:29:33 -05:00
Bruno Barbieri
3a75571da2
--unsafe-perm ?
2019-01-02 16:18:24 -05:00
Bruno Barbieri
58b0a4c8f4
Dont use sudo to install truffle
2018-12-31 16:16:34 -05:00
Dan Miller
1145a0a9ad
Ensures that advanced tab gas limit reflects tx gas limit
2018-12-12 12:00:57 -03:30
Dan J Miller
1fbdce8916
Improve ux for low gas price set ( #5862 )
...
* Show user warning if they set gas price below safelow minimum, error if 0.
* Properly cache basic price estimate data.
* Default retry price to recommended price if original price was 0x0
* Use mock fetch in send-new-ui integration tests.
2018-12-10 13:51:00 -08:00
Dan Miller
7f2c5c09de
Uses more reliable api on main send screen; caches basic api results in modal
2018-12-04 00:06:22 -03:30
Dan Miller
a8259f7f6a
Update e2e tests for new gas customization modal.
2018-12-04 00:06:22 -03:30
Whymarrh Whitby
34da38817a
Update e2e tests to handle any post-install window creation
2018-11-27 09:52:51 -03:30
Whymarrh Whitby
ec4c93c59f
Add JSDoc to closeAllWindowHandlesExcept e2e helper fn
2018-11-27 09:52:51 -03:30
Bruno Barbieri
ae8626eceb
Merge pull request #5797 from MetaMask/trezor-v6
...
Add Firefox and Brave support for Trezor
2018-11-21 14:45:55 -05:00
brunobar79
9b1df386de
fix merge conflicts
2018-11-20 17:44:28 -05:00
Whymarrh Whitby
2902fa948f
Add timeout to waitUntilXWindowHandles e2e helper fn
2018-11-20 14:04:50 -03:30
Whymarrh Whitby
921125b7fd
Update new UI e2e tests for new UI default
2018-11-20 14:04:50 -03:30
Alexander Tseung
4c87c05a02
Fix rounding issue when sending max tokens ( #5695 )
...
* Fix rounding issue when sending max tokens
* Ensure amount row shows exact amount of max tokens on send screen (#2 )
* Fix tests
* Change stored redux value from BigNumber to hex string. Fix TokenInput default value
2018-11-19 16:06:34 -08:00
brunobar79
c0557b43e2
clean up
2018-11-15 00:34:49 -05:00
brunobar79
938f4286e4
remove error flags from drizzle setup
2018-11-14 17:41:49 -05:00
brunobar79
4dbc0926c6
test
2018-11-14 17:33:10 -05:00
brunobar79
517f6e656a
test
2018-11-14 17:10:20 -05:00
brunobar79
59b089b5bb
test
2018-11-14 17:01:39 -05:00
brunobar79
b54ed05306
try with custom box
2018-11-14 16:35:01 -05:00
brunobar79
484aa6801e
Merge branch 'develop' into trezor-v5
2018-11-13 17:21:15 -05:00
PaddyMc
7ce2cf4572
Fixes #3425 : Better support for batch transactions ( #5437 )
2018-11-13 13:49:12 -03:30
Thomas Huang
782c2c14d4
Merge pull request #5674 from MetaMask/responsive-e2e-tests
...
e2e tests for responsive behaviour
2018-11-09 11:01:38 -08:00
Dan Miller
fd1647965f
Moves e2e tests for extension only behaviour to metamask-beta-responsive-ui.spec
2018-11-08 07:59:32 -03:30
brunobar79
c651212025
fix merge conflicts
2018-11-06 20:21:19 -05:00
brunobar79
62ac993b9a
fix typo
2018-11-06 19:22:47 -05:00
brunobar79
6daf749251
update drizzle tests
2018-11-06 19:08:23 -05:00
Whymarrh Whitby
26ada8a828
Update Connect Request screen design ( #5644 )
...
* Parameterize NetworkDisplay background colour
* Update design for login request screen
* Pass siteTitle, siteImage through for calls to ethereum.enable()
* Bring the site images closer together
2018-11-05 15:07:09 -08:00
bitpshr
c6e9caed22
Fix beta e2e tests
2018-11-05 15:07:09 -08:00
bitpshr
473afa68a1
Cleanup after rebase
2018-11-05 15:07:09 -08:00
bitpshr
226601a956
EIP-1102: add user privacy option
2018-11-05 15:07:09 -08:00
bitpshr
c76c9ca2c8
EIP-1102: updated implementation
2018-11-05 15:07:09 -08:00
kumavis
802df4625f
Merge pull request #5570 from alextsg/i5558-account-display-width
...
Fix account display width for large currency values
2018-10-21 10:45:55 -04:00
Alexander Tseung
614995c0e9
Fix account display width for large currency values
2018-10-21 22:01:20 +08:00
brunobar79
baa3af46f3
install truffle globally
2018-10-21 05:35:37 -04:00
brunobar79
9c1b2108f6
fix merge conflicts
2018-10-21 01:59:53 -04:00
Whymarrh Whitby
42fa54678f
Extract Add Token button into its own component
2018-10-17 15:49:29 -02:30
Alexander Tseung
badebe017f
Adds toggle for primary currency ( #5421 )
...
* Add UnitInput component
* Add CurrencyInput component
* Add UserPreferencedCurrencyInput component
* Add UserPreferencedCurrencyDisplay component
* Add updatePreferences action
* Add styles for CurrencyInput, CurrencyDisplay, and UnitInput
* Update SettingsTab page with Primary Currency toggle
* Refactor currency displays and inputs to use UserPreferenced displays and inputs
* Add TokenInput component
* Add UserPreferencedTokenInput component
* Use TokenInput in the send screen
* Fix unit tests
* Fix e2e and integration tests
* Remove send/CurrencyDisplay component
* Replace diamond unicode character with Eth logo. Fix typos
2018-10-17 07:03:29 +08:00
brunobar79
13820b6cc1
fix conflicts
2018-10-16 14:01:54 -04:00
Bruno Barbieri
ccab4ee1a4
tests - integration - Add Drizzle tests ( #5467 )
...
* added drizzle app for testing
* working
* clean up
* clean up script
* make build step required
* add drizzle-tests to .eslintignore
* clean up drizzle run script
* lint
* use truffle unbox
* undo eslintignore changes
* revert change
* dont use global
* dont need this steps
* use the new account flow
* restore package-lock.json
2018-10-10 01:12:43 -04:00
Santiago Gonzalez Toral
f88373237b
Added account options on home screen
2018-10-09 19:43:41 -07:00
Whymarrh Whitby
08b3f41ecd
Fix error message shown in assertElementNotPresent e2e helper fn
2018-10-01 12:28:24 -02:30
Whymarrh Whitby
b7946928fd
Don't log errors extraneously in e2e tests
2018-10-01 12:28:00 -02:30
Whymarrh Whitby
9f2d074f9e
Update e2e tests for adding mutliple custom RPC endpoints
...
Refs 56965b3
Refs #5267
The list of custom RPC endpoints is no longer limited to 3 entries
so the test is now to confirm that they _all_ show up.
2018-10-01 12:24:32 -02:30
Whymarrh Whitby
5beab87bf6
Switch string concatenation to template string
2018-10-01 12:23:53 -02:30
Paul Bouchon
88b5f82e13
Bugfix: Upgrade json-rpc-engine ( #5348 )
...
* Bugfix: bump version of json-rpc-engine
* Increase delay
* Update lockfile
* deps - json-rpc-engine@3.7.4
2018-09-25 21:16:01 -07:00
Alexander Tseung
b579ee9619
Refactor settings page to use JSX and follow component file folder structure
2018-09-19 16:37:23 -07:00
Alexander Tseung
c18c0e1c30
Fix tests. Add className to Identicon ethLogos.
2018-09-12 19:48:52 -07:00
brunobar79
8ee01f4e99
Merge branch 'develop' of github.com:MetaMask/metamask-extension into trezor-v5
2018-09-05 16:26:09 -04:00
Alexander Tseung
c0e97d1739
Fix tests
2018-08-23 19:19:48 -07:00
Alexander Tseung
2d76ee754b
Reduce large timeouts
2018-08-23 16:45:28 -07:00
Alexander Tseung
bdfd54ec54
Increase e2e timeouts for firefox
2018-08-23 16:45:28 -07:00
Alexander Tseung
eb17151ff4
Change "Outgoing" to "Sent Ether" or "Sent Token"
2018-08-23 16:45:28 -07:00
Alexander Tseung
c06a0be486
Fix Firefox e2e tests
2018-08-23 16:45:28 -07:00
Alexander Tseung
6670bc0e09
Fix e2e tests
2018-08-23 16:45:27 -07:00
Alexander Tseung
5dcd8ceb7b
Fix e2e tests
2018-08-23 16:45:27 -07:00
Alexander Tseung
c9ec5ed38d
Fix e2e tests
2018-08-23 16:45:27 -07:00
Alexander Tseung
13c4ecd610
Fix tests
2018-08-23 16:45:27 -07:00
Evgeniy Filatov
b23cca1469
implemented improvements to RPC history
2018-08-23 01:18:13 +03:00
Alexander Tseung
01c0c98501
Add tabs support for PageContainer
2018-08-22 14:12:01 -07:00
brunobar79
90886c5e05
Merge branch 'develop' of github.com:MetaMask/metamask-extension into trezor-v5
2018-08-21 15:58:29 -04:00
Dan Miller
9bd0ce46e8
Remove unnecessary checks and user actions in metamask-beta-ui.spec
2018-08-21 14:45:27 -02:30
Dan Miller
1718b83d20
Run ganache with a blocktime flag for npm:run:ganache:start.
2018-08-21 13:47:42 -02:30
brunobar79
ab7eb73ecc
fix merge conflicts
2018-08-20 21:51:35 -04:00
brunobar79
992e7f1b5a
fix merge conflicts
2018-08-17 12:56:07 -04:00
brunobar79
b369560569
fix e2e tests
2018-08-16 20:59:11 -04:00
brunobar79
42834fe8be
fix e2e tests
2018-08-10 13:11:49 -04:00
brunobar79
286bde606f
fix merge conflicts
2018-08-08 14:30:49 -04: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
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
30d92b8d3f
Fix e2e tests to accomodate new ui suggestion screen changes.
2018-07-28 11:59:51 -02:30
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
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
Alexander Tseung
e16f5ab54d
Fix tests
2018-07-17 13:38:15 -07: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
f81676fda1
Update e2e beta tests to cover confirm refactor changes.
2018-07-11 08:35:06 -02:30
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
Dan
f262f0ea64
Update import from seed screen on new ui.
2018-07-04 21:21:12 -02:30
brunobar79
53f1072ff4
fix contract-test
2018-07-02 22:20:51 -04:00
brunobar79
cb71896a8f
fix warnings for e2e tests
2018-07-02 19:51:27 -04:00
brunobar79
a8f745f9fe
eslint --fix .
2018-07-02 18:49:33 -04: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
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
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
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
Whymarrh Whitby
c56ed16891
Fix e2e test Chrome profile paths
2018-06-12 14:11:20 -02:30
Dan
a09d609360
Bump beta e2e timeouts on faucet page.
2018-06-06 22:15:38 -02:30
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
Whymarrh Whitby
60c06a6440
Adjust delays in new beta e2e tests
2018-06-01 13:31:21 -07:00
Thomas
be6776897f
Delay before getting address text
2018-05-29 23:07:45 -07:00
Thomas
f90ad6191c
Add account
2018-05-29 18:20:54 -07:00
Whymarrh Whitby
715624227a
Add basic e2e tests for the new UI
2018-05-24 23:23:42 -02:30
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
kumavis
9c6e2ec8ef
test - e2e - check for console errors after each test
2018-05-21 16:26:38 -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
Thomas
cd42d18203
Merge e2e tests into one
2018-05-14 17:17:36 -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
Thomas
f7a3d8887c
Update to extension Id path for new chrome
2018-05-08 07:03:17 -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
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
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
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
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
b49ad750dd
Merge branch 'master' of github.com:MetaMask/metamask-extension into ci-artifacts
2018-03-29 16:54:00 -07:00
kumavis
971204eb06
Merge branch 'master' into e2e-selector
2018-03-29 13:57:43 -07:00
kumavis
552fb1fabe
test - e2e - fix selector with extra div (?)
2018-03-29 13:54:01 -07:00
kumavis
2328b120da
test - e2e - generate artifacts on test failure
2018-03-29 13:49:54 -07:00
Thomas
53172f1b55
Better delays and fix logout css selector
2018-03-29 12:06:23 -07:00
kumavis
830b232cb9
test - e2e - prefer css selectors over xpath
2018-03-29 11:59:13 -07:00
kumavis
5834c13769
ui - change window title 'MetaMask Plugin' to 'MetaMask'
2018-03-28 13:37:02 -07:00
Thomas
a62fe4f7ea
Update selenium tests
2018-03-09 23:57:44 -08:00
Thomas
0db4ba1086
chromedriver, changed extension id(might need zip/crx file)
2018-01-18 08:10:53 -08:00
tmashuang
a79b4db06a
E2E testing with selenium
2017-09-12 14:14:24 -07:00