Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion apps/sim/scripts/test-markdown-viewer-e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,15 @@ async function proveWarmNavigation(page: Page, browserName: string) {
const files: { id: string; name: string }[] = []
const caughtErrors: string[] = []
const captureError = (message: import('@playwright/test').ConsoleMessage) => {
if (message.type() === 'error') caughtErrors.push(message.text())
if (message.type() !== 'error') return
const text = message.text()
// Some WebKit builds log the existing viewport option at error severity.
if (
browserName === 'webkit' &&
text === 'Viewport argument key "interactive-widget" not recognized and ignored.'
)
return
caughtErrors.push(text)
}
page.on('console', captureError)
try {
Expand Down
Loading