Skip to content

Conversation

@SoonIter
Copy link
Member

@SoonIter SoonIter commented Jan 8, 2026

Summary

Related issues

AI Summary


Changes

  • Infrastructure: Added Playwright setup (playwright.config.ts) and E2E utility helpers (e2e/utils.mts) for spawning Rspress commands.
  • Dependencies: Installed @playwright/test and playwright.
  • Tests: Added an E2E test for rspress-plugin-katex (packages/rspress-plugin-katex/index.test.ts) that verifies the plugin renders math content correctly by checking for the .katex-html element.

Context

This PR establishes the foundation for End-to-End testing in the repository. It introduces utilities to run rspress dev/build/preview commands programmatically and includes an initial test suite for the KateX plugin to ensure math rendering functions as expected.

This PR was written using Vibe Kanban

@SoonIter SoonIter changed the title 给 katex 集成一下 e2e 测试,使用 playwright (vibe-kanban) test(katex): add e2e test with playwright Jan 8, 2026
@SoonIter SoonIter changed the title test(katex): add e2e test with playwright test(rspress-plugin-katex): add e2e test with playwright Jan 8, 2026
@SoonIter SoonIter merged commit 8d83eb6 into main Jan 8, 2026
2 checks passed
@SoonIter SoonIter deleted the syt-vibe-kanban/30d6-katex-e2e-playwr branch January 8, 2026 09:23
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.

2 participants