File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,7 +56,17 @@ scenario(
5656 } ) ;
5757
5858 await step ( "Create the first org → canonical dashboard at /<slug>" , async ( ) => {
59- await page . getByPlaceholder ( "Northwind Labs" ) . fill ( "Flow Test Org" ) ;
59+ const orgName = "Flow Test Org" ;
60+ const orgNameInput = page . getByPlaceholder ( "Northwind Labs" ) ;
61+ await page . waitForLoadState ( "networkidle" ) ;
62+ await orgNameInput . fill ( orgName ) ;
63+ await page . waitForTimeout ( 250 ) ;
64+ if ( ( await orgNameInput . inputValue ( ) ) !== orgName ) {
65+ await orgNameInput . fill ( orgName ) ;
66+ }
67+ expect ( await orgNameInput . inputValue ( ) , "org name survives create-org hydration" ) . toBe (
68+ orgName ,
69+ ) ;
6070 await page . getByRole ( "button" , { name : "Create organization" } ) . click ( ) ;
6171 await page . getByText ( "Connect your MCP client" ) . waitFor ( { timeout : 30_000 } ) ;
6272 await page . getByRole ( "button" , { name : "Continue to app" } ) . click ( ) ;
You can’t perform that action at this time.
0 commit comments