-
Notifications
You must be signed in to change notification settings - Fork 162
Expand file tree
/
Copy pathjava-pack-help-center-webview.yaml
More file actions
45 lines (41 loc) · 1.52 KB
/
Copy pathjava-pack-help-center-webview.yaml
File metadata and controls
45 lines (41 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Test Plan: Java Extension Pack - Help Center webview
#
# Covers the React/vscode-elements webview migration by opening the local
# vscode-java-pack Help Center and verifying key content from inside the webview.
#
# Usage after packaging vscode-java-pack:
# npx autotest run test-plans\java-pack-help-center-webview.yaml --vsix extension.vsix --no-llm
name: "Java Extension Pack - Help Center Webview"
description: |
Opens the Java Help Center webview from the installed vscode-java-pack VSIX
and verifies that the migrated React webview renders its main sections.
setup:
extension: "redhat.java"
# The Help Center webview lives in vscode-java-pack itself. On scheduled
# runs there is no built VSIX, so the pack must be installed from the
# marketplace; otherwise the `java.welcome` command is unregistered and
# the open-help-center step times out silently. On PR runs the
# build-pack job's VSIX takes precedence (--vsix overrides marketplace).
extensions:
- "vscjava.vscode-java-pack"
vscodeVersion: "stable"
timeout: 60
settings:
java.help.showReleaseNotes: false
java.help.firstView: "none"
steps:
- id: "open-help-center"
action: "executeVSCodeCommand java.welcome"
verifyEditorTab:
title: "Java Help Center"
timeout: 20
- id: "verify-help-center-content"
action: "wait 2 seconds"
verifyWebview:
contains:
- "Java Help Center"
- "Get Started"
- "Create a New Project"
- "Configure Java Runtime"
- "Open Java Settings"
timeout: 20