1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00
metamask-extension/test
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
..
integration Add UI Testing Framework and Simple UI Test 2016-07-22 15:43:30 -07:00
lib Fixed tests 2016-06-24 16:13:27 -07:00
unit Implement some cross-browser practices (#473) 2016-07-21 10:45:32 -07:00
helper.js Fix plugin tests 2016-04-18 11:31:06 -07:00