@@ -874,7 +874,7 @@ async function expectComposerActionsContained(): Promise<void> {
874874}
875875
876876async function waitForInteractionModeButton (
877- expectedLabel : "Chat " | "Plan" ,
877+ expectedLabel : "Build " | "Plan" ,
878878) : Promise < HTMLButtonElement > {
879879 return waitForElement (
880880 ( ) =>
@@ -2111,7 +2111,7 @@ describe("ChatView timeline estimator parity (full app)", () => {
21112111 } ) ;
21122112
21132113 try {
2114- const initialModeButton = await waitForInteractionModeButton ( "Chat " ) ;
2114+ const initialModeButton = await waitForInteractionModeButton ( "Build " ) ;
21152115 expect ( initialModeButton . title ) . toContain ( "enter plan mode" ) ;
21162116
21172117 window . dispatchEvent (
@@ -2124,7 +2124,7 @@ describe("ChatView timeline estimator parity (full app)", () => {
21242124 ) ;
21252125 await waitForLayout ( ) ;
21262126
2127- expect ( ( await waitForInteractionModeButton ( "Chat " ) ) . title ) . toContain ( "enter plan mode" ) ;
2127+ expect ( ( await waitForInteractionModeButton ( "Build " ) ) . title ) . toContain ( "enter plan mode" ) ;
21282128
21292129 const composerEditor = await waitForComposerEditor ( ) ;
21302130 composerEditor . focus ( ) ;
@@ -2140,7 +2140,7 @@ describe("ChatView timeline estimator parity (full app)", () => {
21402140 await vi . waitFor (
21412141 async ( ) => {
21422142 expect ( ( await waitForInteractionModeButton ( "Plan" ) ) . title ) . toContain (
2143- "return to normal chat mode" ,
2143+ "return to normal build mode" ,
21442144 ) ;
21452145 } ,
21462146 { timeout : 8_000 , interval : 16 } ,
@@ -2157,7 +2157,7 @@ describe("ChatView timeline estimator parity (full app)", () => {
21572157
21582158 await vi . waitFor (
21592159 async ( ) => {
2160- expect ( ( await waitForInteractionModeButton ( "Chat " ) ) . title ) . toContain ( "enter plan mode" ) ;
2160+ expect ( ( await waitForInteractionModeButton ( "Build " ) ) . title ) . toContain ( "enter plan mode" ) ;
21612161 } ,
21622162 { timeout : 8_000 , interval : 16 } ,
21632163 ) ;
0 commit comments