@@ -50,7 +50,7 @@ test.describe('Release Notifications', () => {
5050 await expect ( helpMenu ) . toBeVisible ( )
5151
5252 // Verify "What's New?" section shows the release
53- const whatsNewSection = comfyPage . page . locator ( '. whats-new-section')
53+ const whatsNewSection = comfyPage . page . getByTestId ( ' whats-new-section')
5454 await expect ( whatsNewSection ) . toBeVisible ( )
5555
5656 // Should show the release version
@@ -79,7 +79,7 @@ test.describe('Release Notifications', () => {
7979 await expect ( helpMenu ) . toBeVisible ( )
8080
8181 // Verify "What's New?" section shows no releases
82- const whatsNewSection = comfyPage . page . locator ( '. whats-new-section')
82+ const whatsNewSection = comfyPage . page . getByTestId ( ' whats-new-section')
8383 await expect ( whatsNewSection ) . toBeVisible ( )
8484
8585 // Should show "No recent releases" message
@@ -125,7 +125,7 @@ test.describe('Release Notifications', () => {
125125 await expect ( helpMenu ) . toBeVisible ( )
126126
127127 // Should show no releases due to error
128- const whatsNewSection = comfyPage . page . locator ( '. whats-new-section')
128+ const whatsNewSection = comfyPage . page . getByTestId ( ' whats-new-section')
129129 await expect (
130130 whatsNewSection . locator ( 'text=No recent releases' )
131131 ) . toBeVisible ( )
@@ -175,7 +175,7 @@ test.describe('Release Notifications', () => {
175175 await expect ( helpMenu ) . toBeVisible ( )
176176
177177 // Verify "What's New?" section is hidden
178- const whatsNewSection = comfyPage . page . locator ( '. whats-new-section')
178+ const whatsNewSection = comfyPage . page . getByTestId ( ' whats-new-section')
179179 await expect ( whatsNewSection ) . not . toBeVisible ( )
180180
181181 // Should not show any popups or toasts
@@ -263,7 +263,7 @@ test.describe('Release Notifications', () => {
263263 await expect ( helpMenu ) . toBeVisible ( )
264264
265265 // Verify "What's New?" section is visible
266- const whatsNewSection = comfyPage . page . locator ( '. whats-new-section')
266+ const whatsNewSection = comfyPage . page . getByTestId ( ' whats-new-section')
267267 await expect ( whatsNewSection ) . toBeVisible ( )
268268
269269 // Should show the release
@@ -311,7 +311,7 @@ test.describe('Release Notifications', () => {
311311 await helpCenterButton . click ( )
312312
313313 // Verify "What's New?" section is visible
314- const whatsNewSection = comfyPage . page . locator ( '. whats-new-section')
314+ const whatsNewSection = comfyPage . page . getByTestId ( ' whats-new-section')
315315 await expect ( whatsNewSection ) . toBeVisible ( )
316316
317317 // Close help center
@@ -362,7 +362,7 @@ test.describe('Release Notifications', () => {
362362 await expect ( helpMenu ) . toBeVisible ( )
363363
364364 // Section should be hidden regardless of empty releases
365- const whatsNewSection = comfyPage . page . locator ( '. whats-new-section')
365+ const whatsNewSection = comfyPage . page . getByTestId ( ' whats-new-section')
366366 await expect ( whatsNewSection ) . not . toBeVisible ( )
367367 } )
368368} )
0 commit comments