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.ts index e9f3ec6c8..28ede1f5f 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 @@ -315,6 +315,8 @@ test('[NEXT_RECIPIENT_DICTATION]: should allow assistant to dictate next signer' await page.goto(signUrl); await expect(page.getByRole('heading', { name: 'Assist Document' })).toBeVisible(); + await page.waitForTimeout(1000); + await page.getByRole('radio', { name: assistantRecipient.name }).click(); // Fill in all fields @@ -343,6 +345,7 @@ test('[NEXT_RECIPIENT_DICTATION]: should allow assistant to dictate next signer' // Use dialog context to ensure we're targeting the correct form fields const dialog = page.getByRole('dialog'); + await dialog.getByRole('button', { name: 'Update Recipient' }).click(); await dialog.getByLabel('Name').fill('New Signer'); await dialog.getByLabel('Email').fill('new.signer@example.com'); diff --git a/packages/app-tests/e2e/teams/team-signature-settings.spec.ts b/packages/app-tests/e2e/teams/team-signature-settings.spec.ts index 6ecce08ad..61a85bb42 100644 --- a/packages/app-tests/e2e/teams/team-signature-settings.spec.ts +++ b/packages/app-tests/e2e/teams/team-signature-settings.spec.ts @@ -150,7 +150,7 @@ test('[TEAMS]: check signature modes work for templates', async ({ page }) => { // Wait for finish await page.getByText('Document preferences updated').waitFor({ state: 'visible' }); - await page.getByTestId('toast-close').click(); + await page.waitForTimeout(1000); const template = await seedTeamTemplateWithMeta(team);