story-kit: merge 204_story_rename_storkit_branding_to_story_kit
This commit is contained in:
@@ -136,9 +136,9 @@ describe("ChatHeader", () => {
|
|||||||
expect(screen.getByText("Built: 2026-01-01 00:00")).toBeInTheDocument();
|
expect(screen.getByText("Built: 2026-01-01 00:00")).toBeInTheDocument();
|
||||||
});
|
});
|
||||||
|
|
||||||
it("displays StorkIt branding in the header", () => {
|
it("displays Story Kit branding in the header", () => {
|
||||||
render(<ChatHeader {...makeProps()} />);
|
render(<ChatHeader {...makeProps()} />);
|
||||||
expect(screen.getByText("StorkIt")).toBeInTheDocument();
|
expect(screen.getByText("Story Kit")).toBeInTheDocument();
|
||||||
});
|
});
|
||||||
|
|
||||||
it("shows disabled placeholder when claudeModels is empty and no API key", () => {
|
it("shows disabled placeholder when claudeModels is empty and no API key", () => {
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ export function ChatHeader({
|
|||||||
letterSpacing: "0.02em",
|
letterSpacing: "0.02em",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
StorkIt
|
Story Kit
|
||||||
</span>
|
</span>
|
||||||
<div
|
<div
|
||||||
title={projectPath}
|
title={projectPath}
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ function makeProps(
|
|||||||
describe("SelectionScreen", () => {
|
describe("SelectionScreen", () => {
|
||||||
it("renders the title and description", () => {
|
it("renders the title and description", () => {
|
||||||
render(<SelectionScreen {...makeProps()} />);
|
render(<SelectionScreen {...makeProps()} />);
|
||||||
expect(screen.getByText("StorkIt")).toBeInTheDocument();
|
expect(screen.getByText("Story Kit")).toBeInTheDocument();
|
||||||
expect(
|
expect(
|
||||||
screen.getByText("Paste or complete a project path to start."),
|
screen.getByText("Paste or complete a project path to start."),
|
||||||
).toBeInTheDocument();
|
).toBeInTheDocument();
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ export function SelectionScreen({
|
|||||||
className="selection-screen"
|
className="selection-screen"
|
||||||
style={{ padding: "2rem", maxWidth: "800px", margin: "0 auto" }}
|
style={{ padding: "2rem", maxWidth: "800px", margin: "0 auto" }}
|
||||||
>
|
>
|
||||||
<h1>StorkIt</h1>
|
<h1>Story Kit</h1>
|
||||||
<p>Paste or complete a project path to start.</p>
|
<p>Paste or complete a project path to start.</p>
|
||||||
|
|
||||||
{knownProjects.length > 0 && (
|
{knownProjects.length > 0 && (
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ test.describe("App boot smoke test", () => {
|
|||||||
test("renders the project selection screen", async ({ page }) => {
|
test("renders the project selection screen", async ({ page }) => {
|
||||||
await page.goto("/");
|
await page.goto("/");
|
||||||
|
|
||||||
await expect(page.getByText("StorkIt")).toBeVisible();
|
await expect(page.getByText("Story Kit")).toBeVisible();
|
||||||
await expect(page.getByPlaceholder("/path/to/project")).toBeVisible();
|
await expect(page.getByPlaceholder("/path/to/project")).toBeVisible();
|
||||||
await expect(
|
await expect(
|
||||||
page.getByRole("button", { name: "Open Project" }),
|
page.getByRole("button", { name: "Open Project" }),
|
||||||
|
|||||||
Reference in New Issue
Block a user