chore: update tests

This commit is contained in:
Mythie
2025-03-28 01:21:48 +11:00
parent ac3deb113e
commit 73f8518b47
2 changed files with 4 additions and 1 deletions

View File

@ -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');

View File

@ -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);