Open tadhg-ohiggins opened 9 months ago
Given user clicks on unlock
And user is taken to unlock-after-certification
At this point, the test would involve the user going back to /audit/ to verify the Unlock icon and link are present? Is this right?
@tadhg-ohiggins does this sound about right?
After they hit “Unlock submission”, the test would involve going back to /audit/
and verifying that the status is now “In Progress”, since that's the status unlocking moves a submission to.
Progress so far..
https://github.com/GSA-TTS/FAC/assets/99770283/85325118-2cf8-477e-b5e3-610259c7c92b
bit of trickery i've encountered before is selecting from the table the right associated audit, not sure how the table populates or orders the audits
We need Cypress coverage for the unlock icon that shows up after a user hits the “ready for certification” button (but before any further certification happens).
This means bringing a submission through to the point where that button gets pressed, but then going back to
/audit/
and verifying that the unlock icon and link to the unlock page are present.Ensuring that the lock goes away and that the submission is editable after the unlock flow would also be good.