aboutsummaryrefslogtreecommitdiffstats
path: root/test/integration/lib
Commit message (Collapse)AuthorAgeFilesLines
* Version Bump (#5909)v5.2.0Thomas Huang2018-12-123-55/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adds new gas customization modal container (without content) * Adds the content of the advanced tab - w/o chart or dynamic content - to gas customize modal. * Use correct message key in gas-modal-page-container.component.js * Use BEM for css in gas-modal-page-container * Split advanced-tab-content.component.js render() method into smaller pieces; add translations to the same file. * Remove gas slider from advance-tab-content.component * Add tests for advanced-tab-component.js and subcomponents. * Improve styling of advanced-tab-content gasInput row * Adds basic tab content to gas customizer, with styled button group (static, for now). * Connect the gas-button-group component to redux and a live api. * Improvements to propdefaults in button-group.component and basic-tab-content.component * Styling fixes for gas customization advanced tab content. * Adds gas-duck.test.js tests. * Connects remained of the gas customization component to redux. * Integrate gas buttons with the send screen. * Test updates and additions for button integration with send screen. * Adds redesign for the customize gas advanced tab. * Adds not yet functional gas price chart. * Gas price chart improvements, redesign, bug fixes, and set up to receive external data * Read only connection of gas price chart to redux * Clean up for advanced gas tab customization changes. * Complete integration of gas chart with redux. * Add control arrows to advanced gas tab inputs. * Lint and unit test fixes. * Clean up gas chart code. * Update tests, plus some lint fixes, for gas-price-chart * Improve data management and tests for gas-modal-page-container price estimates. * Clean up for mmui-i11-custom-gas-price-chart branch * Redesign of gas customization basic tab. * Adds createSpeedUpTransaction to txController * Connect gas price chart to gas station api. * Adds speed up slide-in gas customization sidebar * Update e2e tests for new gas customization modal. * Fixes for components that break e2e gas customization tests, plus unit test updates. * Remove gas customization integration tests (in favour of e2e tests) * Add gas data to integration test json data set. * Add c3 and d3 to the separate dependencies bundle. * Make gas customization modal responsive. * Fix "fastest" translation message; change to sentence case * Uses more reliable api on main send screen; caches basic api results in modal * Add loading spinners when waiting for APIs in the gas customization modal * Modify results of API data to better fit gas chart: remove outliers, pad data * Clear custom gas data on hiding of gas customization modal. * Improve responsiveness of customize speed up slider. * Final gas customization fixes * Fix styling of send screen in extension view when hex data on. * Replace height: 100% rule with workaround for flexbox quirks * Fill in more Polish message translations * Update lockfile to fix errors npm has informed me that the lockfile has "errors": npm ERR! code ELOCKVERIFY npm ERR! Errors were found in your package-lock.json, run npm install to fix them. npm ERR! Missing: c3@^0.6.7 npm ERR! Invalid: lock file's d3@3.5.17 does not satisfy d3@^5.7.0 * circleci: Disable npm audit when installing packages Auditing packages when installing here doesn't help anyone as the summary isn't visible and vulnerabilities don't produce a non-zero exit code. We will have `npm audit` as an extra CI job. * npm audit fix * circleci: Replace nsp with npm audit Refs #4751 * Remove beefy dependency and its usages Refs #4768 Refs #5389 This changeset removes the beefy package that: 1. Was last published 2 yrs ago 2. Brought with it 1 moderate and 1 critical vulnerability 3. Was only used in scripts that no longer work * npm uninstall open * Update ganache-core to mitigate vuln === npm audit security report === > # Run npm install --save-dev ganache-core@2.3.1 to resolve 1 vulnerability ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Memory Exposure │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ bl │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ ganache-core [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ ganache-core > level-sublevel > levelup > bl │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://nodesecurity.io/advisories/596 │ └───────────────┴──────────────────────────────────────────────────────────────┘ * Deduplicate package.json file From `npm install`: > npm WARN The package css-loader is included as both a dev and production dependency. > npm WARN The package eslint-plugin-react is included as both a dev and production dependency. > npm WARN The package file-loader is included as both a dev and production dependency. > npm WARN The package gulp is included as both a dev and production dependency. It's also worth noting that the Gulp version we were using was inconsistent and there is a published v4 release on GitHub. * Fix race condition in network controller lookup() method. * Group transactions by nonce (#5886) * fix formatting of 32-byte strings in personal_sign (#5878) * Bump json-rpc-engine to v4.0.0 * Bump package lock, mostly to https links * 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. * Show Failed transaction in the browser notification for on-chain failures (#5904) * Changelog and version bump for 5.2.0
* Remove first-time and navigate-txs integration testsWhymarrh Whitby2018-11-213-337/+0
|
* Fixes #3425: Better support for batch transactions (#5437)PaddyMc2018-11-141-0/+87
|
* Increase timeout in Mascara testbitpshr2018-11-061-1/+1
|
* Fix account display width for large currency valuesAlexander Tseung2018-10-212-4/+4
|
* Delete add-token integration testWhymarrh Whitby2018-10-181-140/+0
|
* Adds toggle for primary currency (#5421)Alexander Tseung2018-10-171-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Make all addresses EIP-55 compliant (#5379)bakaoh2018-10-101-1/+1
| | | | | | * Make all addresses EIP-55 compliant * Checksum autocompleted address but not during input
* Reverse pending transactions orderAlexander Tseung2018-10-051-2/+2
|
* Fix integration testsAlexander Tseung2018-09-201-1/+1
|
* Fix tests. Add className to Identicon ethLogos.Alexander Tseung2018-09-132-4/+6
|
* Revert changes to tx-list-items.json, and to mock getTransactionCount method ↵Dan Miller2018-08-281-1/+1
| | | | in tx-list-items integration test.
* Fix testsAlexander Tseung2018-08-244-9/+9
|
* Fix integration testsAlexander Tseung2018-08-241-1/+1
|
* Fix integration testsAlexander Tseung2018-08-241-1/+1
|
* Fix integration testsAlexander Tseung2018-08-245-21/+18
|
* Add new variant for SenderToRecipient componentAlexander Tseung2018-08-231-2/+2
|
* Get nonce for showing retry button using ethQuery transaction count.Dan Miller2018-08-091-0/+5
|
* Fix integration tests to accomodate new ui suggestion screen changes.Dan Miller2018-07-281-0/+5
|
* Increase clickable area and padding of Retry Transaction barAlexander Tseung2018-07-171-2/+2
|
* Fix bug in test mock signature request methods.Dan2018-07-122-0/+3
|
* Fix send integration tests for compatability with confirm refactor.Dan2018-07-111-7/+7
|
* Fix signature request tests for compatability with confirm refactor.Dan2018-07-111-7/+5
|
* Merge pull request #4685 from MetaMask/estimate-gasprice-background-newuiDan J Miller2018-07-051-12/+1
|\ | | | | Use background gas price estimation method in new ui.
| * Update new-ui-send integration tests to always explicitly set gas price. ↵Dan2018-07-051-12/+1
| | | | | | | | (e2e tests handle auto-setting and defaults)
* | fix warnings for integration testsbrunobar792018-07-033-7/+1
| |
* | eslint --fix .brunobar792018-07-036-9/+9
|/
* Update integration tests for newui gas estimation fixes.Dan2018-06-191-2/+2
|
* Merge branch 'i3725-refactor-send-component-' into ↵Dan2018-06-013-14/+14
|\ | | | | | | i3914-fix-newui-send-gas-estimation
| * Merge branch 'i3725-refactor-send-component-' of ↵Dan2018-06-011-3/+3
| |\ | | | | | | | | | github.com:MetaMask/metamask-extension into i3725-refactor-send-component-
| | * Fix send amount field select in send-new-ui integration test.Dan2018-06-011-1/+1
| | |
| | * Fix send-new-ui gas fee display expectation.Dan2018-06-011-1/+1
| | |
| | * Fix currency display send integration tests.Dan2018-05-311-1/+1
| | |
| * | Add new alert modalsAlexander Tseung2018-06-013-11/+11
| |/
* / Fix test to account for greater precision currency display.Dan2018-05-311-1/+1
|/
* Fix testsAlexander Tseung2018-05-211-30/+41
|
* Add error message when passwords don't match in first time flow. Change ↵Alexander Tseung2018-05-141-15/+14
| | | | input field styling in first time flow
* Add new unlock screen designAlexander Tseung2018-05-122-5/+18
|
* Allow transactions with 0-gwei gas price (#4073)Paul Bouchon2018-04-271-26/+33
| | | | | | * Allow transactions with 0-gwei gas price * Add tests to verify tx with 0 gas fee * Conditionally use CurrencyInput in CurrencyDisplay
* Merge pull request #3998 from MetaMask/i3988-checksummed-addressDan Finlay2018-04-191-1/+1
|\ | | | | Show checksum addresses on UI
| * Show checksummed addresses throughout the UIbitpshr2018-04-181-1/+1
| |
* | Add basic currency localization test.Dan2018-04-101-0/+28
| |
* | Fix integration tests so that they check for localize currency.Dan2018-04-101-4/+4
|/
* Fix integration testsAlexander Tseung2018-04-072-15/+33
|
* Revert "commit"Alexander Tseung2018-04-062-15/+5
| | | | This reverts commit fa8500e09ad599837f6ad1b2dfc3530195a03b33.
* commitAlexander Tseung2018-04-062-5/+15
|
* Fix confirm-sig-requests integration testAlexander Tseung2018-04-051-3/+3
|
* Fix integration testsAlexander Tseung2018-04-051-0/+3
|
* Fix testsDavid Yoo2018-04-031-1/+1
|
* Adds integration tests for rendering of tx list items.Dan2018-03-301-0/+61
|
* Merge pull request #3680 from danjm/i3517-popup-newui-onboardingThomas Huang2018-03-271-3/+3
|\ | | | | Popup uses new ui onboarding when in beta.
| * Fix tests.Dan2018-03-271-3/+3
| |
* | Merge pull request #3710 from danjm/i3326-addtokenscreendesignupdateThomas Huang2018-03-271-7/+10
|\ \ | | | | | | Updates Add token screen to latest design.
| * \ Merge branch 'master' into i3326-addtokenscreendesignupdateDan2018-03-273-17/+20
| |\ \
| * | | Update add token integration tests.Dan2018-03-261-9/+11
| | |/ | |/|
* | | test - remove timeout causing mocha disconnect issueskumavis2018-03-271-1/+0
| |/ |/| | | | | | | | | Revert "test - flat - add extra timeout" This reverts commit 4c2cf15d2ad9cdfee4ce67b795877c7ab60231a7.
* | Merge pull request #3721 from alextsg/cb-944Dan Finlay2018-03-273-17/+17
|\ \ | | | | | | Update button styles
| * | Update button stylesAlexander Tseung2018-03-263-17/+17
| |/
* / Use ens-input component in send-v2 to allow sending to ens names.Dan2018-03-261-0/+2
|/
* test - flat - add extra timeout, idk maybekumavis2018-03-221-0/+1
|
* Update confirm transaction screenAlexander Tseung2018-03-211-3/+3
|
* Merge branch 'master' into retry-tx-refractorDan2018-03-201-2/+2
|\
| * Merge pull request #3594 from danjm/i3344-improve-currency-inputThomas Huang2018-03-201-1/+1
| |\ | | | | | | Currency input defaults to empty string
| | * Use customized react-trigger-change in send-new-ui integration tests..Dan2018-03-191-1/+1
| | |
| * | Fix styling on confirm-send-ether and confirm-send-token (#3600)Alexander Tseung2018-03-171-1/+1
| |/
* / Fix tests.Dan2018-03-141-4/+4
|/
* test - mascara - fix async wrapkumavis2018-03-121-1/+1
|
* test - use new async selectors for faster testingkumavis2018-03-122-89/+49
|
* test - add comment about test behavior odditykumavis2018-03-121-3/+1
|
* test - poll for element instead of manual timeoutskumavis2018-03-123-189/+91
|
* [NewUI] Adds the mascara first time flow to betaUI extension (#3257)Dan J Miller2018-02-161-2/+1
| | | | | | * Adds the mascara first time flow to the extension when opened in browser. * Fix tests after addition of mascara first time flow to new ui.
* Update modal header design on send screen (#3196)Alexander Tseung2018-02-071-12/+8
|
* Integration tests for signature requests confirmations. (#3194)Dan J Miller2018-02-071-0/+67
|
* Add functional integration testing to Add Token flow (#3189)Alexander Tseung2018-02-062-0/+160
|
* Functional Integration Tests for send ether flow. (#3119)Dan J Miller2018-01-301-0/+229
|
* Revert integration to oldUiThomas2018-01-231-18/+23
|
* Merge branch 'master' into NewUI-flat-merge-with-masterDan2017-12-071-35/+24
|
* Update classnames for integration tests and add output/index.css to ↵Dan2017-11-032-37/+24
| | | | integration test for ci
* Add Integration TestsChi Kei Chan2017-10-211-9/+50
|
* Fixing integraiton testChi Kei Chan2017-10-212-3/+130
|
* Revert "NetworkController refactor for new EthClient interface"kumavis2017-10-191-3/+0
|
* test - integration - intercept reload attemptskumavis2017-10-111-0/+3
|
* test - integration - bump timeoutkumavis2017-09-191-1/+1
|
* tests - mascara - increase timeout before test startskumavis2017-09-161-1/+1
|
* test - mascara - move skip reload test flagkumavis2017-09-161-1/+0
|
* tests - integration - mascara - small cleanup and timeout adjustmentskumavis2017-09-161-5/+3
|
* set time if platform is mascarafrankiebee2017-09-161-2/+4
|
* remove testem filesfrankiebee2017-09-161-1/+1
|
* dont reload on initial download and wait before passing sw to uifrankiebee2017-09-161-2/+2
|
* tests - integration - get flat and mascara tests closer to compatiblekumavis2017-09-141-9/+3
|
* tests - integration - fix bad cherry-pickkumavis2017-09-121-16/+7
|
* test - integration - drop testem for karmakumavis2017-09-121-15/+43
|
* test - integration - use async fn for error catchingkumavis2017-09-121-94/+87
|
* Fix integration test failures: ensure qr code is accessiblesdtsui2017-08-051-1/+7
|
* Modify wording to new accept.Kevin Serrano2017-06-101-1/+1
|
* continue button changed to agreeNihar2017-05-171-1/+1
|
* Remove eth-lightwalletDan Finlay2017-03-171-92/+0
|
* Fixed referenceDan Finlay2017-02-241-1/+1
|
* Fix references in testsDan Finlay2017-02-241-5/+5
|
* Integration tests play nice with new disabled buttons.Kevin Serrano2017-02-211-2/+6
|
* add waits between notices.Kevin Serrano2017-02-211-0/+13
|
* Merge branch 'mapachurro-patch-1' of github.com:mapachurro/metamask-plugin ↵Kevin Serrano2017-02-111-0/+28
|\ | | | | | | into mapachurro-patch-1
| * Update first-time.jsmapachurro2017-02-101-0/+28
| |
* | Fix integration tests.Kevin Serrano2017-02-101-18/+2
|/
* test - first-time - re-add terms header checkkumavis2017-02-021-0/+2
|
* tests - mockDev - fix first-time flowkumavis2017-02-021-20/+18
|
* obs-store - use published modulekumavis2017-01-251-1/+1
|
* Merge branch 'dev' into obs-store2kumavis2017-01-221-1/+2
|\
| * Fix test to log out despite number of menu itemsDan Finlay2017-01-181-1/+2
| |
* | background - move pojo migrator to outside of metamask controllerkumavis2017-01-121-20/+24
| |
* | background - introduce ObservableStorekumavis2017-01-121-18/+15
|/
* Add additional migration testDan Finlay2016-12-241-2/+19
|
* Restructured migrationDan Finlay2016-12-223-123/+75
| | | | | | | | | Migrator now returns a lostAccount array that includes objects these objects include keys of address and privateKey, this allows the MetamaskController to restore the lost accounts even without customizing the idStore or the KeyringController. Also includes a patch that allows idStore to synchronously export private keys.
* Fixed another lostAccount testDan Finlay2016-12-221-1/+1
|
* Merge pull request #916 from MetaMask/i894-DetectBadAccountsDan Finlay2016-12-211-0/+60
|\ | | | | I894 detect bad accounts
| * Got bad account detection working and added to stateDan Finlay2016-12-101-3/+5
| |
| * Mostly added bad account detectionDan Finlay2016-12-091-0/+58
| | | | | | | | Currently riddled with logs, because the migrator is inexplicably returning before generating the new style accounts for comparison.
* | Remove encryptor in favor of external browser-passworderDan Finlay2016-12-201-71/+0
|/ | | | I broke out the encryptor lib into its own module on npm called browser-passworder.
* Fix vault encrypting & unlocking bugDan Finlay2016-12-012-0/+6
| | | | | | | | This is only a bug in dev, but was committed yesterday. Sometimes the `encrypt` method was being passed values other than the password as the encryption key, leading to un-unlockable vaults. To find this, and avoid it for all time hereafter, I added several more steps to our oft-neglected integration test suite, which now fully initializes a vault, locks it, and unlocks it again, to make sure all of those steps definitely work always.
* Add integration tests for logging out and back inDan Finlay2016-12-011-1/+27
|
* Add more integration testsDan Finlay2016-12-011-0/+25
| | | | | | | | Integration tests now: - Scroll through terms - Accept terms - Confirm seed phrase - Verify account detail screen
* Made integration test create a first vaultDan Finlay2016-12-011-0/+22
|
* Denodeify most of KeyringControllerDan Finlay2016-11-291-3/+8
| | | | | | | | | | Mostly Fixes #893 A couple methods cache callbacks, and will require a larger refactor to fully denodeify. Specifically, our methods involving web3 requests to sign a tx, sign a message, and approve or cancel either of those. I think we should postpone those until the TxManager refactor, since it will likely handle this response caching itself.
* Fix new encryptor migration logicDan Finlay2016-11-231-0/+11
|
* Create failing test to check submitPassword in keyringController.Kevin Serrano2016-11-191-0/+46
|
* Fix integration test suiteDan Finlay2016-11-081-11/+3
|
* Fix password validation and persistence issueDan Finlay2016-11-041-0/+22
| | | | Was wiping the vault on each successful password attempt... :P
* Remove debugger statement.Kevin Serrano2016-10-261-1/+0
|
* Phase out extra warning screen.Kevin Serrano2016-10-261-2/+1
|
* Fix testsDan Finlay2016-10-211-0/+1
|
* LintedDan Finlay2016-10-151-1/+0
|
* Got basic encryptor workingDan Finlay2016-10-151-7/+24
|
* Got encrypting working, not yet decryptingDan Finlay2016-10-151-2/+13
|
* Began adding browser-native encryptor moduleDan Finlay2016-10-132-0/+42
Added new Qunit build process that will browserify the contents of `test/integration/lib` into the QUnit browser, allowing much more modular testing, including unit testing of our modules in our target browsers. Made a basic unit test file of this form for the new encryptor module, which fails miserably because I've only just begun to work with it. I've started with this blog post as a starting point, and will be adjusting it to our needs from there: http://qnimate.com/passphrase-based-encryption-using-web-cryptography-api/