Skip to content

Commit 553a442

Browse files
test(e2e): expand signer01 details and assert validation items after signing
After signer01 signs and the validation page loads: - Click 'Expand details of Signer 01' (verifies the new accessible label) - Expand validation status and assert 'Document integrity verified' link - Expand document certification and assert 'Document has not been' link Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent f049142 commit 553a442

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

playwright/e2e/multi-signer-sequential.spec.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,12 @@ test('request signatures from two signers in sequential order', async ({ page })
8989
await expect(page.getByText('This document is valid')).toBeVisible()
9090
// Signer01 signed; signer02 is still waiting (sequential mode proof at this point)
9191
await expect(page.getByText('Signer 01')).toBeVisible()
92+
await page.getByRole('button', { name: 'Expand details of Signer 01' }).click()
93+
await page.getByRole('button', { name: 'Expand validation status', exact: true }).click();
94+
await page.getByRole('link', { name: 'Document integrity verified' }).click();
95+
await page.getByRole('button', { name: 'Expand document certification', exact: true }).click();
96+
await page.getByRole('link', { name: 'Document has not been' }).click();
97+
9298
await expect(page.getByText('Signer 02')).toBeVisible()
9399
await expect(page.getByText('Not signed yet')).toBeVisible()
94100

0 commit comments

Comments
 (0)