Commit ed9fdfb
test(support): add deleteUserPfx helper to remove user certificate
Add deleteUserPfx() to playwright/support/nc-provisioning.ts to send
DELETE /ocs/v2.php/apps/libresign/api/v1/account/pfx authenticated
as the target user. This ensures tests that require the certificate
creation flow always start from a clean state.
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>1 parent 39e2dfe commit ed9fdfb
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
146 | 159 | | |
147 | 160 | | |
148 | 161 | | |
| |||
0 commit comments