Open Abi-Nada opened 2 days ago
Noting for QA --- testing without using the actual API
We can mimic using the API by performing actions i.e. download, confirm etc... using "vault mode" i.e form without an API key generated.
For example to test "API confirmed page"
Create a form
Keeps response delivery as "vault"
Create some test responses
Confirm the responses (still using vault setup) ...
You now have confirmed responses
Generate an API key ... Your now in API "mode" ...
Re-visit the responses page
You should now see the API responses "confirmed page"
New "never confirmed"
New "no responses"
Create a form
Generate a key
Create some test responses
You should land on "noresponses available" API card view
"Mixed" ---
Before QA Testing: Check in with @bryan-robitaille on updating the IDP and the project ID
For local testing
I tested 6 different possible states for the API responses page
A)
B)
C)
D)
E)
F)
Some states we might want to test:
[Draft card]