Commit Graph

16 Commits

Author SHA1 Message Date
Thomas Huang eb15663497 One script runs for Ci build 2017-07-25 16:33:52 -07:00
Thomas Huang 55b7e457c5 Configure ci build to run tests individually 2017-07-23 21:35:21 -07:00
Dan Finlay ed272dcbc0 Bump node version 2017-07-12 15:09:01 -07:00
Dan Finlay c7780727eb Bump circleCI node version to 8.0.0 2017-06-20 09:01:55 -07:00
kumavis dde3beb044 ci - use node 7.6.0 2017-05-12 12:37:31 -07:00
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