Polish desktop workbench UI
This commit is contained in:
@@ -49,6 +49,15 @@ test.describe('Activity workflow', () => {
|
||||
sourcePluginId: 'verstak.files',
|
||||
workspaceRootPath: 'Project',
|
||||
},
|
||||
{
|
||||
activityId: 'activity-e2e-open',
|
||||
occurredAt: '2026-06-30T08:30:00.000Z',
|
||||
type: 'file.opened',
|
||||
title: 'Selected file',
|
||||
summary: 'Project/Notes/Research Capture.md',
|
||||
sourcePluginId: 'verstak.files',
|
||||
workspaceRootPath: 'Project',
|
||||
},
|
||||
],
|
||||
});
|
||||
});
|
||||
@@ -59,6 +68,7 @@ test.describe('Activity workflow', () => {
|
||||
await expect(activity.locator('.activity-count')).toHaveText('2 events');
|
||||
await expect(activity.locator('[data-activity-id="activity-e2e-capture"]')).toContainText('Research Capture');
|
||||
await expect(activity.locator('[data-activity-id="activity-e2e-note"]')).toContainText('Saved note');
|
||||
await expect(activity.locator('[data-activity-id="activity-e2e-open"]')).toHaveCount(0);
|
||||
await expect(activity.locator('[data-activity-section="worklog-suggestions"]')).toContainText('Worklog suggestions');
|
||||
await expect(activity.locator('[data-worklog-suggestion="worklog:Project:2026-06-30"]')).toContainText('Project work on 2026-06-30');
|
||||
await expect(activity.locator('[data-worklog-suggestion="worklog:Project:2026-06-30"]')).toContainText('50 min');
|
||||
|
||||
@@ -97,9 +97,9 @@ test.describe('UX quick wins', () => {
|
||||
await page.goto('/');
|
||||
await page.waitForSelector('.vault-selection', { timeout: 10000 });
|
||||
|
||||
await expect(page.getByText('Выберите vault для начала работы')).toBeVisible();
|
||||
await expect(page.getByRole('button', { name: 'Создать vault' })).toBeVisible();
|
||||
await expect(page.getByRole('button', { name: 'Открыть существующий' })).toBeVisible();
|
||||
await expect(page.getByText('Choose a vault to start working')).toBeVisible();
|
||||
await expect(page.getByRole('button', { name: 'Create vault' })).toBeVisible();
|
||||
await expect(page.getByRole('button', { name: 'Open existing' })).toBeVisible();
|
||||
await page.close();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user