Skip to content

test: add E2E autotest plans and GitHub Action workflow#1605

Merged
wenytang-ms merged 3 commits intomainfrom
feat/e2e-autotest-plans
Apr 14, 2026
Merged

test: add E2E autotest plans and GitHub Action workflow#1605
wenytang-ms merged 3 commits intomainfrom
feat/e2e-autotest-plans

Conversation

@wenytang-ms
Copy link
Copy Markdown
Contributor

Summary

Add 16 YAML E2E test plans covering all scenarios from the wiki Test-Plan.md, plus a GitHub Actions workflow for manual execution.

Test Plans (16 files, 93 steps)

Test Plan Wiki Scenario Steps
\java-maven.yaml\ Maven 8
\java-maven-multimodule.yaml\ Maven Multimodule 5
\java-maven-java25.yaml\ Maven Java 25 6
\java-gradle.yaml\ Gradle 7
\java-gradle-java25.yaml\ Gradle Java 25 6
\java-basic-editing.yaml\ Basic #1-5 6
\java-basic-extended.yaml\ Basic #6-8 8
\java-new-file-snippet.yaml\ Basic #9 4
\java-single-file.yaml\ Single file 6
\java-single-no-workspace.yaml\ Single file without workspace 6
\java-debugger.yaml\ Debugger for Java 6
\java-test-runner.yaml\ Java Test Runner 6
\java-maven-resolve-type.yaml\ Maven for Java 10
\java-dependency-viewer.yaml\ Java Dependency Viewer 4
\java-extension-pack.yaml\ Java Extension Pack 3
\java-fresh-import.yaml\ Fresh Import 3

GitHub Action

  • Trigger: Manual (\workflow_dispatch)
  • Options: Run all plans or a specific one; choose VSCode stable/insiders
  • Artifacts: Uploads \ est-results/\ with JSON reports and sequential screenshots

How to use

\\�ash

Install the CLI

npm install -g @vscjava/vscode-autotest

Run a single plan

autotest run test-plans/java-maven.yaml

Run all plans

autotest run test-plans/java-maven.yaml # repeat for each
\\

Or trigger the E2E AutoTest workflow from the Actions tab.

Add 16 YAML test plans covering all wiki Test-Plan.md scenarios:
- Basic editing (#1-9): snippets, code actions, imports, rename, new file
- Maven / Maven Multimodule / Gradle projects
- JDK 25 compatibility (Maven + Gradle)
- Single file / Single file without workspace
- Debugger, Test Runner, Dependency Viewer
- Maven for Java (Resolve Unknown Type)
- Java Extension Pack (Configure Classpath)
- Fresh Import (Spring Petclinic, auto-clone)

GitHub Action (manual trigger):
- Runs all test plans on windows-latest
- Uploads test-results/ (screenshots + JSON) as artifact
- Supports running a single plan via workflow_dispatch input

Uses @vscjava/vscode-autotest CLI for execution.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
wenytang-ms and others added 2 commits April 14, 2026 10:06
- Checkout all repos into GITHUB_WORKSPACE (no ../ paths)
- Set working-directory to vscode-java-pack for autotest
- Upload results from vscode-java-pack/test-results/

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@wenytang-ms wenytang-ms merged commit d856acc into main Apr 14, 2026
2 checks passed
@wenytang-ms wenytang-ms changed the title feat: add E2E autotest plans and GitHub Action workflow test: add E2E autotest plans and GitHub Action workflow Apr 14, 2026
@wenytang-ms wenytang-ms deleted the feat/e2e-autotest-plans branch April 14, 2026 02:23
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