Skip to content

Add webview script interaction tests - #142

Merged
rcosta358 merged 3 commits into
codex/issue-127-webview-view-testsfrom
codex/issue-128-webview-script-tests
Oct 7, 2026
Merged

rcosta358 merged 3 commits into
codex/issue-127-webview-view-testsfrom
codex/issue-128-webview-script-tests

Conversation

@rcosta358

@rcosta358 rcosta358 commented Oct 2, 2026 •

Copy link
Copy Markdown
Collaborator

Adds jsdom tests for webview readiness, tab switching, file/workspace toggles, and file-opening/highlight messages. Each test gets fresh DOM and module state; Mermaid is stubbed.

Validation: 32 unit tests, lint, both TypeScript checks, packaging, and extension installation passed.

Depends on #140 for the Vitest harness and view tests. Closes #128.

Generated by Codex.

@rcosta358 rcosta358 added the testing Testing related label Oct 2, 2026
@rcosta358
rcosta358 added this pull request to stack #148 October 7, 2026 11:17
@rcosta358
rcosta358 merged commit c140f12 into main Oct 7, 2026
1 of 2 checks passed
rcosta358 added a commit that referenced this pull request Oct 7, 2026
Adds 24 JUnit tests for source-folder selection, Windows-style file
URIs, source positions, diagnostic DTOs, and context conversion. Runs
server tests in CI.

Validated with Java 21: Maven tests/package, client lint, TypeScript
checks, and extension installation.

Closes #129. Depends on #142 for the combined client/server test
workflow.

Generated by Codex.

---------

Co-authored-by: Codex <noreply@openai.com>
rcosta358 added a commit that referenced this pull request Oct 7, 2026
## Description
Closes #134.

Add weekly and manual Windows/macOS runs for client and server unit
tests plus VS Code stable integration tests, with logs uploaded on
failure. The diff contains only `platform-tests.yml`.

## Related Issues
Depends on #146. The existing prerequisite PRs now form one chain
through #145, #144, #143, #141, #142, #140, #139, #138, and #137 to
main. The schedule becomes active when merged to the default branch.

Validation: 32 client tests, 24 server tests, lint, production/test
TypeScript checks, and extension installation passed. Stable and minimum
VS Code integration passed in [PR
CI](https://github.com/liquid-java/vscode-liquidjava/actions/runs/37541530280).
Fresh [Windows/macOS
validation](https://github.com/liquid-java/vscode-liquidjava/actions/runs/37541530341)
passed on the final commit, including both unit-test suites and VS Code
integration.

🤖 Generated with [Codex](https://openai.com/codex/)

---------

Co-authored-by: Codex <noreply@openai.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Testing related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tests for the webview script (Vitest + jsdom)

2 participants