Merge branch 'master' into agent/fix-remote-welcome-onboarding
This commit is contained in:
@@ -400,6 +400,17 @@ describe('web e2e: persisted subagent conversation and human continuation', () =
|
|||||||
const tree = page.getByRole('tree', { name: 'Subagent sessions' })
|
const tree = page.getByRole('tree', { name: 'Subagent sessions' })
|
||||||
const nestedRow = tree.getByRole('treeitem', { name: new RegExp(NESTED_LABEL) })
|
const nestedRow = tree.getByRole('treeitem', { name: new RegExp(NESTED_LABEL) })
|
||||||
expect(await nestedRow.locator(':scope > *').count()).toBe(1)
|
expect(await nestedRow.locator(':scope > *').count()).toBe(1)
|
||||||
|
const clickArea = nestedRow.locator(':scope > *')
|
||||||
|
const [treeBox, clickAreaBox] = await Promise.all([
|
||||||
|
tree.boundingBox(),
|
||||||
|
clickArea.boundingBox(),
|
||||||
|
])
|
||||||
|
expect(treeBox).not.toBeNull()
|
||||||
|
expect(clickAreaBox).not.toBeNull()
|
||||||
|
expect([
|
||||||
|
Math.round(clickAreaBox!.x - treeBox!.x),
|
||||||
|
Math.round(treeBox!.x + treeBox!.width - clickAreaBox!.x - clickAreaBox!.width),
|
||||||
|
]).toEqual([5, 5])
|
||||||
await compareOrRefreshGolden(
|
await compareOrRefreshGolden(
|
||||||
BRANCHLESS_EXPECTED,
|
BRANCHLESS_EXPECTED,
|
||||||
await captureStableAria(page, '[role="tree"][aria-label="Subagent sessions"]', scaffold.workspaceCwd),
|
await captureStableAria(page, '[role="tree"][aria-label="Subagent sessions"]', scaffold.workspaceCwd),
|
||||||
|
|||||||
@@ -67,7 +67,7 @@
|
|||||||
min-width: 0;
|
min-width: 0;
|
||||||
}
|
}
|
||||||
.menu > .node {
|
.menu > .node {
|
||||||
margin-left: -8px;
|
margin-left: -3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.row {
|
.row {
|
||||||
|
|||||||
Reference in New Issue
Block a user