aboutsummaryrefslogtreecommitdiffstats
path: root/test/integration
Commit message (Collapse)AuthorAgeFilesLines
* Metametrics (#6171)Dan J Miller2019-03-054-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add metametrics provider and util. * Add backend api and state for participating in metametrics. * Add frontend action for participating in metametrics. * Add metametrics opt-in screen. * Add metametrics events to first time flow. * Add metametrics events for route changes * Add metametrics events for send and confirm screens * Add metametrics events to dropdowns, transactions, log in and out, settings, sig requests and main screen * Ensures each log in is measured as a new visit by metametrics. * Ensure metametrics is called with an empty string for dimensions params if specified * Adds opt in metametrics modal after unlock for existing users * Adds settings page toggle for opting in and out of MetaMetrics * Switch metametrics dimensions to page level scope * Lint, test and translation fixes for metametrics. * Update design for metametrics opt-in screen * Complete responsive styling of metametrics-opt-in modal * Use new chart image on metrics opt in screens * Incorporate the metametrics opt-in screen into the new onboarding flow * Update e2e tests to accomodate metametrics changes * Mock out metametrics network requests in integration tests * Fix tx-list integration test to support metametrics provider. * Send number of tokens and accounts data with every metametrics event. * Update metametrics event descriptor schema and add new events. * Fix import tos bug and send gas button bug due to metametrics changes. * Various small fixes on the metametrics branch. * Add origin custom variable type to metametrics.util * Fix names of onboarding complete actions (metametrics). * Fix names of Metrics Options actions (metametrics). * Clean up code related to metametrics. * Fix bad merge conflict resolution and improve promise handling in sendMetaMetrics event and confrim tx base * Don't send a second metrics event if user has gone back during first time flow. * Collect metametrics on going back from onboarding create/import. * Add missing custom variable constants for metametrics * Fix metametrics provider * Make height of opt-in modal responsive. * Adjust text content for opt-in modal. * Update metametrics event names and clean up code in opt-in-modal * Put phishing warning step next to last in onboarding flow * Link terms of service on create and import screens of first time flow * Add subtext to options on the onboarding select action screen. * Fix styling of bullet points on end of onboarding screen. * Combine phishing warning and congratulations screens. * Fix placement of users if unlocking after an incomplete onboarding import flow. * Fix capitalization in opt-in screen * Fix last onboarding screen translations * Add link to 'Learn More' on the last screen of onboarding * Code clean up: metametrics branch * Update e2e tests for phishing warning step removal * e2e tests passing on metametrics branch * Different tracking urls for metametrics on development and prod
* Add integration test for ordering of shapeshift txs in history list.Dan Miller2019-01-251-7/+15
|
* Fix integration testsAlexander Tseung2019-01-251-12/+8
|
* Prevent users from changing the From field in the send screen (#5922)Alexander Tseung2018-12-141-20/+5
| | | | | | * Prevent users from changing the From field in the send screen * Fix integration tests
* Improve ux for low gas price set (#5862)Dan J Miller2018-12-111-0/+16
| | | | | | | | | | * 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.
* Group transactions by nonce (#5886)Alexander Tseung2018-12-102-20/+10
|
* Remove gas customization integration tests (in favour of e2e tests)Dan Miller2018-12-041-35/+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
| |/ |/|
* | Clean up for send refactor PR.Dan2018-05-251-2/+1
| |
* | Merge branch 'develop' into i3725-refactor-send-component-Dan2018-05-241-30/+41
|\|
| * 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 branch 'develop' into i3725-refactor-send-component-Dan2018-05-151-15/+14
| |
* | Merge branch 'develop' into i3725-refactor-send-component-Dan2018-05-143-31/+51
| |
* | Further refactors; includes refactor of send-v2.js and associated containerDan2018-04-301-1/+2
|/
* 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-122-4/+2
|
* 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-122-22/+43
|
* test - integration - build - manually exit from test builder + add bundle ↵kumavis2017-09-121-1/+2
| | | | destination log
* test - integration - build - use pump + log bundling informationkumavis2017-09-121-6/+12
|
* 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
|
* test - integration - better error handlingkumavis2017-08-041-10/+9
|
* test - integration - syntax - prefer constkumavis2017-08-041-12/+7
|
* test - integration - remove unused codekumavis2017-08-041-1/+3
|
* test - integration - throw error on failurekumavis2017-08-041-2/+2
|
* Print integration build errorsDan Finlay2017-06-221-6/+8
|
* Modify wording to new accept.Kevin Serrano2017-06-101-1/+1
|
* continue button changed to agreeNihar2017-05-171-1/+1
|
* Lint testsThomas Huang2017-05-052-6/+6
|
* 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
| |
* | Delete all code related to disclaimers.Kevin Serrano2017-02-103-4/+2
|/
* migration 7 - break off TransactionManager substatekumavis2017-02-031-1/+1
|
* test - first-time - re-add terms header checkkumavis2017-02-021-0/+2
|
* tests - mockDev - fix first-time flowkumavis2017-02-021-20/+18
|
* continue rename selectedAccount to selectedAddresskumavis2017-01-311-1/+1
|
* 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-242-2/+20
|
* 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-212-0/+61
|\ | | | | 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-092-0/+59
| | | | | | | | 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.
* Cranked up CI test suite wait duration to alleviate their nondeterminism for nowDan Finlay2016-12-081-1/+1
|
* 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-013-3/+25
|
* 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-192-0/+67
|
* 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-152-105/+13
|
* Began adding browser-native encryptor moduleDan Finlay2016-10-135-2/+144
| | | | | | | | | 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/
* Remove comments.Kevin Serrano2016-10-121-16/+0
|
* Cleanup.Kevin Serrano2016-10-121-10/+22
|
* Fix integration test.Kevin Serrano2016-10-061-8/+15
|
* Rewritten to react standards. Way easier.Kevin Serrano2016-10-051-1/+1
|
* 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