Skip to content

WIP: Automate flow testing (closes #15)

Richard Smith-Unna requested to merge flow-testing into master

This MR introduces an automated flow testing setup.

It works like this:

  1. We translate a flow into JS using daydream
  2. We add the generated code into a template (provided in this MR)
  3. We use nightmare to run the flow and test that it produces the desired results at each stage

I've started the MR with a simple example that checks the app is showing the homepage by looking for the Welcome to text inside the h1 tag. I will add other flows before removing the WIP.

Merge request reports