aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove logDan Finlay2016-09-111-1/+0
|
* Add more bip44 assertionsDan Finlay2016-09-111-1/+9
|
* Made bip44 assertions easier to add toDan Finlay2016-09-111-27/+36
|
* Clean up testsDan Finlay2016-09-111-18/+17
|
* Correctly clear ethStore cache on new vault restoreDan Finlay2016-09-111-6/+22
|
* Captured #640 in failing testDan Finlay2016-09-111-1/+12
|
* Add new eth-lightwallet salting to vault.Dan Finlay2016-09-101-1/+3
| | | | | | | | | | eth-lightwallet was previously not salting vault passwords, potentially making it easier to crack them once obtained. This branch incorporates the API changes to allow us to take advantage of the new salting logic. This is still throwing deprecation warnings, but that's actually a bug in eth-lightwallet I wrote, [I've submitted a PR for that here](https://github.com/ConsenSys/eth-lightwallet/pull/116). Fixes #555
* Add negative value validation to tx approvalDan Finlay2016-09-071-0/+97
|
* Add test for Edge compatibilityDan Finlay2016-08-301-0/+29
|
* Naming issue.Kevin Serrano2016-08-251-1/+1
|
* Implement usage of nock.Kevin Serrano2016-08-251-2/+11
|
* Now calls API functions with mock options.Kevin Serrano2016-08-251-3/+5
|
* Merge branch 'master' into i390-TransactionLimitDan Finlay2016-08-231-1/+6
|\
| * Add testFrankie2016-08-201-1/+6
| |
* | Added `view more` button to transaction listDan Finlay2016-08-191-0/+12
| | | | | | | | Visible at the end of the transaction list, or if no transactions are listed, displayed right after the `No Transactions` message.
* | Enforce tx history limitDan Finlay2016-08-191-0/+11
|/
* Added compliance for tests and properly accounts for N/A conversions.Kevin Serrano2016-08-171-7/+6
|
* Remove extra test.Kevin Serrano2016-08-171-4/+0
|
* Merge branch 'master' into usd-conversionKevin Serrano2016-08-051-3/+12
|\
| * Fix extension testsDan Finlay2016-07-261-3/+12
| |
| * Fix promise usage?Dan Finlay2016-07-231-1/+3
| |
| * Skip PhantomJS in testemDan Finlay2016-07-232-2/+0
| |
| * Add promise polyfill for PhantomJSDan Finlay2016-07-232-0/+2
| |
| * Fix testem runner pageDan Finlay2016-07-232-3/+1
| |
| * Separate UI tests from normal unit test suiteDan Finlay2016-07-231-1/+3
| |
| * Add UI Testing Framework and Simple UI TestDan Finlay2016-07-234-0/+52
| | | | | | | | | | | | | | | | | | | | Added a Testem configuration that launches a Qunit page with an iFrame that builds and loads our mock-dev page and can interact with it and run tests on it. Wrote a simple test that accepts the terms and conditions and transitions to the next page. I am not doing any fancy redux-hooks for the async waiting, I've simply added a `tests/integration/helpers.js` file with a `wait()` function that returns a promise that should wait long enough. Long term we should hook into the app lifecycle by some means for testing, so we only wait the right amount of time, and wait long enough for slower processes to complete, but this may work for the time being, just enough to run some basic automated browser tests.
* | Merge branch 'master' into usd-conversionKevin Serrano2016-07-264-0/+54
|\ \
| * | Ui testing (#481)Dan Finlay2016-07-264-0/+54
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add UI Testing Framework and Simple UI Test Added a Testem configuration that launches a Qunit page with an iFrame that builds and loads our mock-dev page and can interact with it and run tests on it. Wrote a simple test that accepts the terms and conditions and transitions to the next page. I am not doing any fancy redux-hooks for the async waiting, I've simply added a `tests/integration/helpers.js` file with a `wait()` function that returns a promise that should wait long enough. Long term we should hook into the app lifecycle by some means for testing, so we only wait the right amount of time, and wait long enough for slower processes to complete, but this may work for the time being, just enough to run some basic automated browser tests. * Separate UI tests from normal unit test suite * Add UI tests to CI test script * Add testem and phantom to circleCI pre-script * Fix circle pre script * Move pre scripts to dependencies key * Remove phantom from build deps * Fix testem runner page * Add promise polyfill for PhantomJS * Skip PhantomJS in testem * Run browser tests in parallel * Fix promise usage? * Correct skip usage
* | Change function names. Add interval polling for api. Refactor functions.Kevin Serrano2016-07-221-3/+3
| |
* | Merge branch 'master' into usd-conversionKevin Serrano2016-07-221-0/+39
|\|
| * Implement some cross-browser practices (#473)Dan Finlay2016-07-221-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | * Add mozilla plugin key to manifest * Move all chrome references into platform-checking module Addresses #453 * Add chrome global back to linter blacklist * Add tests
* | Progress on config manager. Plus tests.Kevin Serrano2016-07-211-1/+81
|/
* Remove unused functions. Readd if necessary.Kevin Serrano2016-07-121-19/+0
|
* Refactor util tests.Kevin Serrano2016-07-121-11/+8
|
* Add nickname rendering for recipient addressDan Finlay2016-07-081-0/+44
|
* Merge branch 'master' into ConfirmationStyleDan Finlay2016-07-081-4/+17
|\
| * Revert back to original formatBalanceFrankie2016-07-081-5/+17
| |
* | Merged latest balance formatting codeDan Finlay2016-07-071-17/+4
|\|
| * Add decimal hendeling to ETH balanceFrankie2016-07-071-17/+5
| |
* | Began reworking tx conf viewDan Finlay2016-07-071-0/+6
| |
* | Simplify empty account balance renderingDan Finlay2016-07-061-1/+1
|/
* Remove useless and buggy clearWallet functionDan Finlay2016-07-011-11/+0
|
* Replicated really strange bug with testDan Finlay2016-07-011-1/+16
|
* Fixed testsDan Finlay2016-06-253-2/+66
|
* stop pedantic lintingkumavis2016-06-241-1/+1
|
* icon-factory - overhaul to provide svg or imagified elkumavis2016-06-241-31/+0
|
* Fix eth sign with dennis' test inputDan Finlay2016-06-221-11/+13
|
* Add linting to our mocha suiteDan Finlay2016-06-221-0/+9
|
* added a failing case and fixed it by refactoring everything to stringsZac Mitton2016-06-211-1/+15
|
* Merge branch 'master' into SignFullDataNotHashDan Finlay2016-06-171-1/+31
|\
| * Add confirmation persisting to localStorageDan Finlay2016-06-171-1/+31
| |
* | Fixed signing of hashesDan Finlay2016-06-171-4/+6
| | | | | | | | | | | | Signing now always takes a 64 digit hex string, and returns a message signature which appropriately pads r, s, and v with zeroes. Need to verify with Denis that this is the behavior he requires.
* | Began adding signMsg unit testDan Finlay2016-06-161-0/+31
|/
* Cache identiconsDan Finlay2016-06-071-0/+31
| | | | | | | | Fixes #197 Also as a side effect, by creating this `iconFactory.cache` object, we have a convenient place for specifying stock icons for known contracts! We can just hard-code image addresses in the `ui/lib/icon-factory.js` cache instantiation, and those values will be injected into the identicon image tag `src` attributes.
* Fix hashed address validationDan Finlay2016-06-031-3/+3
|
* Add test case for sample hashed addressDan Finlay2016-06-021-0/+7
|
* Merge pull request #222 from MetaMask/balanceskumavis2016-05-261-5/+30
|\ | | | | Fixes #206
| * correctly displaying small balances with testsZac Mitton2016-05-261-5/+30
| |
* | Fix persistent warning bugDan Finlay2016-05-261-0/+51
|/
* Added ability to nickname wallets locallyDan Finlay2016-05-212-0/+57
| | | | The changes are persisted to localstorage, so they cannot be restored on a new computer, but for right now it's a nice organizational feature.
* Add full precision to send tx value field.Dan Finlay2016-05-201-0/+14
|
* Increase send value precisionDan Finlay2016-05-201-0/+8
|
* Add address capitalization checksummingDan Finlay2016-05-201-0/+46
|
* Streamlined some transition logicDan Finlay2016-05-132-1/+28
| | | | | | | | Fixes #122 Had used multiple actions for some transitions, which would lead to brief intermediary states. Now making a few actions much more explicit about what they route to, so there is less intermediary logic, and we can transition confidently to the correct view.
* Move all users to new scalable backendDan Finlay2016-05-121-0/+5
|
* Fix testDan Finlay2016-05-111-1/+2
|
* Remove test only statementDan Finlay2016-05-111-1/+1
|
* Fix outdated transitionsDan Finlay2016-04-301-23/+23
| | | | | | | | Fixes #151 - Cancelling or completing a tx now goes back to account detail view. - Restoring a vault now does not select an unloaded account, shows account list. - Account list now never selects an item only uses the cells as buttons.
* Fix testDan Finlay2016-04-281-4/+8
|
* Fix explorer link generationDan Finlay2016-04-281-0/+11
|
* Make account detail view the primary viewDan Finlay2016-04-261-1/+1
| | | | | | | | - When unlocking, the first account is now selected by default and displayed as the main view. - There is now a "CHANGE ACCT" button on the detail view to show the accounts list. - Clicking an account from the accounts list now navigates to the detail view and selects that account. - Config/Info screen "back" buttons now fire a new action, `GO_HOME`, which is configured to navigate to the accountDetail view, putting that logic in one place. - When locking and unlocking again, the first account is always displayed, eventually we should persist the selection.
* Add migration to actual migration array, fix testDan Finlay2016-04-231-3/+8
|
* Deprecate rawtestrpc.metamask.ioDan Finlay2016-04-231-3/+11
| | | | This migration will move users who have their clients configured to point at `rawtestrpc.metamask.io` to point at our new test-net RPC, `testrpc.metamask.io`.
* Store metamaskId on metaTx instead of getTxWithParams method.Dan Finlay2016-04-211-26/+0
|
* Fix floating point input bugDan Finlay2016-04-201-27/+41
| | | | | | When sending a transaction, we were converting to BN before handling decimals, which meant we were losing any precision past a decimal point, since BN does not handle decimals! Put this numeric normalization into a utility function with a test around it and got it working.
* Add extra tx methods to configManagerDan Finlay2016-04-201-0/+36
|
* Persist transactions to config-managerDan Finlay2016-04-191-0/+79
| | | | | | | | Transactions are now stored, and are never deleted, they only have their status updated. We can add deleting later if we'd like. I've hacked on emitting the new unconfirmedTx key to the UI in the format it received before, I want Aaron's opinion on where I should actually do that.
* Unify test suitesDan Finlay2016-04-198-1/+454
|
* Fix plugin testsDan Finlay2016-04-192-5/+11
|
* Migrate etherscan providers to our RPCDan Finlay2016-04-132-0/+15
|
* Made configuration migrateableDan Finlay2016-03-312-4/+73
| | | | | | | | | | | | | | Abstract all configuration data into a singleton called `configManager`, who is responsible for reading and writing to the persisted storage (localStorage, in our case). Uses my new module [pojo-migrator](https://www.npmjs.com/package/pojo-migrator), and wraps it with the `ConfigManager` class, which we can hang any state setting or getting methods we need. By keeping all the persisted state in one place, we can stabilize its outward-facing API, making the interactions increasingly atomic, which will allow us to add features that require restructuring the persisted data in the long term without having to rewrite UI or even `background.js` code. All the restructuring and data-type management is kept in one neat little place. This should make it very easy to add new configuration options like user-configured providers, per-domain vaults, and more! I know this doesn't seem like a big user-facing feature, but we have a big laundry list of features that I think this will really help streamline.
* Correct the bip44 test accountDan Finlay2016-03-261-5/+5
|
* Implemented BIP44 compliance test.Dan Finlay2016-03-262-4/+37
| | | | Also added the hdPath that Christian had told me to our calls to the LightWallet, but this does not seem to have made us generate the same accounts as `testrpc` yet.
* Convert to bip44 hdTreesDan Finlay2016-03-261-8/+49
| | | | | | Added initial test just to verify we can recover the accounts we generate in this way. Still need to add compliance test to make sure this interoperates with testrpc's new mnemonic flag.
* Added basic es6 mocha test suiteDan Finlay2016-03-253-40/+11
|
* init commitkumavis2015-08-012-0/+40