Commit Graph

8 Commits

Author SHA1 Message Date
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 761498cdbf Add vlad icons to image folder 2016-06-14 12:43:30 -07:00
Zac Mitton 924a65c956 network status getting set upon start-up and showing in title bar but not auto-updating yet 2016-06-01 16:30:14 -07:00
Dan Finlay e5bb94b5c7 Created etherscan provider (untested) 2016-03-29 14:31:25 -07:00
kumavis b3d46e02b8 build - use gulp, remove grunt 2016-03-11 15:21:43 -08:00
kumavis f52f4d460e build - add gulp build process 2016-03-02 23:08:28 -08:00
kumavis 3e2e90a4fa meta - gitignore 2015-08-01 16:33:00 -07:00
kumavis 500a95a704 init commit 2015-07-31 18:38:02 -07:00