Skip to content

Commit b28a19b

Browse files
committed
Fix another test expecting saved site to be first in overlay
1 parent bd00a16 commit b28a19b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/playground/website/playwright/e2e/opfs.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,8 @@ test('should save site with custom name', async ({ website, browserName }) => {
351351
// Verify the name also appears in the saved playgrounds overlay
352352
await website.openSavedPlaygroundsOverlay();
353353
await expect(
354-
website.page.locator('[class*="siteRowName"]').first()
355-
).toContainText(customName);
354+
website.page.locator('[class*="siteRowName"]', { hasText: customName })
355+
).toBeVisible();
356356
await website.closeSavedPlaygroundsOverlay();
357357
});
358358

0 commit comments

Comments
 (0)