| ... | @@ -874,7 +874,7 @@ async function expectComposerActionsContained(): Promise<void> { | ... | @@ -874,7 +874,7 @@ async function expectComposerActionsContained(): Promise<void> { |
| 874 | } | 874 | } |
| 875 | | 875 | |
| 876 | async function waitForInteractionModeButton( | 876 | async function waitForInteractionModeButton( |
| 877 | expectedLabel: "Chat" | "Plan", | 877 | expectedLabel: "Build" | "Plan", |
| 878 | ): Promise<HTMLButtonElement> { | 878 | ): Promise<HTMLButtonElement> { |
| 879 | return waitForElement( | 879 | return waitForElement( |
| 880 | () => | 880 | () => |
| ... | @@ -2111,7 +2111,7 @@ describe("ChatView timeline estimator parity (full app)", () => { | ... | @@ -2111,7 +2111,7 @@ describe("ChatView timeline estimator parity (full app)", () => { |
| 2111 | }); | 2111 | }); |
| 2112 | | 2112 | |
| 2113 | try { | 2113 | try { |
| 2114 | const initialModeButton = await waitForInteractionModeButton("Chat"); | 2114 | const initialModeButton = await waitForInteractionModeButton("Build"); |
| 2115 | expect(initialModeButton.title).toContain("enter plan mode"); | 2115 | expect(initialModeButton.title).toContain("enter plan mode"); |
| 2116 | | 2116 | |
| 2117 | window.dispatchEvent( | 2117 | window.dispatchEvent( |
| ... | @@ -2124,7 +2124,7 @@ describe("ChatView timeline estimator parity (full app)", () => { | ... | @@ -2124,7 +2124,7 @@ describe("ChatView timeline estimator parity (full app)", () => { |
| 2124 | ); | 2124 | ); |
| 2125 | await waitForLayout(); | 2125 | await waitForLayout(); |
| 2126 | | 2126 | |
| 2127 | expect((await waitForInteractionModeButton("Chat")).title).toContain("enter plan mode"); | 2127 | expect((await waitForInteractionModeButton("Build")).title).toContain("enter plan mode"); |
| 2128 | | 2128 | |
| 2129 | const composerEditor = await waitForComposerEditor(); | 2129 | const composerEditor = await waitForComposerEditor(); |
| 2130 | composerEditor.focus(); | 2130 | composerEditor.focus(); |
| ... | @@ -2140,7 +2140,7 @@ describe("ChatView timeline estimator parity (full app)", () => { | ... | @@ -2140,7 +2140,7 @@ describe("ChatView timeline estimator parity (full app)", () => { |
| 2140 | await vi.waitFor( | 2140 | await vi.waitFor( |
| 2141 | async () => { | 2141 | async () => { |
| 2142 | expect((await waitForInteractionModeButton("Plan")).title).toContain( | 2142 | expect((await waitForInteractionModeButton("Plan")).title).toContain( |
| 2143 | "return to normal chat mode", | 2143 | "return to normal build mode", |
| 2144 | ); | 2144 | ); |
| 2145 | }, | 2145 | }, |
| 2146 | { timeout: 8_000, interval: 16 }, | 2146 | { timeout: 8_000, interval: 16 }, |
| ... | @@ -2157,7 +2157,7 @@ describe("ChatView timeline estimator parity (full app)", () => { | ... | @@ -2157,7 +2157,7 @@ describe("ChatView timeline estimator parity (full app)", () => { |
| 2157 | | 2157 | |
| 2158 | await vi.waitFor( | 2158 | await vi.waitFor( |
| 2159 | async () => { | 2159 | async () => { |
| 2160 | expect((await waitForInteractionModeButton("Chat")).title).toContain("enter plan mode"); | 2160 | expect((await waitForInteractionModeButton("Build")).title).toContain("enter plan mode"); |
| 2161 | }, | 2161 | }, |
| 2162 | { timeout: 8_000, interval: 16 }, | 2162 | { timeout: 8_000, interval: 16 }, |
| 2163 | ); | 2163 | ); |