1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-21 08:53:20 +01:00
Commit Graph

11627 Commits

Author SHA1 Message Date
Dan Finlay
bf1bfdf87a Add testem and phantom to circleCI pre-script 2016-07-22 16:28:35 -07:00
Dan Finlay
c15ff7164e Add UI tests to CI test script 2016-07-22 16:23:52 -07:00
Dan Finlay
2e61102147 Separate UI tests from normal unit test suite 2016-07-22 16:20:43 -07:00
Dan Finlay
b724dd009c 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.
2016-07-22 15:43:30 -07:00
Kevin Serrano
86832e6feb Fix merge conflicts. Fix typos. Ensure currency immediately updated on load. 2016-07-22 11:15:47 -07:00
Kevin Serrano
22528002e1 Linting! 2016-07-22 10:15:39 -07:00
Kevin Serrano
bf5f1df20e Merge pull request #477 from MetaMask/MockDev
Add mock dev mode
2016-07-21 19:05:54 -07:00
Dan Finlay
5b4e2ffeac Add mock dev mode 2016-07-21 18:08:35 -07:00
Kevin Serrano
0bbfedc2bf Manifest fix for firefox-specific field (#475)
* Remove firefox-only manifest.json line.

* Changelog change.
2016-07-21 16:50:51 -07:00
Kevin Serrano
a612fcee64 Change function names. Add interval polling for api. Refactor functions. 2016-07-21 16:44:50 -07:00
Kevin Serrano
716e65424d Add date access throughout the data flow. 2016-07-21 14:08:26 -07:00
Dan Finlay
5d93e8fa74 Version 2.7.0 2016-07-21 13:42:09 -07:00
Frankie
fcd523abe4 Buy button (#474)
* WIP: Buy button link

* Add buy eth and the buy eth warning message

* Add css

* Move the opening of coinbase page to background
 and send to faucet if on test net

* Create a Warning about storeing eth

* Finish Buy button and Eth store warning screen

* Add to CHANGELOG

* fix frankies deletion and change chrome to extension
2016-07-21 13:41:10 -07:00
Kevin Serrano
66941f0808 Provide date access. 2016-07-21 13:33:22 -07:00
Kevin Serrano
7b85802a0f Merge branch 'master' into usd-conversion 2016-07-21 11:30:57 -07:00
Dan Finlay
6658bea8d4 Implement some cross-browser practices (#473)
* Add mozilla plugin key to manifest

* Move all chrome references into platform-checking module

Addresses #453

* Add chrome global back to linter blacklist

* Add tests
2016-07-21 10:45:32 -07:00
Kevin Serrano
4a9d5b1c25 Add data field to pass up parameters up to reducer. 2016-07-21 10:15:34 -07:00
Kevin Serrano
491b9cddc5 Add fiat actions to metamask controllere and actions. 2016-07-21 09:30:58 -07:00
Kevin Serrano
aac810b1eb Progress on config manager. Plus tests. 2016-07-21 08:47:03 -07:00
Dan Finlay
cdd7e40545 Make injected web3 fail hard on sync methods (#471)
Make injected web3 fail hard on sync methods
2016-07-20 14:54:07 -07:00
Dan Finlay
5567ea8dc5 Version 2.6.2 (#470) 2016-07-20 10:16:18 -07:00
Dan Finlay
4b8e95336d Add instructions for taking a state dump (#469) 2016-07-20 10:10:57 -07:00
kumavis
a174ec7fc1 Merge pull request #465 from MetaMask/i447
inpage - add try/catch to cleanContextForImports
2016-07-18 18:11:40 -07:00
kumavis
b2afa16925 typo fix 2016-07-18 18:08:29 -07:00
kumavis
9101812552 inpage - add try/catch to cleanContextForImports 2016-07-18 17:57:23 -07:00
Kevin Serrano
5b895c2a22 Merge pull request #455 from MetaMask/FixReopeningBug
Fix reopening bug
2016-07-18 12:26:58 -07:00
Kevin Serrano
1d8d8384c6 Update Changelog to account for last PR 2016-07-18 12:25:17 -07:00
Kevin Serrano
2bdda0848f Merge branch 'FixReopeningBug' of github.com:MetaMask/metamask-plugin into FixReopeningBug 2016-07-18 12:20:31 -07:00
Kevin Serrano
121874aeb6 Merge pull request #464 from MetaMask/test-branch
Test branch
2016-07-18 12:18:02 -07:00
Kevin Serrano
aaf3ff8b82 Merge branch 'master' of github.com:MetaMask/metamask-plugin 2016-07-18 12:14:44 -07:00
Kevin Serrano
3236c9869d Merge pull request #463 from MetaMask/aust-zero-changes
Aust zero changes
2016-07-18 12:09:35 -07:00
Kevin Serrano
96cd087c97 Readd string to conform to tests. Will discuss later. 2016-07-18 12:06:27 -07:00
Kevin Serrano
609bd7d6e8 Merge branch 'AustP-master' 2016-07-18 11:47:40 -07:00
Kevin Serrano
2fc2731479 Remove unused None string. 2016-07-18 11:47:27 -07:00
Kevin Serrano
41aad32b19 Merge branch 'master' of https://github.com/AustP/metamask-plugin into AustP-master 2016-07-18 11:32:29 -07:00
kumavis
046ca5787b Merge pull request #459 from Schaeff/transaction-typo-fix
Fix typo
2016-07-18 11:15:29 -07:00
Aust
c1859a24ee Add eslint config to pass tests 2016-07-18 10:38:27 -06:00
Aust
061633bf67 Make zero balance display 0. Fixes #449 2016-07-18 09:54:06 -06:00
Thibaut SCHAEFFER
71250f0048 Fix typo 2016-07-18 11:08:00 +02:00
Dan Finlay
866237c2c8 Merge branch 'master' into FixReopeningBug 2016-07-15 18:05:53 -07:00
Dan Finlay
667483ac20 Add simple build instructions (#454) 2016-07-15 18:04:52 -07:00
Dan Finlay
2697e1ba95 Bump changelog 2016-07-15 17:53:31 -07:00
Dan Finlay
203a56fb92 Add ui state logging function
Now from the UI console, you can always call `logState()`, and it will print the state stringified into the console, ready to drop into the ui dev mode states folder, or other inspection.

This should make it easier to diagnose user bugs in the future.
2016-07-15 17:51:37 -07:00
Dan Finlay
c4812b3452 Triage a strange undefined balance error 2016-07-15 17:47:58 -07:00
Kevin Serrano
750a3d8fe7 Merge pull request #448 from MetaMask/user-agreement-proofread
Proofread and fix spelling errors of user agreement.
2016-07-14 23:15:05 -07:00
Kevin Serrano
202ff31bf8 Merge branch 'master' into user-agreement-proofread 2016-07-14 23:12:05 -07:00
Kevin Serrano
4926fbd833 Proofread and fix spelling errors of user agreement. 2016-07-14 23:09:53 -07:00
kumavis
0f7f02d187 Merge pull request #443 from MetaMask/legal-beagal
Meta - Add license
2016-07-14 14:41:19 -07:00
kumavis
e18dc1d65d Merge branch 'master' into legal-beagal 2016-07-14 14:38:54 -07:00
kumavis
f84992fa33 license 2016-07-14 14:37:40 -07:00