Skip to content

W-18078038 - feat: move e2e tests#6179

Merged
mshanemc merged 258 commits intodevelopfrom
madhur/W-18078038-move-e2e-tests
Jul 11, 2025
Merged

W-18078038 - feat: move e2e tests#6179
mshanemc merged 258 commits intodevelopfrom
madhur/W-18078038-move-e2e-tests

Conversation

@madhur310
Copy link
Copy Markdown
Collaborator

Moves the e2e tests to salesforcedx-vscode package. Triggered them here - https://github.com/forcedotcom/salesforcedx-vscode/actions/runs/14152916419

What does this PR do?

Moves the e2e tests from a separate package to vscode.

What issues does this PR fix or reference?

@W-18078038@

Functionality Before

tests lived in a different package and were checked out and run via GHW.

Functionality After

tests live in the same package, so no need to checkout and simplifies GHW a little bit.

@madhur310 madhur310 requested a review from a team as a code owner March 31, 2025 18:12
Copy link
Copy Markdown
Contributor

@CristiCanizales CristiCanizales left a comment

Choose a reason for hiding this comment

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

package.json Outdated
"unlink-lsp": "yarn unlink @salesforce/aura-language-server @salesforce/lwc-language-server @salesforce/lightning-lsp-common && lerna exec yarn unlink @salesforce/aura-language-server @salesforce/lwc-language-server @salesforce/lightning-lsp-common --scope salesforcedx-vscode-lightning && lerna exec yarn unlink @salesforce/lwc-language-server @salesforce/lightning-lsp-common --scope salesforcedx-vscode-lwc",
"report:installs": "ts-node scripts/reportInstalls.ts"
"report:installs": "ts-node scripts/reportInstalls.ts",
"automation-tests": "npm run compile && node ./packages/salesforcedx-vscode-automation-tests/lib/test-setup-and-runner.js"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can you create a follow up WI to move each test to the extension it belongs to? let's say the tests that belong to the apex e2e category should go in packages/salesforcedx-vscode-apex/test/e2e-tests and so on

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

working-directory: salesforcedx-vscode
env:
GITHUB_TOKEN: ${{ secrets.IDEE_GH_TOKEN }}
GH_TOKEN: ${{ secrets.IDEE_GH_TOKEN }}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why this change?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

my bad, is old remnant will revert this change.

npm run automation-tests
working-directory: ${{ inputs.automationRepo }}
working-directory: salesforcedx-vscode
env:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@madhur310 I think we need to pass the VSIX_TO_INSTALL value here to get rid of the error you shared in slack

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

same for DEV_HUB_ALIAS_NAME

@mshanemc mshanemc merged commit 76c83cf into develop Jul 11, 2025
223 of 256 checks passed
@mshanemc mshanemc deleted the madhur/W-18078038-move-e2e-tests branch July 11, 2025 21:57
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.

6 participants