WIP: Automate flow testing (closes #15)
This MR introduces an automated flow testing setup.
It works like this:
- We translate a flow into JS using daydream
- We add the generated code into a template (provided in this MR)
- 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.