Skip to content

Issue #6365: Run TypeScript tests in a real browser in the Apache Annotator editor - #6366

Merged
reckart merged 1 commit into
release/42.xfrom
refactoring/6365-Run-TypeScript-tests-in-a-real-browser-in-the-Apache-Annotator-editor
Nov 5, 2026
Merged

reckart merged 1 commit into
release/42.xfrom
refactoring/6365-Run-TypeScript-tests-in-a-real-browser-in-the-Apache-Annotator-editor

Conversation

@reckart

@reckart reckart commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

What's in the PR

  • Add Vitest browser mode for the Apache Annotator editor: a module-level vitest.config.js runs *.browser.test.ts files in headless Chromium and everything else on jsdom
  • Add playwright 1.64.1 and @vitest/browser-playwright as dev dependencies, pinned in the root pom.xml and the package.json and bun.lock templates
  • Run playwright install chromium in the module's Maven build before the TypeScript tests, skipped with skipTests
  • Ignore Vitest failure screenshots in .gitignore

How to test manually

  • No specific test procedure

Automatic testing

  • PR includes unit tests

Documentation

  • PR updates documentation

…otator editor

- Add Vitest browser mode for the Apache Annotator editor: a module-level vitest.config.js runs *.browser.test.ts files in headless Chromium and everything else on jsdom
- Add playwright 1.64.1 and @vitest/browser-playwright as dev dependencies, pinned in the root pom.xml and the package.json and bun.lock templates
- Run playwright install chromium in the module's Maven build before the TypeScript tests, skipped with skipTests
- Ignore Vitest failure screenshots in .gitignore

Assisted-by: Anthropic Claude (claude-opus-5-5)
@reckart
reckart force-pushed the refactoring/6365-Run-TypeScript-tests-in-a-real-browser-in-the-Apache-Annotator-editor branch from de72780 to 0f8568c Compare November 5, 2026 06:34
@reckart
reckart merged commit e4ab237 into release/42.x Nov 5, 2026
4 checks passed
@reckart
reckart deleted the refactoring/6365-Run-TypeScript-tests-in-a-real-browser-in-the-Apache-Annotator-editor branch November 5, 2026 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant