@@ -416,12 +416,10 @@ test("Idea Board uses accordion table ideas and notes", async ({ page }) => {
416416 await expect ( activeGameToggle ) . toHaveText ( "Lantern Reef" ) ;
417417 await activeGameToggle . click ( ) ;
418418 let expandedRows = page . locator ( "[data-game-expanded-row]" ) ;
419- await expect ( expandedRows ) . toHaveCount ( 3 ) ;
420- await expect ( expandedRows . nth ( 0 ) ) . toHaveAttribute ( "data-game-child-row" , "summary" ) ;
421- await expect ( expandedRows . nth ( 1 ) ) . toHaveAttribute ( "data-game-child-row" , "source-idea" ) ;
422- await expect ( expandedRows . nth ( 2 ) ) . toHaveAttribute ( "data-game-child-row" , "readiness-output" ) ;
423- await expect ( expandedRows . nth ( 0 ) . locator ( "[data-game-child-table='summary'] caption" ) ) . toHaveText ( "Game Summary" ) ;
424- let sourceIdeaChildTable = expandedRows . nth ( 1 ) . locator ( "[data-game-child-table='source-idea']" ) ;
419+ await expect ( expandedRows ) . toHaveCount ( 2 ) ;
420+ await expect ( expandedRows . nth ( 0 ) ) . toHaveAttribute ( "data-game-child-row" , "source-idea" ) ;
421+ await expect ( expandedRows . nth ( 1 ) ) . toHaveAttribute ( "data-game-child-row" , "readiness-output" ) ;
422+ let sourceIdeaChildTable = expandedRows . nth ( 0 ) . locator ( "[data-game-child-table='source-idea']" ) ;
425423 await expect ( sourceIdeaChildTable . locator ( "caption" ) ) . toHaveText ( "Source Idea" ) ;
426424 await expect ( sourceIdeaChildTable . locator ( "thead th" ) ) . toHaveText ( [ "Context" , "Details" ] ) ;
427425 await expect ( sourceIdeaChildTable . locator ( "tbody tr" ) ) . toHaveText ( [
@@ -430,7 +428,7 @@ test("Idea Board uses accordion table ideas and notes", async ({ page }) => {
430428 "Note 1Use dusk tide changes as the first Game Hub planning note." ,
431429 ] ) ;
432430 await expect ( sourceIdeaChildTable . locator ( ":is(input, textarea, select, button)" ) ) . toHaveCount ( 0 ) ;
433- await expect ( expandedRows . nth ( 2 ) . locator ( "[data-game-child-table='readiness-output'] caption" ) ) . toHaveText ( "Readiness Output" ) ;
431+ await expect ( expandedRows . nth ( 1 ) . locator ( "[data-game-child-table='readiness-output'] caption" ) ) . toHaveText ( "Readiness Output" ) ;
434432 await page . reload ( { waitUntil : "networkidle" } ) ;
435433 await expect ( page . locator ( "[data-active-game-name]" ) ) . toHaveCount ( 0 ) ;
436434 await expect ( page . locator ( "[data-game-list]" ) ) . toContainText ( "Lantern Reef" ) ;
@@ -439,8 +437,8 @@ test("Idea Board uses accordion table ideas and notes", async ({ page }) => {
439437 await expect ( page . locator ( "[data-game-hub-foundation]" ) ) . toHaveCount ( 0 ) ;
440438 await activeGameToggle . click ( ) ;
441439 expandedRows = page . locator ( "[data-game-expanded-row]" ) ;
442- await expect ( expandedRows ) . toHaveCount ( 3 ) ;
443- sourceIdeaChildTable = expandedRows . nth ( 1 ) . locator ( "[data-game-child-table='source-idea']" ) ;
440+ await expect ( expandedRows ) . toHaveCount ( 2 ) ;
441+ sourceIdeaChildTable = expandedRows . nth ( 0 ) . locator ( "[data-game-child-table='source-idea']" ) ;
444442 await expect ( sourceIdeaChildTable . locator ( "tbody tr" ) ) . toHaveText ( [
445443 "IdeaLantern Reef" ,
446444 "PitchGuide light through a reef that rearranges at dusk." ,
0 commit comments