1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
Commit Graph

925 Commits

Author SHA1 Message Date
Dan Finlay
6b3ffc9e5d Fix promise usage? 2016-07-22 17:08:17 -07:00
Dan Finlay
ae6fa76241 Run browser tests in parallel 2016-07-22 17:03:37 -07:00
Dan Finlay
f12394f7d5 Skip PhantomJS in testem 2016-07-22 17:02:59 -07:00
Dan Finlay
9f4f5f4bce Add promise polyfill for PhantomJS 2016-07-22 16:58:35 -07:00
Dan Finlay
b939da8508 Fix testem runner page 2016-07-22 16:52:01 -07:00
Dan Finlay
11ef342c61 Remove phantom from build deps 2016-07-22 16:39:55 -07:00
Dan Finlay
b37b2bcbdc Move pre scripts to dependencies key 2016-07-22 16:34:53 -07:00
Dan Finlay
ee3a2a65de Fix circle pre script 2016-07-22 16:30:56 -07:00
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
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
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
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
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
Dan Finlay
3b80a043ee Version 2.6.1 (#442) 2016-07-14 00:11:49 -07:00
kumavis
97e38b4983 new tx - calculate estimatedGas and show thing in tx-details (#441)
* new tx - calculate estimatedGas and show thing in tx-details

* Bump changelog
2016-07-13 23:39:44 -07:00