1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-15 06:07:16 +01:00
Commit Graph

11 Commits

Author SHA1 Message Date
Dan Finlay
8d981ac87f Remove npm i again because apparently that worked 2016-09-08 12:47:11 -07:00
Dan Finlay
fbf3dceca0 Remove deps added for older ubuntu 2016-09-08 12:19:14 -07:00
Dan Finlay
67b3309c3a Remove npm i to check if cache held 2016-09-08 12:01:08 -07:00
Dan Finlay
6b9922ad1d Try adding npm i to circle.yml 2016-09-08 11:49:44 -07:00
Frankie
4c46997c4a Add - "npm i -g mocha" to circle 2016-08-25 15:19:44 -07:00
kumavis
1d4750b9c4 CI - add lsb-base dep 2016-08-25 11:08:10 -07:00
Kevin Serrano
ca1d500363 add deps. 2016-08-25 11:01:07 -07:00
Kevin Serrano
ef44284323 Bump chrome version. 2016-08-25 10:54:18 -07:00
Kevin Serrano
0ed3a6874b Modify cirlce.yml 2016-08-25 10:43:36 -07:00
Dan Finlay
11dfb8e869 Ui testing (#481)
* 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.

* Separate UI tests from normal unit test suite

* Add UI tests to CI test script

* Add testem and phantom to circleCI pre-script

* Fix circle pre script

* Move pre scripts to dependencies key

* Remove phantom from build deps

* Fix testem runner page

* Add promise polyfill for PhantomJS

* Skip PhantomJS in testem

* Run browser tests in parallel

* Fix promise usage?

* Correct skip usage
2016-07-25 16:42:39 -07:00
Dan Finlay
d7c3e8e9f5 Add circle.yml 2016-06-21 14:18:38 -07:00