feat: add project-aware agent workspace
This commit is contained in:
@@ -605,11 +605,11 @@ test("stream completion and the plan card remain positionally stable", async ({
|
||||
.poll(() =>
|
||||
scrollToLatestButton.evaluate((element) => getComputedStyle(element).backdropFilter)
|
||||
)
|
||||
.toContain("blur(");
|
||||
.toBe("none");
|
||||
await expect
|
||||
.poll(() => scrollToLatestButton.evaluate((element) => getComputedStyle(element).boxShadow))
|
||||
.not.toBe("none");
|
||||
const readAcrylicMaterial = (element: HTMLElement) => {
|
||||
const readOverlayMaterial = (element: HTMLElement) => {
|
||||
const style = getComputedStyle(element);
|
||||
|
||||
return {
|
||||
@@ -692,8 +692,8 @@ test("stream completion and the plan card remain positionally stable", async ({
|
||||
await expect(speechSelectionButton).toBeVisible();
|
||||
await expect(speechSelectionButton).toHaveAttribute("data-agent-presentation", "desktop-dock");
|
||||
await expect(speechSelectionButton).toHaveCSS("border-top-width", "0px");
|
||||
expect(await speechSelectionButton.evaluate(readAcrylicMaterial)).toEqual(
|
||||
await scrollToLatestButton.evaluate(readAcrylicMaterial)
|
||||
expect(await speechSelectionButton.evaluate(readOverlayMaterial)).toEqual(
|
||||
await scrollToLatestButton.evaluate(readOverlayMaterial)
|
||||
);
|
||||
await page.screenshot({ path: "test-results/agent-history-ui/desktop-conversation.png" });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user