diff --git a/apps/web/src/components/chat/ComposerBannerStack.browser.test.tsx b/apps/web/src/components/chat/ComposerBannerStack.browser.test.tsx
index 78b68cb5938cb..b18641811b694 100644
--- a/apps/web/src/components/chat/ComposerBannerStack.browser.test.tsx
+++ b/apps/web/src/components/chat/ComposerBannerStack.browser.test.tsx
@@ -12,7 +12,6 @@ import {
NoticeText,
type ComposerBannerStackItem,
} from "./ComposerBannerStack";
-import { ComposerSurface } from "./ComposerSurface";
function notice(title: string, group?: ComposerBannerStackItem["group"]): ComposerBannerStackItem {
return { id: title, variant: "default", icon: , title, ...(group ? { group } : {}) };
@@ -31,30 +30,6 @@ it("puts machine notices first, whatever order the notices arrive in", async ()
await expect.element(screen.getByText("Branch changed", { exact: true })).toBeVisible();
});
-it("keeps the tray's top edge without leaving an empty notice region", async () => {
- await using screen = await render(
-
-
-
-
-
- Message
-
- Branch
- ,
- );
-
- const tray = screen.getByTestId("tray").element();
- const surface = getComputedStyle(tray);
- const rim = getComputedStyle(tray, "::after");
- expect(rim.borderTopWidth).toBe("1px");
- expect(surface.borderTopLeftRadius).not.toBe("0px");
- expect(screen.getByTestId("notices").element().getBoundingClientRect().height).toBe(0);
- expect(screen.getByTestId("composer").element().getBoundingClientRect().top).toBe(
- tray.getBoundingClientRect().top,
- );
-});
-
function noticeRow(width: string, children: ReactNode) {
return (
diff --git a/apps/web/src/components/chat/MessagesTimeline.browser.test.tsx b/apps/web/src/components/chat/MessagesTimeline.browser.test.tsx
index 098c63505f9b6..89fca29681558 100644
--- a/apps/web/src/components/chat/MessagesTimeline.browser.test.tsx
+++ b/apps/web/src/components/chat/MessagesTimeline.browser.test.tsx
@@ -63,7 +63,6 @@ import {
decodeComposerContextFragment,
} from "@t3tools/shared/composerContextClipboard";
import { collectComposerContextReferences } from "@t3tools/shared/composerContextReferences";
-import { useRightPanelStore } from "../../rightPanelStore";
const environmentQuery = vi.hoisted(() => ({
error: "Pull request not found" as string | null,
@@ -1023,35 +1022,6 @@ describe("MessagesTimeline messages", () => {
expect(turns).toEqual(turns.toSorted((a, b) => a - b));
});
- it("opens standalone skill details and its instructions", async () => {
- setup();
- const threadRef = {
- environmentId: ENVIRONMENT_ID,
- threadId: ThreadId.make("thread-skill"),
- };
- await using screen = await renderTimeline([message("$review")], {
- routeThreadKey: "environment-local:thread-skill",
- skills: [
- {
- name: "review",
- displayName: "Review",
- description: "Reviews the current branch.",
- path: "/skills/review/SKILL.md",
- enabled: true,
- },
- ],
- });
- using openFile = vi
- .spyOn(useRightPanelStore.getState(), "openFile")
- .mockImplementation(() => {});
-
- await userEvent.click(screen.getByRole("button", { name: "Skill Review. Show details" }));
- await expect.element(page.getByText("Reviews the current branch.")).toBeVisible();
- await userEvent.click(page.getByRole("button", { name: "View instructions" }));
-
- expect(openFile).toHaveBeenCalledExactlyOnceWith(threadRef, "/skills/review/SKILL.md");
- });
-
it("preserves XML-like tags and comparisons in user messages as text", async () => {
const source = [
'Without reading a file, do you have ',