This repository was archived by the owner on Apr 15, 2026. It is now read-only.
Improve diff panel: button spacing, click feedback, and reviewed file marking#110
Merged
Merged
Annotations
4 errors and 2 notices
|
packages/ui/e2e/stage-operations.spec.ts#L49
2) [chromium] › e2e/stage-operations.spec.ts:39:3 › Stage Operations (Diff Overlay) › restores a hunk via per-hunk controls (Zed-style)
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('[data-testid="diff-file"][data-diff-file-path="src/components/Example.tsx"]').locator('[data-testid="diff-hunk-restore"]').first()
- locator resolved to <button type="button" title="Restore" data-testid="diff-hunk-restore" class="st-icon-button st-focus-ring !w-5 !h-5 disabled:opacity-40">…</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action
- waiting 100ms
55 × waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action
- waiting 500ms
47 | const restore = fileRoot.locator('[data-testid="diff-hunk-restore"]').first();
48 | await expect(restore).toBeVisible();
> 49 | await restore.click();
| ^
50 |
51 | const lastCall = await page.evaluate(() => (window as any).__e2e_lastRestoreHunk);
52 | expect(lastCall?.options?.filePath).toBe('src/components/Example.tsx');
at /home/runner/work/snowtree/snowtree/packages/ui/e2e/stage-operations.spec.ts:49:19
|
|
packages/ui/e2e/stage-operations.spec.ts#L0
2) [chromium] › e2e/stage-operations.spec.ts:39:3 › Stage Operations (Diff Overlay) › restores a hunk via per-hunk controls (Zed-style)
Test timeout of 30000ms exceeded.
|
|
packages/ui/e2e/stage-operations.spec.ts#L30
1) [chromium] › e2e/stage-operations.spec.ts:20:3 › Stage Operations (Diff Overlay) › stages a hunk via per-hunk controls (Zed-style)
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('[data-testid="diff-file"][data-diff-file-path="src/components/Example.tsx"]').locator('[data-testid="diff-hunk-stage"]').first()
- locator resolved to <button type="button" title="Stage" data-testid="diff-hunk-stage" class="st-icon-button st-focus-ring !w-5 !h-5 disabled:opacity-40">…</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action
- waiting 100ms
55 × waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action
- waiting 500ms
28 | const stage = fileRoot.locator('[data-testid="diff-hunk-stage"]').first();
29 | await expect(stage).toBeVisible();
> 30 | await stage.click();
| ^
31 |
32 | const lastCall = await page.evaluate(() => (window as any).__e2e_lastStageHunk);
33 | expect(lastCall?.options?.filePath).toBe('src/components/Example.tsx');
at /home/runner/work/snowtree/snowtree/packages/ui/e2e/stage-operations.spec.ts:30:17
|
|
packages/ui/e2e/stage-operations.spec.ts#L0
1) [chromium] › e2e/stage-operations.spec.ts:20:3 › Stage Operations (Diff Overlay) › stages a hunk via per-hunk controls (Zed-style)
Test timeout of 30000ms exceeded.
|
|
|
|
|
The logs for this run have expired and are no longer available.
Loading