Closed becky-gilbert closed 5 months ago
@ianchandlercampbell oh sorry, I totally agree and I'm not actually requiring the user to re-approve permissions! I only disabled my own permissions for testing purposes, and so that the page stayed in the 'not ready to record' state for long enough for me to take a screenshot. The permissions will work exactly the same as before.
Hmm, I edited the PR description to include a lot more detail and screenshots, but for some reason my updates are gone :( I'll update it again ASAP to reflect what I've actually done.
Oh sorry @becky-gilbert I clearly read too fast! I see that's part of testing
Fixes #387
Summary
This PR fixes the problem with blank consent videos with the following changes:
video-consent
video-assent
recordLastPage
is true), or start recording and then trigger the first consent page after recording has started (ifrecordWholeProcedure
is true).Testing steps
I've done this testing locally on Firefox and Chrome. I will repeat these tests on staging/production once the code is reviewed.
video-consent
video-assent
record whole procedure
recordWholeProcedure: true
.record last page
recordLastPage: true
.no recording
session recording
For all tests
Screenshots
Here's what video-consent looks like before the recorder is ready. (It's a little hard to tell, but the 'start consent recording' button is disabled.)
The browser permissions request is just there because I intentionally revoked the permissions to stop the recorder from being ready while I got a screenshot - if the permissions were already granted then they will not be requested again!
Here's what video-assent looks like when trial recording is used and the recorder is not ready.
The browser permissions request is just there because I intentionally revoked the permissions to stop the recorder from being ready while I got a screenshot - if the permissions were already granted then they will not be requested again!