Commit Graph

39 Commits

Author SHA1 Message Date
kumavis 0419276958 test - poll for element instead of manual timeouts 2018-03-11 14:52:29 -07:00
Dan J Miller 170c7602b7
[NewUI] Adds the mascara first time flow to betaUI extension (#3257)
* 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.
2018-02-16 06:15:09 -03:30
Alexander Tseung d452403322
Add functional integration testing to Add Token flow (#3189) 2018-02-05 18:47:46 -08:00
Thomas b62ec394f5 Revert integration to oldUi 2018-01-22 16:10:07 -08:00
Dan acc973d543 Update classnames for integration tests and add output/index.css to integration test for ci 2017-11-02 15:16:43 -07:00
Chi Kei Chan d9735ed5b3 Fixing integraiton test 2017-10-20 21:51:37 -07:00
kumavis 8da0d0b28a Revert "NetworkController refactor for new EthClient interface" 2017-10-18 15:09:32 -07:00
kumavis d31c746210 test - integration - intercept reload attempts 2017-10-10 21:10:35 -07:00
kumavis 9f665d8eda test - integration - bump timeout 2017-09-18 13:06:35 -07:00
kumavis 5d01ca10e4 tests - mascara - increase timeout before test starts 2017-09-15 13:19:31 -07:00
kumavis a9900be085 test - mascara - move skip reload test flag 2017-09-15 13:13:53 -07:00
kumavis 779e973b45 tests - integration - mascara - small cleanup and timeout adjustments 2017-09-15 12:19:52 -07:00
frankiebee c5a2527c17 set time if platform is mascara 2017-09-15 11:57:25 -07:00
frankiebee 7bcca782cb remove testem files 2017-09-15 11:33:55 -07:00
frankiebee 7fb8623568 dont reload on initial download and wait before passing sw to ui 2017-09-15 11:09:19 -07:00
kumavis b53d04c409 tests - integration - get flat and mascara tests closer to compatible 2017-09-13 20:25:27 -07:00
kumavis 48d21f4fca tests - integration - fix bad cherry-pick 2017-09-11 22:34:16 -07:00
kumavis 0e70366e9c test - integration - drop testem for karma 2017-09-11 22:29:40 -07:00
kumavis a6d49a49ea test - integration - use async fn for error catching 2017-09-11 15:48:50 -07:00
sdtsui f37f405d52 Fix integration test failures: ensure qr code is accessible 2017-08-04 23:34:54 -07:00
Kevin Serrano 2fcf3d8439
Modify wording to new accept. 2017-06-09 10:48:28 -07:00
Nihar 5c71149a8f continue button changed to agree 2017-05-16 14:23:42 -07:00
Kevin Serrano 736637363b
Integration tests play nice with new disabled buttons. 2017-02-20 15:07:01 -08:00
Kevin Serrano bf9d1f405f
add waits between notices. 2017-02-20 13:41:46 -08:00
Kevin Serrano 603eee9efe
Merge branch 'mapachurro-patch-1' of github.com:mapachurro/metamask-plugin into mapachurro-patch-1 2017-02-10 13:14:09 -08:00
Kevin Serrano 092ec9096b
Fix integration tests. 2017-02-09 22:36:40 -08:00
mapachurro 5c9202b2d2 Update first-time.js 2017-02-09 20:54:29 -05:00
kumavis dacbf16fe2 test - first-time - re-add terms header check 2017-02-01 16:41:28 -08:00
kumavis d8a12c2ad0 tests - mockDev - fix first-time flow 2017-02-01 16:27:16 -08:00
Dan Finlay 3572708fda Fix test to log out despite number of menu items 2017-01-17 16:49:08 -08:00
Dan Finlay ebeaf3b3d6 Restructured migration
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.
2016-12-21 17:21:10 -08:00
Dan Finlay 1880cda9b9 Fix vault encrypting & unlocking bug
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.
2016-11-30 19:36:24 -08:00
Dan Finlay 049e351c9d Add integration tests for logging out and back in 2016-11-30 16:01:51 -08:00
Dan Finlay fe533bbef2 Add more integration tests
Integration tests now:
- Scroll through terms
- Accept terms
- Confirm seed phrase
- Verify account detail screen
2016-11-30 15:18:26 -08:00
Dan Finlay 549bbfd05f Made integration test create a first vault 2016-11-30 14:58:40 -08:00
Dan Finlay 93c0a6826a Fix integration test suite 2016-11-07 14:11:01 -08:00
Kevin Serrano b3cb3e9ec6
Remove debugger statement. 2016-10-25 13:24:57 -07:00
Kevin Serrano 678301a20e
Phase out extra warning screen. 2016-10-25 13:24:03 -07:00
Dan Finlay cce8d9e360 Began adding browser-native encryptor module
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/
2016-10-12 20:07:46 -07:00