fix(coverage): line the column headers up with their cells again (#5939)

The Coverage header kept a 10px scrollbar gutter for the tree's native scrollbar, which #5850 replaced with a DOM scrollbar drawn over the rows, so every header sat 10px left of its cells.

Also updates two agent e2e specs that failed on main: a reasoning step and its command now fold into one run (#5906), and the tool-window focus spec clicks reply text instead of a point that can land on a message's footer button.
Цей коміт міститься в:
l0ng-ai authored and GitHub committed 2026-11-26 01:33:30 +08:00
1 джерело b49b0e5c98
коміт 9740edbfd4
3 files changed
+7 -10

No files matched your search

+5 -1
Переглянути файл
@@ -162,7 +162,11 @@ for (const placement of ["editor", "toolWindow"] as const) {
const history = conversation(page);
for (const range of [false, true]) {
const expected = await selectDraft(box, range);
await history.click({ position: { x: 12, y: 20 } });
// Click reply text: at a fixed point of the narrow tool window a message's footer buttons can sit.
await history
.getByText(/^Reply \d+$/)
.last()
.click();
await expect(history).toBeFocused();
await history.press("Home");
await expect.poll(() => history.evaluate((element) => element.scrollTop)).toBe(0);
+2 -2
Переглянути файл
@@ -794,8 +794,8 @@ test("Find in Conversation skips user-select:none summaries and closed <details>
}, TASK);
const stream = page.locator("[class*='_stream_']:visible");
// A command is its own row, outside the reasoning's run.
await expect(stream.getByText("stop_bash")).toBeVisible();
// The reasoning and the command fold into one run.
await expect(stream.getByText("1 other tool call")).toBeVisible();
await stream.focus();
await page.keyboard.press("Meta+f");
-7
Переглянути файл
@@ -38,13 +38,6 @@
border-bottom: 1px solid var(--border);
overflow: hidden;
}
.header,
.tree [role="tree"] {
scrollbar-gutter: stable;
}
.header::-webkit-scrollbar {
width: 10px;
}
.heading {
position: relative;
min-width: 0;