Skip to content

Commit f83f253

Browse files
committed
test: cover forgot password certificate actions
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 7ab123f commit f83f253

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

playwright/e2e/sign-herself-with-pkcs12-certificate.spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ test('sign herself with pkcs12 certificate', async ({ page }) => {
5252
await page.getByRole('button', { name: 'Confirm' }).click()
5353
await page.getByRole('button', { name: 'Sign the document.' }).click()
5454
await page.getByLabel('Signature password').fill('Password1234')
55+
await page.getByText('Forgot password?').click()
56+
await expect(page.getByRole('button', { name: 'Read certificate' })).toBeVisible()
57+
await expect(page.getByRole('button', { name: 'Delete certificate' })).toBeVisible()
5558
await page.getByRole('button', { name: 'Sign document' }).click()
5659
await page.waitForURL('**/validation/**')
5760
await expect(page.getByText('This document is valid')).toBeVisible()

0 commit comments

Comments
 (0)