Skip to content

ci: add Vitest unit tests, Playwright E2E browser tests and GitHub Actions CI workflow - #5

Open
Ming2k8-Coder wants to merge 1 commit into
tk256ailab:mainfrom
Ming2k8-Coder:ci/automated-test-suite
Open

ci: add Vitest unit tests, Playwright E2E browser tests and GitHub Actions CI workflow#5
Ming2k8-Coder wants to merge 1 commit into
tk256ailab:mainfrom
Ming2k8-Coder:ci/automated-test-suite

Conversation

@Ming2k8-Coder

Copy link
Copy Markdown

Description

This PR establishes a complete automated testing suite for the repository:

  • Unit & DOM Sanity Tests: Vitest + JSDOM testing HTML markup, meta tags, importmaps, and DOM element IDs (tests/unit/sanity.test.js).
  • E2E Browser Automation: Playwright tests covering model loading, tab navigation, language switching, ARIA attributes, lighting controls, and VRMA playback (tests/e2e/viewer.spec.js).
  • CI/CD Pipeline: GitHub Actions workflow running tests automatically on push and pull requests (.github/workflows/test.yml).

Diff Size

~369 lines added across test files and configs.

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.

1 participant