opencode/packages/session-ui/component-tests/line-comment-v2.spec.ts
2026-09-02 15:18:46 +08:00

6 lines
321 B
TypeScript

import { expect, story } from "../../storybook/playwright/story"
story("renders the line comment cancel action as a ghost button", async ({ mount }) => {
const root = await mount("ui-line-comment--editor-filled")
await expect(root.getByRole("button", { name: "Cancel" })).toHaveAttribute("data-variant", "ghost")
})