aboutsummaryrefslogtreecommitdiffstats
path: root/test/integration/lib/send-new-ui.js
Commit message (Collapse)AuthorAgeFilesLines
* Improved UX for sweeping accounts (#6488)Etienne Dusseault2019-05-211-3/+21
| | | | | | | | | | | | * Changed max button to checkbox, disabled input if max mode is on, recalculate price according to gas fee if max mode is on * Disabled insufficient funds message in the modal if max mode is on, displays proper amounts in modal when max mode is on, sets the send amount according to custom gas price after gas modal save, resets the send amount after resetting custom gas price * Disabled max mode checkbox if gas buttons are loading, refactored gas-modal-page-container * Implemented new max button & max mode message. Moved insufficient funds error to underneath the send amount field * Fixed existing integration test to pass, created new tests to ensure send amount field is disabled when max button is clicked and the amount changes when the gas price is changed. Refactored some components
* Check for unused function arguments (#6583)Whymarrh Whitby2019-05-091-1/+1
| | | | | | | | | | * eslint: Check for unused function arguments * eslint: Ignore unused '_' in argument list Also allow any number of '_' e.g., '__' or '___' which is to be used sparingly * Remove and rename unused arguments
* Fix fetch and ethquery mocks in integration testsDan Miller2019-05-081-1/+2
|
* Make height consistent on all row in send-content (#6480)Chi Kei Chan2019-04-181-3/+0
| | | | | | | | * Update all send-content row to 54px height * Remove header subtitle * Remove tests that check for send screen subheader
* Add token selection to the send screen (#6445)Chi Kei Chan2019-04-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move send to pages/ * Fix unit tests * Finish UI * Integrate asset dropdown to send actions * Remove console.log * Hide asset change during edit * Enable switch from send token to seand eth * Enable switching from token to eth when editing * Fix linter * Fixing test * Fix unit tests * Fix linter * Fix react warning; remove console.log * fix flat test * Add metrics * Address code review comments * Consistent spacing between send screen form rows. * Reduce height of gas buttons on send screen. * Make send screen gas button height dependent on size of contents.
* Update buttons & colors to match design system (#6446)Chi Kei Chan2019-04-171-3/+3
| | | | | | | | | | | | | | | | * Refactoring button styles * renaming buttons * Add Link and Button styles * Update new btn styles and storybook * Fix tests * Change font weight; Update storybook * Fix linter
* Metametrics (#6171)Dan J Miller2019-03-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* 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.
* Remove gas customization integration tests (in favour of e2e tests)Dan Miller2018-12-041-35/+0
|
* Fix account display width for large currency valuesAlexander Tseung2018-10-211-3/+3
|
* 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
* Fix testsAlexander Tseung2018-08-241-1/+1
|
* Fix integration testsAlexander Tseung2018-08-241-1/+1
|
* Add new variant for SenderToRecipient componentAlexander Tseung2018-08-231-2/+2
|
* Fix send integration tests for compatability with confirm refactor.Dan2018-07-111-7/+7
|
* 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-031-2/+0
| |
* | eslint --fix .brunobar792018-07-031-2/+2
|/
* Update integration tests for newui gas estimation fixes.Dan2018-06-191-2/+2
|
* Merge branch 'i3725-refactor-send-component-' into ↵Dan2018-06-011-6/+6
|\ | | | | | | 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-011-3/+3
| | |
| * | 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
* | | Fix test to account for greater precision currency display.Dan2018-05-311-1/+1
| |/ |/|
* | Merge branch 'develop' into i3725-refactor-send-component-Dan2018-05-141-26/+33
|/
* Fix integration tests so that they check for localize currency.Dan2018-04-101-4/+4
|
* Fix integration testsAlexander Tseung2018-04-071-10/+20
|
* Revert "commit"Alexander Tseung2018-04-061-2/+0
| | | | This reverts commit fa8500e09ad599837f6ad1b2dfc3530195a03b33.
* commitAlexander Tseung2018-04-061-0/+2
|
* 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-271-3/+3
|\ | | | | Update button styles
| * Update button stylesAlexander Tseung2018-03-261-3/+3
| |
* | 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 - add comment about test behavior odditykumavis2018-03-121-3/+1
|
* test - poll for element instead of manual timeoutskumavis2018-03-121-86/+41
|
* Update modal header design on send screen (#3196)Alexander Tseung2018-02-071-12/+8
|
* Functional Integration Tests for send ether flow. (#3119)Dan J Miller2018-01-301-0/+229