Skip to content

Conversation

@mshanemc
Copy link
Contributor

@mshanemc mshanemc commented Nov 7, 2025

What does this PR do?

os-specific snapshots because of differeing shortcut keys (that sucks, I might consider doing this in an an assertion-based way instead of aria-snapshots in the next round of e2e tests).

playwright e2e for windows

What issues does this PR fix or reference?

#, @W-20153124@

proof that it runs (took a few tries, ai is good at this)
https://github.com/forcedotcom/salesforcedx-vscode/actions/runs/19152212788 (on the test-results for windows you can open the videos from the 5 tests)

- remove ./ prefix from screenshot paths to fix windows path doubling
- use {platform} in snapshotPathTemplate for platform-specific snapshots
- rename desktop-electron snapshots to desktop-darwin
- add VSCODE_DESKTOP=1 to test:desktop:ci script
- add iteration script for ci debugging
- create desktop-win32 snapshots with Ctrl+F4 keyboard shortcut
- create desktop-linux snapshots with Ctrl+F4 keyboard shortcut
- these platform-specific snapshots enable tests to pass on all platforms
@mshanemc mshanemc requested a review from a team as a code owner November 7, 2025 02:30
@mshanemc mshanemc requested a review from gimijose November 7, 2025 02:30
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.

2 participants