Skip to content

e2e: migrate snippets + variables + active interpreter release screenshots#13672

Open
midleman wants to merge 14 commits into
mainfrom
mi/release-screenshots-4
Open

e2e: migrate snippets + variables + active interpreter release screenshots#13672
midleman wants to merge 14 commits into
mainfrom
mi/release-screenshots-4

Conversation

@midleman
Copy link
Copy Markdown
Contributor

Summary

Adds six release screenshots, stacked on #13651.

  • snippets-configure-snippets (top of picker, rows 1+2 annotated)
  • snippets-configure-language-specific-snippets (scrolled to python/quarto/r, annotated)
  • snippets-for-example (R for snippet with details panel)
  • snippets-keyword-with-two-items (R fun and function rows annotated)
  • variables-pane (R session, several variables assigned, Variables view focused)
  • active-interpreter-session (R + Python running, Sessions view focused, top-right chip annotated)

QA Notes

Depends on #13651 (uses overrideWorkspaceName, auto-shadow on captureFullWindow).

midleman and others added 10 commits May 19, 2026 20:32
- Positron notebook: kernel selector, assistant action bar, assistant panel
- Jupyter notebook: kernel selector

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…nshot

Air ships pre-installed in some builds but not all. Install it when the
Install button is visible so the capture shows the Disable/Uninstall state
every run.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Target the .kernel-action-view-item container so the codicon-notebook-kernel-select
icon stays inside the red box, matching the existing published screenshot.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Render the 4 notebook screenshots at 960x640 and composite each capture onto a
white canvas with a soft drop shadow to approximate the floating-window look
of the legacy macOS-chrome screenshots.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Clip the screenshot to a 24px-radius rounded rect before drawing the
  drop shadow so the shadow traces the rounded silhouette.
- Add overrideWorkspaceName helper to rewrite the title bar and top action
  bar folder picker, mapping qa-example-content -> positron-demos-notebooks
  on the 4 notebook captures.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Extend overrideRuntimeLabel to also target the Positron notebook kernel
status badge and the VS Code Jupyter kernel chip, so the captured label
reads "Python <ver> (Venv: .venv)" instead of leaking the runner's Python
manager (Pyenv, VirtualEnvWrapper, uv, etc.).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Apply the rounded-corner drop shadow inside captureFullWindow itself so all
full-app screenshots get the floating-window treatment automatically (astropy,
the four notebook captures, and any future full-window shots). Partial
captures via capturePanel/captureRegion are unaffected.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Add extensions.installFromEditorIfNotInstalled() and use it from
  extension-publisher screenshot test.
- Use notebooksPositron.expectAssistantButtonsVisible() and
  clickAskAssistantButton() instead of raw locators in the notebook
  assistant screenshot tests.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Adds snippets-configure-snippets, snippets-configure-language-specific-snippets,
snippets-for-example, and snippets-keyword-with-two-items.
Two R-session screenshots: variables-pane.png (R with several variables
assigned, Variables view focused) and active-interpreter-session.png
(R + Python running, Sessions view focused, top-right chip annotated).
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 20, 2026

E2E Tests 🚀
This PR will run tests tagged with: @:critical

readme  valid tags

midleman added 4 commits May 20, 2026 18:59
- aria-label format is `lang, (Display)` (with comma), not `lang (Display)`
- monaco-list virtualization needs wheel-scroll, not scrollTop
- R completions require a running R session — add the `r` fixture
- Trigger suggest with Ctrl+Space; press again to expand the details panel
- Details panel class is `.suggest-details-container`, not `.details`
- Capture union of suggest widget + details panel for the `for` snippet
…lity

Mouse-wheel didn't trigger virtualized list scroll in Linux CI. Switch to
ArrowDown navigation and wait for python/quarto/r to all be rendered
together (the virtualized window only holds ~20 rows, so the bottom of the
visible range needs to clear past r before all three are present in the DOM).
Drop the redundant python session and shorten the panel so the Sessions
view sits higher in the auxiliary side bar.
Starting R once via the fixture in every test lets `sessions.start({ reuse: true })`
short-circuit consistently and avoids re-triggering the session quick-pick
mid-suite (a known flake surface).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant