Skip to content

e2e: cross-origin SecurityError accessing HTML preview iframe on Electron CI (markdown + R Notebook) #17982

Closed

Description

@kevinushey

Introduced as test.fixme skips in #17850 while bringing up Windows + macOS Desktop e2e CI.

Tests:

  • e2e/rstudio/tests/panes/editor/markdown.test.ts -> preview markdown file as HTML
  • e2e/rstudio/tests/panes/editor/rnotebook.test.ts -> create new R Notebook and preview

Skip guard: ['win32','darwin'].includes(os.platform()) && process.env.CI

Symptom: GWT raises a cross-origin SecurityError when accessing the HTML preview iframe under Electron CI. The bug is not platform-specific; macOS 26 just surfaces it intermittently and Windows surfaces it reliably.

Likely related to other preview/iframe cross-origin access issues seen in knit-to-viewer flows.

To close: fix the preview/iframe wiring so cross-origin access no longer throws, then remove the test.fixme guards from both tests.

Metadata

Metadata

Assignees

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions