Add test scenarios

This commit is contained in:
Lauri Võsandi 2021-04-04 12:03:22 +00:00
parent 9bde906929
commit 7b81330b39
1 changed files with 16 additions and 0 deletions

View File

@ -5,11 +5,27 @@ pushes open door commands to door controllers.
# Testing endpoints
For manually testing something like this might help:
source .env
curl -f -H "KEY: $DOORBOY_SECRET" | md5sum
# Test scenarios
When updating doorboy proxy, members site or kdoorpi.
Verify follwing:
* Swiping unknown card shows up as unknown, it can be claimed on members site and it immediately can be used after claiming
* Card enable/disable on members site works and has effect
* Opening door via buttons at works and has effect
* Opening door via `/open-ground-door`, `/open-front-door` and `/open-back-door` commands in Slack channel #members works
* TODO: Keep door open via members site works and has effect
When testing changes prefer using the *back* door and
use a brick or something to keep it open to prevent
interfering with other members entering and exiting.
# Deploying