test: expect Deal label in journal review

This commit is contained in:
mirivlad 2026-07-14 23:13:59 +08:00
parent a0262b97b3
commit cd44ee3866
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ test.describe('UX Overview workspace flow', () => {
await expect(attention).toContainText('Deal: Project · 10 min · 2 activities');
await attention.locator('.overview-attention-row', { hasText: 'Possible journal entry' }).getByRole('button', { name: 'Review candidate' }).click();
await expect(page.getByRole('tab', { name: 'Journal' })).toHaveAttribute('aria-selected', 'true');
await expect(page.locator('.journal-root [data-journal-candidate]')).toContainText('Workspace: Project');
await expect(page.locator('.journal-root [data-journal-candidate]')).toContainText('Deal: Project');
await page.locator('.journal-modal-actions').getByRole('button', { name: 'Cancel' }).click();
await page.getByRole('tab', { name: 'Overview' }).click();