The Open Source DocuSign Alternative.
TypeScript digital-signaturedocument-signingdocusign-alternativee-signatureesignesignaturenext-authnextjsopen-sourcepades-standardpdfpdf-signpdf-signaturepostgresqlprismaself-hostedsigningtypescript
chore: update tests
Mythiefdb31772db0e
diff --git a/packages/app-tests/e2e/document-auth/next-recipient-dictation.spec.ts b/packages/app-tests/e2e/document-auth/next-recipient-dictation.spec.tsindex 28ede1f5f..3f3b47724 100644--- a/packages/app-tests/e2e/document-auth/next-recipient-dictation.spec.ts+++ b/packages/app-tests/e2e/document-auth/next-recipient-dictation.spec.ts@@ -343,11 +343,14 @@ test('[NEXT_RECIPIENT_DICTATION]: should allow assistant to dictate next signer'await expect(page.getByRole('dialog')).toBeVisible();await expect(page.getByText('The next recipient to sign this document will be')).toBeVisible();+ // Update next recipient+ await page.locator('button').filter({ hasText: 'Update Recipient' }).click();+ await page.waitForTimeout(1000);+// Use dialog context to ensure we're targeting the correct form fieldsconst dialog = page.getByRole('dialog');- await dialog.getByRole('button', { name: 'Update Recipient' }).click();- await dialog.getByLabel('Name').fill('New Signer');- await dialog.getByLabel('Email').fill('[email protected]');+ await dialog.getByLabel('Name').fill('New Recipient');+ await dialog.getByLabel('Email').fill('[email protected]');// Submit and verify completionawait page.getByRole('button', { name: /Continue|Proceed/i }).click();