@@ -104,7 +104,10 @@ test("Idea Board uses DB-shaped accordion table ideas and notes", async ({ page
104104 await page . locator ( "[data-idea-board-idea-cell='top-thoughts']" ) . click ( ) ;
105105 await expect ( page . locator ( "[data-idea-board-expanded-row='top-thoughts']" ) ) . toBeVisible ( ) ;
106106 await expectIdeaChevron ( page , "top-thoughts" , "gfs-chevron-up.svg" ) ;
107- await expect ( page . locator ( "[data-idea-board-expanded-row='top-thoughts'] [data-idea-board-notes-header='top-thoughts']" ) ) . toHaveText ( "Notes" ) ;
107+ await expect ( page . locator ( "[data-idea-board-idea-row='top-thoughts'] + [data-idea-board-expanded-row='top-thoughts']" ) ) . toHaveCount ( 1 ) ;
108+ await expect ( page . locator ( "[data-idea-board-expanded-row='top-thoughts'] [data-idea-board-notes-header]" ) ) . toHaveCount ( 0 ) ;
109+ await expect ( page . locator ( "[data-idea-board-expanded-row='top-thoughts'] :is(h1,h2,h3,h4,h5,h6)" ) . filter ( { hasText : / ^ N o t e s $ / } ) ) . toHaveCount ( 0 ) ;
110+ await expect ( page . locator ( "[data-idea-board-expanded-row='top-thoughts'] > td > .content-stack" ) ) . toHaveCount ( 0 ) ;
108111 await expect ( page . locator ( "[data-idea-board-notes-table='top-thoughts'] th[scope='col']" ) ) . toHaveText ( [ "Note" , "Actions" ] ) ;
109112 await expect ( page . locator ( "[data-idea-board-notes-table] th[scope='col']" , { hasText : "Type" } ) ) . toHaveCount ( 0 ) ;
110113 await expect ( page . locator ( "[data-idea-board-notes-table] th[scope='col']" , { hasText : "Created By" } ) ) . toHaveCount ( 0 ) ;
@@ -139,6 +142,7 @@ test("Idea Board uses DB-shaped accordion table ideas and notes", async ({ page
139142 await page . locator ( "[data-idea-board-idea-cell='sky-orchard']" ) . click ( ) ;
140143 await expect ( page . locator ( "[data-idea-board-expanded-row='top-thoughts']" ) ) . toHaveCount ( 0 ) ;
141144 await expect ( page . locator ( "[data-idea-board-expanded-row='sky-orchard']" ) ) . toBeVisible ( ) ;
145+ await expect ( page . locator ( "[data-idea-board-idea-row='sky-orchard'] + [data-idea-board-expanded-row='sky-orchard']" ) ) . toHaveCount ( 1 ) ;
142146 await expectIdeaChevron ( page , "sky-orchard" , "gfs-chevron-up.svg" ) ;
143147 await page . locator ( "[data-idea-board-notes-count='sky-orchard']" ) . click ( ) ;
144148 await expect ( page . locator ( "[data-idea-board-expanded-row='sky-orchard']" ) ) . toBeVisible ( ) ;
0 commit comments