Skip to content

Add webview rendering tests - #140

Merged
rcosta358 merged 3 commits into
codex/issue-126-required-checksfrom
codex/issue-127-webview-view-tests
Oct 7, 2026
Merged

rcosta358 merged 3 commits into
codex/issue-126-required-checksfrom
codex/issue-127-webview-view-tests

Conversation

@rcosta358

@rcosta358 rcosta358 commented Oct 2, 2026 •

Copy link
Copy Markdown
Collaborator

Adds 25 Vitest/jsdom tests for diagnostics, context sections, and state machine rendering, including diagram controls and condition expansion. CI runs unit tests and checks their types; test files and configuration stay out of the extension package.

Validation: unit tests, lint, production/test type checks, VSIX inspection, and extension installation passed.

Depends on #139. Closes #127.

Generated by Codex.

@rcosta358 rcosta358 added the testing Testing related label Oct 2, 2026
@rcosta358 rcosta358 changed the title Add unit tests for webview views Add webview rendering tests Oct 2, 2026
@rcosta358
rcosta358 changed the base branch from codex/issue-125-test-workflow to codex/issue-126-required-checks October 6, 2026 22:31
@rcosta358

Copy link
Copy Markdown
Collaborator Author

Restacked this PR on #139 to put the release, client tests, server tests, and integration API into one dependency chain before #147. The diff against the new base preserves this PR's feature changes. Combined validation passed 32 client tests, 24 server tests, lint, production/test type checks, and extension installation; this PR's new Checks run also passed.

@rcosta358
rcosta358 added this pull request to stack #148 October 7, 2026 11:17
@rcosta358
rcosta358 merged commit 1a27a76 into main Oct 7, 2026
1 of 2 checks passed
rcosta358 added a commit that referenced this pull request Oct 7, 2026
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.

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.

Unit tests for the webview views (Vitest)

2 participants