Skip to content

test(apex,lwc): migrate snippet e2e to Playwright - W-22016558#7179

Open
CristiCanizales wants to merge 20 commits intodevelopfrom
cristi/snippets-e2e
Open

test(apex,lwc): migrate snippet e2e to Playwright - W-22016558#7179
CristiCanizales wants to merge 20 commits intodevelopfrom
cristi/snippets-e2e

Conversation

@CristiCanizales
Copy link
Copy Markdown
Contributor

What does this PR do?

Replaces the RedHat/extester snippets E2E in salesforcedx-vscode-automation-tests with Playwright specs colocated in salesforcedx-vscode-apex and salesforcedx-vscode-lwc (test:desktop / test:web via Wireit). Updates CI trigger and small playwright-vscode-ext helpers (e.g. benign console filtering, headless workspace folder support).

What issues does this PR fix or reference?

@W-22016558@

Functionality Before

Snippets covered only by the automation-tests extester flow.

Functionality After

Apex and LWC snippet scenarios run as package Playwright tests; automation-tests snippets spec removed.

Made with Cursor

- Add Playwright desktop/web configs and snippet specs for Apex and LWC packages
- Remove legacy snippets spec from salesforcedx-vscode-automation-tests
- Extend playwright-vscode-ext (non-critical console filter, headless folderPath)
- Update triggerE2EForCommit and eslint for Playwright test paths

Made-with: Cursor
@CristiCanizales CristiCanizales requested a review from a team as a code owner April 14, 2026 02:23
@CristiCanizales CristiCanizales self-assigned this Apr 14, 2026
@CristiCanizales CristiCanizales removed the request for review from mingxuanzhangsfdx April 14, 2026 22:17
daphne-sfdc
daphne-sfdc previously approved these changes Apr 16, 2026
Copy link
Copy Markdown
Contributor

@daphne-sfdc daphne-sfdc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both the Apex and LWC snippets E2E tests are passing ✅

@daphne-sfdc daphne-sfdc dismissed their stale review April 17, 2026 15:29

Dismissing review

Copy link
Copy Markdown
Contributor

@daphne-sfdc daphne-sfdc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Apex snippets passes on desktop (shouldn't work on web) ✅
  • LWC snippets passes on both desktop and web ✅

https://github.com/forcedotcom/salesforcedx-vscode/actions/runs/24585723855?pr=7179

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