Skip to content

Commit d8d6d21

Browse files
test: fix assertion for webkit and chrome.
1 parent 13a501e commit d8d6d21

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

playwright/rendering-modes.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ test('children runtime errors recover after module fix and mode switches', async
854854

855855
await expect(page.getByRole('status', { name: 'App status' })).toHaveText('Error')
856856
await expect(page.locator('#preview-host pre')).toContainText(
857-
'[runtime] children is not defined',
857+
/\[runtime\]\s+(children is not defined|Can't find variable: children)/,
858858
)
859859

860860
await setWorkspaceTabSource(page, {

0 commit comments

Comments
 (0)