aboutsummaryrefslogtreecommitdiffstats
path: root/test/e2e
Commit message (Collapse)AuthorAgeFilesLines
* Return after rejecting promise in action (#7079)Mark Stacey2019-09-011-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * Add missing test descriptions * Fix async tests that expect a rejection These tests expected the function under test to return a rejected promise, and had assertions to be run in the `catch` clause. However, the tests would still pass if the function didn't reject, with the assertions never being run. The tests have been updated to fail if the function doesn't throw. * Handle ignored promise rejection In the case where `forceUpdateMetamaskState` rejects, the function `setSeedPhraseBackedUp` would never resolve. It has been updated to pass along the rejection instead. * Return after rejecting promise in action A few actions would continue after encountering an error, resulting in errors being compounded. Instead all actions will now return after encountering an error (which it looks like was the intention in these cases anyway).
* Fix Firefox e2e test command on CI (#7000)Whymarrh Whitby2019-08-131-1/+19
| | | | | | * Skip a few Firefox tests to get them passing again * ci: Fix Firefox e2e test command This is my bad, introduced in 7fc84f3cc087deab5d937ee589de56fa40cd7ced
* Allow overriding GANACHE_ARGS for e2e tests (#6970)Mark Stacey2019-08-071-5/+10
| | | | | | | | | | | | | | | | | | This allows the environment variable `GANACHE_ARGS` to override the default set of optional flags used. By default, the flag `--quiet` is set. Setting `GANACHE_ARGS` will override the default. For example, you can now run the e2e tests without the `--quiet` flag by running this: ```bash GANACHE_ARGS='' yarn test:e2e:chrome ``` This change also prevents the arguments from being needlessly repeated. Previously this script accidentally build up `GANACHE_ARGS`, adding to the set of flags used with each change in arguments. This PR is based upon #6870
* Show seed phrase challenge in browser (#6961)Dan J Miller2019-08-061-0/+6
| | | | | | | | * Open backup challenge screen, prompted from notification, in browser window * Remove no longer used showingSeedPhraseBackupAfterOnboarding related code * Make incremental-security.spec.js click through the seed phrase success screen
* Address book name save fix (#6945)Dan J Miller2019-08-036-29/+358
| | | | | | | | | | | | * Fix address book name saving and ens input errors on good inputs on unsupported networks * Add initial e2e test for address book send flow. * No longer need to click recipient row in e2e tests * Click write button in address book e2e test on seed confirm screen * Use correct seed phrase and private key in address-book.spec tests
* New notification fixes (#6955)Dan J Miller2019-08-031-2/+2
| | | | | | | | | | | | | | | | | | | | * Replace use of backup-notification with use of home notification * Pin notifications relative to window * Remove unneeded isRequired condition on some home.component properties * Refactor rendering of home notifications * UX for multiple notifications * Adds dismissal to provider request notification. * Fix test failures The e2e tests have been updated to reference `home-notification` classnames instead of the removed `background-notification`. The active tab proptypes and default values were updated as well.
* Fix incremental security e2e test (#6948)Mark Stacey2019-08-021-1/+1
|
* split AccountDetails into a separate component (#6943)Christopher Cooper2019-08-022-9/+9
|
* I5849 incremental account security (#6874)Dan J Miller2019-08-028-3/+1066
| | | | | | | | | | | | | | | | | | | | | | | | * Implements ability to defer seed phrase backup to later * Adds incremental-security.spec.js, including test dapp that sends signed tx with stand alone localhost provider * Update metamask-responsive-ui for incremental account security changes * Update backup-notification style and fix responsiveness of seed phrase screen * Remove uneeded files from send-eth-with-private-key-test/ * Apply linguist flags in .gitattributes for send-eth-with-private-key-test/ethereumjs-tx.js * Improve docs in controllers/onboarding.js * Clean up metamask-extension/test/e2e/send-eth-with-private-key-test/index.html * Remove unnecessary newlines in a couple first-time-flow/ files * Fix import of backup-notification in home.component * Fix git attrs file
* Enable indent linting via ESLint (#6936)Whymarrh Whitby2019-08-014-210/+210
| | | | | | * Enable indent linting via ESLint * yarn run lint:fix
* Address book send plus contact list (#6914)Dan J Miller2019-08-015-13/+366
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Style Send Header * Move Send to-row to send view and restyle * Add "Recents" group to select recipient view * Rename SendToRow to AddRecipient * Basic UI and Layout * New ENSInput component * wip - fuzzy search for input * small refactor * Add Dialog * contact list initial * initial error on invalid address * clean up edit * Click to open modal * Create AddToAddressBookModal component * Modal styling and layout * modal i18n * Add to Addressbook * ens wip * ens wip * ENS Resolution * Reset input * Send to explicit address * Happy Path Complete * Add back error checking * Reset send-to when emptying input * Add back warning object * Fix linter * Fix unit test #1 - fix import paths * Remove dead tests * One more to go * Fix all unit tests * add unit test for reducers and actions * test rendering AddRecipient * Add tests for dialog boxes in AddRecipient * Add test for validating * Fix linter * Fix e2e tests * Token send e2e fix * Style View Contact * Style edit-contact * Fix e2e * Fix from-import-beta-ui e2e spec * Make section header say "add recipient” by default * Auto-focus add recipient input * Update placeholder text * Update input title font size * Auto advance to next step if user paste a valid address * Ellipsify address when recipient is selected * Fix app header background color on desktop * Give each form row a margin of 16px * Use .container/.component naming pattern for ens-input * Auto-focus on input when add to addressbook modal is opened; Save on Enter * Fix and add unit test * Fix selectors name in e2e tests * Correct e2e test token amount for address-book-send changes * Adds e2e test for editing a transaction * Delete test/integration/lib/send-new-ui.js * Add tests for amount max button and high value error on send screen to test/e2e/metamask-ui.spec.js * lint and revert to address as object keys * add chainId based on current network to address book entry * fix test * only display contacts for the current network * Improve ENS message when not found on current network * Add error to indicate when network does not support ENS * bump gaba * address book, resolve comments * Move contact-list to its own component * De-duplicate getaddressbook selector and refactor name selection logic in contact-list-tab/ * Use contact-list component in contact-list-tab.component (i.e. in settings) * Improve/fix settings headers for popup and browser views * Lint fixes related to address book updates * Add 'My accounts' page to settings address book * Update add new contact button in settings to match floating circular design * Improve styles of view contact page * Improve styles and labels of the add-contact.component * Further lint fixes related to address book updates * Update unit tests as per address book updates * Ensure that contact list groups are sorted alphabetically * Refactor settings component to use a container for connection to redux; allow display of addressbook name in settings header * Decouple ens-input.component from send context * Add ens resolution to add contact screen in settings * Switching networks when an ens address is shown on send form removes the ens address. * Resolve send screen search for ensAddress to matching address book entry if it exists * Show resolved ens icon and address if exists (settings: add-contact.component) * Make the displayed and copied address in view-contact.component the checksummed address * Default alias state prop in AddToAddressBookModal to empty string * Use keyCode to detect enter key in AddToAddressBookModal * Ensure add-contact component properly updates after QR code detection * Fix display of all recents after clicking 'Load More' in contact list * Fix send screen contact searching after network switching * Code cleanup related to address book changes * Update unit tests for address book changes * Update ENS name not found on network message * Add ens registration error message * Cancel on edit mode takes user back to view screen * Adds support for memo to settings contact list view and edit screens * Modify designs of edit and view contact in popup environment * Update settings content list UX to show split columns in fullscreen and proper internal navigation * Correct background address book API usages in UI
* Switch from `npm` to `yarn` (#6843)Mark Stacey2019-07-311-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As a solution to the constant lockfile churn issues we've had with `npm`, the project now uses `yarn` to manage dependencies. The `package-lock.json` file has been replaced with `yarn.lock`, which was created using `yarn import`. It should approximate the contents of `package-lock.json` fairly well, though there may be some changes due to deduplication. The codeowners file has been updated to reference this new lockfile. All documentation and npm scripts have been updated to reference `yarn` rather than `npm`. Note that running scripts using `npm run` still works fine, but it seemed better to switch those to `yarn` as well to avoid confusion. The `npm-audit` Bash script has been replaced with `yarn-audit`. The output of `yarn audit` is a bit different than `npm audit` in that it returns a bitmask to describe which severity issues were found. This made it simpler to check the results directly from the Bash script, so the associated `npm-audit-check.js` script was no longer required. The output should be exactly the same, and the information is still sourced from the same place (the npm registry). The new `yarn-audit` script does have an external dependency: `jq`. However, `jq` is already assumed to be present by another CI script, and is present on all CI images we use. `jq` was not added to `package.json` as a dependency because there is no official package on the npm registry, just wrapper scripts. We don't need it anywhere exept on CI anyway. The section in `CONTRIBUTING` about how to develop inside the `node_modules` folder was removed, as the advice was a bit dated, and wasn't specific to this project anyway.
* Remove Drizzle tests (#6855)Mark Stacey2019-07-162-317/+0
| | | | | | | The Drizzle tests have not been used for some time. They were used to ensure compatibility with newer versions of `web3` v1. If we want to re-add tests to ensure compatibility with newer `web3` versions, we should find some way of doing that more reliably than was done here - these tests were somewhat flaky and unreliable.
* Merge pull request #6832 from MetaMask/master-rebasedThomas Huang2019-07-131-7/+19
|\ | | | | Master rebased
| * Version 6.7.2 gas limit fix (#6786)Dan J Miller2019-07-051-7/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Introduce delay for eth_estimateGas calls with in test * Add test that fails when gas estimates of contract method calls without gas are too high. * Get transaction gas data from unApprovedTxs instead of confirmTransaction * Fix selection of gas data in gas-modal-page-container.container * Lint changes related to Version-6.7.2-gasLimitFix * Fix e2e tests on Version-6.7.2-gasLimitFix * Fix unit and integration tests for changes from Version-6.7.2-gasLimitFix * more e2e fixes * Add assertions for transaction values on confirm screen * Fix display of transaction amount on confirm screen.
* | Replace deprecated shell-parallel with concurrently (#6807)Whymarrh Whitby2019-07-102-5/+30
| | | | | | | | | | | | * Replace shell-parallel with concurrently * Update ganache-cli
* | Address various UI styling issues (#6744)Dan J Miller2019-07-091-2/+2
|/ | | | | | | | | | | | | | * Add loading spinner to pending tx status label. * Add border around account icon in top right * Change style of settings toggle buttons; wrap with local components * Eliminate large space after settings labels when no description * Remove network form from advanced tab of settings * Keep new account container height to contents when in full screen
* Move e2e tests out of beta dir (#6785)Whymarrh Whitby2019-07-0313-363/+11
|
* Added Confirmation Modal for Delete Network (#6776)Akshit Kr Nagpal2019-07-021-0/+9
|
* Adds e2e tests that fail when token decimals are displaying incorrectly.Dan Miller2019-06-282-16/+24
|
* Add delete to custom RPC form (#6718, #6650)Dan J Miller2019-06-171-1/+15
|
* Adds e2e test for removing imported accounts. (#6615)Dan J Miller2019-05-161-2/+53
|
* Set a default value for code in _determineTransactionCategory (#6604)Dan J Miller2019-05-153-15/+172
| | | | | | | | | | * Set a default value for code in _determineTransactionCategory * Adds e2e tests that fail when token txs without gas param are not properly handled. * Adds unit tests for _determineTransactionCategory * Base error throwing and simple gas setting in estimateTxGas on transactionCategory
* New settings custom rpc form (#6490)Dan J Miller2019-05-101-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add networks tab to settings, with header. * Adds network list to settings network tab. * Adds form to settings networks tab and connects it to network list. * Network tab: form adding and editing working * Settings network form properly handles input errors * Add translations for settings network form * Clean up styles of settings network tab. * Add popup-view styles and behaviour to settings network tab. * Fix save button on settings network form * Adds 'Add Network' button and addMode to settings networks tab * Lint fix for settings networks tab addition * Fix navigation in settings networks tab. * Editing an rpcurl in networks tab does not create new network, just changes rpc of old * Fix layout of settings tabs other than network * Networks dropdown 'Custom Rpc' item links to networks tab in settings. * Update settings sidebar networks subheader. * Make networks tab buttons width consistent with input widths in extension view. * Fix settings screen subheader height in popup view * Fix height of add networks button in popup view * Add optional label to chainId and symbol form labels in networks setting tab * Style fixes for networks tab headers * Add ability to customize block explorer used by custom rpc * Stylistic improvements+fixes to custom rpc form. * Hide cancel button. * Highlight and show network form of provider by default. * Standardize network subheader name to 'Networks' * Update e2e tests for new settings network form * Update unit tests for new rpcPrefs prop * Extract blockexplorer url construction into method. * Fix broken styles on non-network tabs in popup mode * Fix block explorer url links for cases when provider in state has not been updated. * Fix vertical spacing of network form * Don't allow click of save button on network form if nothing has changed * Ensure add network button is shown in popup view * Lint fix for networks tab * Fix block explorer url preference setting. * Fix e2e tests for custom blockexplorer in account details modal changes. * Update integration test states to include frequentRpcList property * Fix some capitalizations in en/messages.json * Remove some console.logs added during custom rpc form work * Fix external account link text and url for modal and dropdown. * Documentation, url validation, proptype required additions and lint fixes on network tab and form.
* Check for unused function arguments (#6583)Whymarrh Whitby2019-05-091-6/+6
| | | | | | | | | | * 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
* Update confirm to use btn-primary (#6473)Chi Kei Chan2019-04-181-1/+1
| | | | | | | | * Update confirm to use btn-primary * Remove console * Fix e2e test
* Adds e2e test for most web3 methods that dapps use (#6160)Sneh Koul2019-04-172-0/+374
| | | | | | | | | | | | | | | | | | * schema added * ui for the dapp added and schema.js changed according to the comments in PR * added tests for all web3 methods * Update run-all.sh * Update web3.spec.js to work with new onboarding flow * changes made according to the comments * Create stand alone script for web3 e2e tests. * Lint fixes for web3 e2e tests.
* Further e2e fixes in wake of #6364 and #6367 (#6374)Dan J Miller2019-03-291-16/+34
| | | | | | | | * getMethodData() default to abi decoded method if registry lookup errors * Update e2e tests to work with getMethodData() fallback changes * Remove indeterminency in gas input key entering in send token e2e test.
* Split e2e run-all commands onto multiple linesWhymarrh Whitby2019-03-291-1/+2
|
* Run from-import e2e tests with additional account, to avoid conflict with ↵Dan Miller2019-03-292-4/+4
| | | | accounts in earlier test runs
* Use localhost instead of mainnent/infura for custom rpc tests in e2e tests.Dan Miller2019-03-291-5/+5
|
* e2e: Update Contract Interaction wordingWhymarrh Whitby2019-03-291-3/+2
|
* e2e: Skip approving token testWhymarrh Whitby2019-03-291-1/+1
|
* e2e: Remove Privacy mode toggle stepWhymarrh Whitby2019-03-291-20/+0
|
* Retry transaction list item click in 'adds multiple transactions' tests ↵Dan Miller2019-03-291-1/+8
| | | | first click fails.
* Default to localhost network when running e2e testsDan Miller2019-03-291-10/+0
|
* Use webRequest to cancel all requests to infura in e2e tests.Dan Miller2019-03-293-6/+41
|
* E2E - Dont close window notifications (#6349)Thomas Huang2019-03-261-2/+0
| | | | | | * Dont close window notifications * Remove commented out lines in beta spec
* New settings page rebased (#6333)Dan J Miller2019-03-261-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * New setting tab * Add InfoTab * Add Advanced tab * Add Security Tab * Finish mobile view * Make new setting page responsive * Fix linter * Fix y scrolling * Update link in network dropdown * Fix e2e tests * Remove duplicate translation key * Resolve merge conflict * Only change settings header in popup view. * Place mobile-sync button in advanced-tab of settings
* Metametrics (#6171)Dan J Miller2019-03-054-23/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* First time flow updates (#6192)Dan J Miller2019-02-273-188/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Action select step of onboarding flow added. * Update navigation on create and import password screens. * Adds terms of service checkbox to create and import account screens. * Add security warning to jazzicon intro step * Update and streamline unique image to confirm seed steps of first time flow. * UI touch ups to welcome screen. * UI touch up on select action page * Fix first time import flow. * Add end of flow screen to first time flow * Replace unique image screen with updated fishing warning screen. * Update e2e tests for onboarding flow changes. * Add required translations to onboarding flow. * Update design of select action screen to emphasize create new wallet option. * Clean up onboarding flow code. * Remove notice related code from first-time-flow directory. * Use updater function argument in new-account.component
* Show/Hide Fiat on Testnets based on User Preference (#6153)Chi Kei Chan2019-02-271-10/+28
|
* Adds tests for advanced gas controls on confim screen (#6144)Dan J Miller2019-02-131-1/+47
|
* Add e2e tests adjusting gas before sendingWhymarrh Whitby2019-02-091-10/+90
|
* e2e: Use close instead of save for gas modal (#6066)Thomas Huang2019-01-301-1/+2
|
* Fix bugs in e2e tests related to gas customization inputs.Dan Miller2019-01-251-14/+17
|
* Refactor first time flow, remove seed phrase from state (#5994)Alexander Tseung2019-01-235-60/+65
| | | | | | | | | | | | | | | | | | | | * Refactor and fix styling for first time flow. Remove seed phrase from persisted metamask state * Fix linting and tests * Fix translations, initialization notice routing * Fix drizzle tests * Fix e2e tests * Fix integration tests * Fix styling * Fix migration naming from 030 to 031 * Open extension in browser when user has not completed onboarding
* Clean up drizzle test runner scriptWhymarrh Whitby2019-01-041-10/+21
|
* Revert "remove error flags from drizzle setup"Whymarrh Whitby2019-01-041-0/+4
| | | | This reverts commit 938f4286e49dbdf7aef5b767917ad34ec6c6bb04.
* remove --unsafe-permBruno Barbieri2019-01-031-1/+1
|
* no globalsBruno Barbieri2019-01-031-3/+3
|
* Use sudo consistentlyBruno Barbieri2019-01-031-2/+2
|
* --unsafe-perm ?Bruno Barbieri2019-01-031-1/+1
|
* Dont use sudo to install truffleBruno Barbieri2019-01-011-1/+1
|
* Ensures that advanced tab gas limit reflects tx gas limitDan Miller2018-12-121-0/+16
|
* Improve ux for low gas price set (#5862)Dan J Miller2018-12-111-1/+2
| | | | | | | | | | * 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.
* Uses more reliable api on main send screen; caches basic api results in modalDan Miller2018-12-042-1/+4
|
* Update e2e tests for new gas customization modal.Dan Miller2018-12-044-20/+61
|
* Update e2e tests to handle any post-install window creationWhymarrh Whitby2018-11-273-9/+38
|
* Add JSDoc to closeAllWindowHandlesExcept e2e helper fnWhymarrh Whitby2018-11-271-0/+7
|
* Merge pull request #5797 from MetaMask/trezor-v6Bruno Barbieri2018-11-221-30/+1
|\ | | | | Add Firefox and Brave support for Trezor
| * fix merge conflictsbrunobar792018-11-211-4/+4
| |\
| * | clean upbrunobar792018-11-151-2/+2
| | |
| * | testbrunobar792018-11-151-4/+0
| | |
| * | testbrunobar792018-11-151-1/+1
| | |
| * | testbrunobar792018-11-151-1/+1
| | |
| * | try with custom boxbrunobar792018-11-151-1/+1
| | |
| * | Merge branch 'develop' into trezor-v5brunobar792018-11-145-23/+518
| |\ \
| * \ \ fix merge conflictsbrunobar792018-11-076-126/+188
| |\ \ \
| * \ \ \ fix merge conflictsbrunobar792018-10-212-9/+9
| |\ \ \ \
| * \ \ \ \ fix conflictsbrunobar792018-10-177-31/+335
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'develop' of github.com:MetaMask/metamask-extension into trezor-v5brunobar792018-09-062-79/+148
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'develop' of github.com:MetaMask/metamask-extension into trezor-v5brunobar792018-08-222-15/+2
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ fix merge conflictsbrunobar792018-08-217-77/+131
| |\ \ \ \ \ \ \ \
| * | | | | | | | | fix e2e testsbrunobar792018-08-111-30/+1
| | | | | | | | | |
| * | | | | | | | | fix merge conflictsbrunobar792018-08-095-66/+48
| | | | | | | | | |
* | | | | | | | | | Add timeout to waitUntilXWindowHandles e2e helper fnWhymarrh Whitby2018-11-211-5/+16
| | | | | | | | | |
* | | | | | | | | | Update new UI e2e tests for new UI defaultWhymarrh Whitby2018-11-214-209/+21
| |_|_|_|_|_|_|_|/ |/| | | | | | | |
* | | | | | | | | Fix rounding issue when sending max tokens (#5695)Alexander Tseung2018-11-201-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | | | | | | | remove error flags from drizzle setupbrunobar792018-11-151-4/+0
| |_|_|_|_|_|_|/ |/| | | | | | |
* | | | | | | | Fixes #3425: Better support for batch transactions (#5437)PaddyMc2018-11-142-5/+142
| | | | | | | |
* | | | | | | | Merge pull request #5674 from MetaMask/responsive-e2e-testsThomas Huang2018-11-104-18/+376
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | | e2e tests for responsive behaviour
| * | | | | | | Moves e2e tests for extension only behaviour to metamask-beta-responsive-ui.specDan Miller2018-11-084-18/+376
| | | | | | | |
* | | | | | | | fix typobrunobar792018-11-071-1/+1
| | | | | | | |
* | | | | | | | update drizzle testsbrunobar792018-11-071-5/+20
| | | | | | | |
* | | | | | | | Update Connect Request screen design (#5644)Whymarrh Whitby2018-11-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | | | | | | Fix beta e2e testsbitpshr2018-11-061-1/+1
| | | | | | | |
* | | | | | | | Cleanup after rebasebitpshr2018-11-061-1/+1
| | | | | | | |
* | | | | | | | EIP-1102: add user privacy optionbitpshr2018-11-062-29/+20
| | | | | | | |
* | | | | | | | EIP-1102: updated implementationbitpshr2018-11-064-108/+164
|/ / / / / / /
* | | | | | | Merge pull request #5570 from alextsg/i5558-account-display-widthkumavis2018-10-212-15/+15
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Fix account display width for large currency values
| * | | | | | | Fix account display width for large currency valuesAlexander Tseung2018-10-212-15/+15
| | |_|_|_|_|/ | |/| | | | |
* / | | | | | install truffle globallybrunobar792018-10-211-1/+1
|/ / / / / /
* | | | | | Extract Add Token button into its own componentWhymarrh Whitby2018-10-181-2/+2
| | | | | |
* | | | | | Adds toggle for primary currency (#5421)Alexander Tseung2018-10-172-7/+7
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | | | tests - integration - Add Drizzle tests (#5467)Bruno Barbieri2018-10-103-2/+308
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | | | Added account options on home screenSantiago Gonzalez Toral2018-10-101-0/+11
| | | | |
* | | | | Fix error message shown in assertElementNotPresent e2e helper fnWhymarrh Whitby2018-10-011-3/+1
| | | | |
* | | | | Don't log errors extraneously in e2e testsWhymarrh Whitby2018-10-011-1/+0
| | | | |
* | | | | Update e2e tests for adding mutliple custom RPC endpointsWhymarrh Whitby2018-10-011-12/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Switch string concatenation to template stringWhymarrh Whitby2018-10-011-1/+1
| | | | |
* | | | | Bugfix: Upgrade json-rpc-engine (#5348)Paul Bouchon2018-09-261-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Bugfix: bump version of json-rpc-engine * Increase delay * Update lockfile * deps - json-rpc-engine@3.7.4
* | | | | Refactor settings page to use JSX and follow component file folder structureAlexander Tseung2018-09-201-1/+1
| | | | |
* | | | | Fix tests. Add className to Identicon ethLogos.Alexander Tseung2018-09-132-6/+6
| |_|_|/ |/| | |
* | | | Fix testsAlexander Tseung2018-08-241-4/+4
| | | |
* | | | Reduce large timeoutsAlexander Tseung2018-08-241-6/+6
| | | |
* | | | Increase e2e timeouts for firefoxAlexander Tseung2018-08-241-7/+7
| | | |
* | | | Change "Outgoing" to "Sent Ether" or "Sent Token"Alexander Tseung2018-08-241-4/+4
| | | |
* | | | Fix Firefox e2e testsAlexander Tseung2018-08-241-2/+2
| | | |
* | | | Fix e2e testsAlexander Tseung2018-08-242-14/+6
| | | |
* | | | Fix e2e testsAlexander Tseung2018-08-241-58/+78
| | | |
* | | | Fix e2e testsAlexander Tseung2018-08-241-7/+7
| | | |
* | | | Fix testsAlexander Tseung2018-08-241-10/+7
| | | |
* | | | implemented improvements to RPC historyEvgeniy Filatov2018-08-231-0/+60
| | | |
* | | | Add tabs support for PageContainerAlexander Tseung2018-08-231-1/+1
| |_|/ |/| |
* | | Remove unnecessary checks and user actions in metamask-beta-ui.specDan Miller2018-08-222-15/+2
| | |
* | | Run ganache with a blocktime flag for npm:run:ganache:start.Dan Miller2018-08-221-2/+2
| |/ |/|
* | fix merge conflictsbrunobar792018-08-187-76/+127
| |
* | fix e2e testsbrunobar792018-08-171-1/+4
| |
* | Switch superstatic for static-server pkgWhymarrh Whitby2018-08-071-2/+2
| |
* | Fix seed word confirmation step of e2e beta tests.Dan Miller2018-08-061-60/+28
| |
* | Use unmodified constant for test delay in from-import-beta-spec.Dan Miller2018-08-061-1/+1
| |
* | Improve waits for new tx-list-items after first contract method call in e2e ↵Dan Miller2018-08-063-3/+17
|/ | | | beta tests.
* Don't show an additional beta UI notificationWhymarrh Whitby2018-07-282-9/+1
| | | | | | 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.
* New ui e2e tests switch to localhost provider (needed after new ui selection ↵Dan Miller2018-07-282-0/+20
| | | | screen addition).
* Fix e2e tests to accomodate new ui suggestion screen changes.Dan Miller2018-07-283-57/+83
|
* Updates e2e beta tests to ensure that popup window closes after confirming a ↵Dan Miller2018-07-241-1/+1
| | | | simple send.
* Merge pull request #4625 from MetaMask/initial-trezor-supportBruno Barbieri2018-07-201-0/+47
|\ | | | | Initial trezor support
| * fix browser not supported screenbrunobar792018-07-181-1/+1
| |
| * added some e2e testsbrunobar792018-07-181-0/+47
| |
* | Fix testsAlexander Tseung2018-07-181-8/+8
|/
* Wait for an element with a .tx-list-pending-item-container to be rendered ↵Dan2018-07-121-0/+2
| | | | before attempting to select the tx-list-item. (e2e beta tests)
* Reattempt to find network selector; wait for network selector dropdown to ↵Dan2018-07-121-3/+6
| | | | contain localhost before attempting to click. (e2e beta tests)
* Wait for submitted tx list item amounts to match the expected before ↵Dan2018-07-121-5/+6
| | | | clicking through. (e2e beta tests)
* Update e2e beta tests to cover confirm refactor changes.Dan2018-07-113-4/+155
|
* Fix existing e2e testsDan2018-07-111-11/+26
|
* Handles window indeterminancy issues for external dapps in e2e beta tests.Dan2018-07-114-114/+255
|
* Update import from seed screen on new ui.Dan2018-07-051-3/+6
|
* fix contract-testbrunobar792018-07-031-3/+7
|
* fix warnings for e2e testsbrunobar792018-07-033-10/+8
|
* eslint --fix .brunobar792018-07-034-18/+18
|
* Improve checks for closing info page on app installation in e2e beta tests.Dan2018-06-291-5/+11
|
* Use supersonic instead of httpserver to serve local dapp (e2e beta tests)Dan2018-06-281-2/+2
|
* Turn off failing e2e beta assertion in firefox until bugs in ↵Dan2018-06-281-2/+6
| | | | webdriver/geckodriver are resolved.
* Update condition for backspace in customize gas step of token factory send ↵Dan2018-06-281-1/+4
| | | | test (e2e beta).
* Fix add existing token test (e2e beta tests).Dan2018-06-271-3/+1
|
* Switch to eth and back before asserting on token balance (e2e beta token tests).Dan2018-06-271-1/+2
|
* await all clicks in e2e beta tests.Dan2018-06-271-9/+11
|
* Close popup window for e2e beta token factory send test.Dan2018-06-271-2/+3
|
* Fix retype seed phrase button.Dan2018-06-271-35/+46
|
* Disable e2e beta assertion after first token addition because of firefox / ↵Dan2018-06-271-1/+8
| | | | webdriver bug.
* Pass correct params to verboseReportOnFailure in beta e2e tests.Dan2018-06-271-1/+1
|
* Add timeouts to certain beta e2e driver.waits.Dan2018-06-271-2/+2
|
* Add try catch to deal with false negative timeouts in beta e2e tests.Dan2018-06-271-7/+22
|
* Wait for element text match in metamask-beta-ui e2e send token testDan2018-06-271-4/+2
|
* Use locally served dapp to test contract calls in e2e beta testsDan2018-06-275-174/+130
|
* Add extra delay to e2e tests after remix page load.Dan2018-06-271-0/+1
|
* Fix send token tests in beta ui e2e tests.Dan2018-06-271-5/+18
|
* Speed up page opening and fix timeout errors on remix page opening in beta ↵Dan2018-06-272-13/+26
| | | | e2e tests.
* Add delay before regularly failing test.Dan2018-06-271-0/+1
|
* Fix element located bug in beta e2e contract method call test.Dan2018-06-271-1/+1
|
* Improve wait for buy modal render after first time flow in beta e2e tests.Dan2018-06-271-1/+2
|
* Update metamask-beta-ui e2e spec to fail on insufficient gas estimation.Dan2018-06-271-7/+31
|
* Wait for locating of submit buttons before attempting to click in ↵Dan2018-06-271-3/+8
| | | | metamask.spec.js
* Update tests to accomodate token list menu additions.Dan2018-06-271-1/+2
|
* Disable onbeforeunload alert on remix for contract integration tests.Dan2018-06-271-0/+1
|
* Adds test for hiding tokens.Dan2018-06-271-0/+19
|
* e2e beta tests for contract deployment and calling a contract method.Dan2018-06-272-2/+135
|
* Improve reliability of beta e2e tests by using webdriver apis to wait for ↵Dan2018-06-272-5/+12
| | | | certain dom elements.
* Add test for importing from private key to from-import-beta-ui.spec.js, and ↵Dan2018-06-272-125/+19
| | | | remove non-import related tests from that file.
* metamask-beta-ui.spec.js tests custom token send before searched token.Dan2018-06-271-38/+43
|
* Adds e2e tests for sending tokens from token factory.Dan2018-06-271-3/+61
|
* Adds e2e tests for sending tokens within metamask.Dan2018-06-271-0/+44
|
* Adds e2e tests for sending tokens from token factory.Dan2018-06-271-3/+61
|
* Adds e2e tests for sending tokens within metamask.Dan2018-06-271-2/+48
|
* Accept whitespace when matching token balances in e2e testsWhymarrh Whitby2018-06-212-7/+8
|
* Add explicit timeout for add token testWhymarrh Whitby2018-06-211-1/+1
|
* test - e2e-beta - from import - handle phishing warningkumavis2018-06-141-8/+21
|
* test - e2e-beta - separate notice tests into individual testskumavis2018-06-141-1/+5
|
* test - e2e - clear phishing warningkumavis2018-06-142-1/+7
|
* test - e2e - check for phishing warningkumavis2018-06-142-13/+27
|
* Fix e2e test Chrome profile pathsWhymarrh Whitby2018-06-131-1/+1
|
* Bump beta e2e timeouts on faucet page.Dan2018-06-072-4/+4
|
* Improve e2e beta tests by adding appropriate waits.Dan2018-06-072-47/+56
|
* Conditionally close info page in beta e2e tests.Dan2018-06-062-4/+14
|
* Merge remote-tracking branch 'whymarrh/ci-test-e2e-beta' into ci-test-e2e-betaDan2018-06-062-63/+79
|
* Fix e2e beta tests to account for add-token updates and actual behaviour of ↵Dan2018-06-062-14/+10
| | | | tab openings on installation.
* Adjust delays in new beta e2e testsWhymarrh Whitby2018-06-021-2/+2
|
* Delay before getting address textThomas2018-05-301-0/+1
|
* Add accountThomas2018-05-301-0/+6
|
* Add basic e2e tests for the new UIWhymarrh Whitby2018-05-255-2/+971
|
* test - e2e - only inspect console for errors in chromekumavis2018-05-221-6/+10
|
* test - e2e - ignore 'development build of Redux' warningkumavis2018-05-221-1/+3
|
* test - e2e - ignore 'development build of React' warningkumavis2018-05-221-0/+2
|
* test - e2e - ignore favicon 404skumavis2018-05-221-1/+6
|
* test - e2e - ignore react 'unknown props dataset' warningskumavis2018-05-221-2/+5
|
* test - e2e - check for console errors after each testkumavis2018-05-221-1/+17
|
* Adjustments for previous PRThomas2018-05-171-4/+4
|
* Testing timeoutsThomas2018-05-171-18/+18
|
* Merge e2e tests into oneThomas2018-05-153-359/+77
|
* Increase timeoutThomas2018-05-111-1/+1
|
* Fix typoThomas2018-05-111-1/+1
|
* Job Screens with Shadow Dom Css selectorThomas2018-05-112-4/+6
|
* Multistep Shadow Dom Query Selector for local extension idThomas2018-05-111-10/+10
|
* Update to extension Id path for new chromeThomas2018-05-081-5/+5
|
* Remove waiting for button to be enabled TOUThomas2018-05-041-1/+0
|
* Merge branch 'e2e-tests' of https://github.com/tmashuang/metamask-extension ↵Thomas2018-05-042-3/+4
|\ | | | | | | into e2e-tests
| * Add a comment on the confirmation transaction metamask popup showing blank, ↵Thomas2018-05-041-0/+1
| | | | | | | | but button still renders
| * Quit chromedriver after testThomas2018-05-041-3/+3
| |
* | Increase timeout for TOU scrollThomas2018-05-041-1/+1
|/
* Reduce delay for installing firefox addonThomas2018-05-041-2/+1
|
* Add Timeouts for driver.waitThomas2018-05-041-9/+8
|
* Test wit driver.waitThomas2018-05-041-18/+21
|
* Delay around the addon installThomas2018-05-021-2/+3
|
* test increase timeoutThomas2018-05-021-1/+1
|
* Async/await installing extensionThomas2018-05-021-4/+4
|
* FirefoxThomas2018-05-024-147/+638
|
* Merge branch 'master' of github.com:MetaMask/metamask-extension into ci-screenskumavis2018-03-311-1/+1
|\
| * Merge branch 'master' of github.com:MetaMask/metamask-extension into ↵kumavis2018-03-301-23/+40
| |\ | | | | | | | | | ci-artifacts
| * | ui - change window title 'MetaMask Plugin' to 'MetaMask'kumavis2018-03-291-1/+1
| | |
* | | test - e2e - set network to localhostkumavis2018-03-311-0/+6
| |/ |/|
* | Merge branch 'master' into e2e-selectorkumavis2018-03-301-2/+5
|\ \
| * | Better delays and fix logout css selectorThomas2018-03-301-3/+6
| | |
* | | test - e2e - fix selector with extra div (?)kumavis2018-03-301-1/+1
| | |
* | | test - e2e - generate artifacts on test failurekumavis2018-03-301-6/+24
|/ /
* / test - e2e - prefer css selectors over xpathkumavis2018-03-301-15/+11
|/
* Update selenium testsThomas2018-03-101-9/+7
|
* chromedriver, changed extension id(might need zip/crx file)Thomas2018-01-192-1/+2
|
* E2E testing with seleniumtmashuang2017-09-132-0/+141