@@ -866,7 +866,7 @@ async function expectComposerActionsContained(): Promise<void> {
866866}
867867
868868async function waitForInteractionModeButton (
869- expectedLabel : "Code " | "Plan" ,
869+ expectedLabel : "Build " | "Plan" ,
870870) : Promise < HTMLButtonElement > {
871871 return waitForElement (
872872 ( ) =>
@@ -2096,7 +2096,7 @@ describe("ChatView timeline estimator parity (full app)", () => {
20962096 } ) ;
20972097
20982098 try {
2099- const initialModeButton = await waitForInteractionModeButton ( "Code " ) ;
2099+ const initialModeButton = await waitForInteractionModeButton ( "Build " ) ;
21002100 expect ( initialModeButton . title ) . toContain ( "enter plan mode" ) ;
21012101
21022102 window . dispatchEvent (
@@ -2109,7 +2109,7 @@ describe("ChatView timeline estimator parity (full app)", () => {
21092109 ) ;
21102110 await waitForLayout ( ) ;
21112111
2112- expect ( ( await waitForInteractionModeButton ( "Code " ) ) . title ) . toContain ( "enter plan mode" ) ;
2112+ expect ( ( await waitForInteractionModeButton ( "Build " ) ) . title ) . toContain ( "enter plan mode" ) ;
21132113
21142114 const composerEditor = await waitForComposerEditor ( ) ;
21152115 composerEditor . focus ( ) ;
@@ -2125,7 +2125,7 @@ describe("ChatView timeline estimator parity (full app)", () => {
21252125 await vi . waitFor (
21262126 async ( ) => {
21272127 expect ( ( await waitForInteractionModeButton ( "Plan" ) ) . title ) . toContain (
2128- "return to normal code mode" ,
2128+ "return to normal build mode" ,
21292129 ) ;
21302130 } ,
21312131 { timeout : 8_000 , interval : 16 } ,
@@ -2142,7 +2142,7 @@ describe("ChatView timeline estimator parity (full app)", () => {
21422142
21432143 await vi . waitFor (
21442144 async ( ) => {
2145- expect ( ( await waitForInteractionModeButton ( "Code " ) ) . title ) . toContain ( "enter plan mode" ) ;
2145+ expect ( ( await waitForInteractionModeButton ( "Build " ) ) . title ) . toContain ( "enter plan mode" ) ;
21462146 } ,
21472147 { timeout : 8_000 , interval : 16 } ,
21482148 ) ;
0 commit comments