Skip to content

KTL-4261: Docs: add kotlin language docs extension tests#5435

Draft
zoobestik wants to merge 1 commit intomasterfrom
playground/e2e-docs
Draft

KTL-4261: Docs: add kotlin language docs extension tests#5435
zoobestik wants to merge 1 commit intomasterfrom
playground/e2e-docs

Conversation

@zoobestik
Copy link
Collaborator

@zoobestik zoobestik commented Mar 13, 2026

E2E Test Improvements

  • Renamed test/e2e/webhelp.spec.ts to test/e2e/docs/article.spec.ts and refactored the test:

    • Improved selectors and assertions for clarity and reliability.
    • Used shared utility functions for screenshot and visibility checks.
    • Updated test content to reflect current documentation structure.
  • Createtest/e2e/docs/docs.spec.ts test file with production compatible tests:

    • Add Header/Footer screenshots components
    • ToC click links
    • Search and Switcher functions

Test Infrastructure Updates

  • Changed Docker Compose configuration for running E2E tests from docker-compose-e2e-statics.yml
  • Expanded the test:ci script in package.json to include test/e2e/docs in addition to test/production, ensuring that documentation E2E tests are run in CI.

cc @solarday

- Remove outdated `webhelp.spec.ts` and related utility files to streamline test coverage.
- Introduce `article.spec.ts` for modernized and standardized testing of documentation pages.
- Consolidate redundant code and improve reusability with updated utilities and constants.
@zoobestik zoobestik force-pushed the playground/e2e-docs branch from f1571cd to d2ca3f3 Compare March 13, 2026 21:07
@zoobestik zoobestik marked this pull request as draft March 15, 2026 21:31
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