HomeIntent
HomeIntent copied to clipboard
Automated "First Boot" testing
It would be cool to have an automated test that would start the container, try to update some settings, maybe click on the logs page and execute a command to ensure the first install goes okay and works as expected.
Rough idea as to what we could test:
- Home Intent actually comes up and isn't stuck in a bootloop
- The UI loads and can be interacted with
- loads correctly with no config.yaml file
- can enable the timer and save
- a config.yaml gets generated
- it restarts HomeIntent
- the logs page loads
- an intent is executed and handled fired off correctly.
For now I'm doing this in a fresh container manually before cutting a release. I'm not entirely sure how to automate some of this and am open to ideas!