Skip to content

Introduce new manual tests format#1411

Merged
filipsobol merged 23 commits into
masterfrom
ci/4539-new-format-of-manual-tests
Jul 7, 2026
Merged

Introduce new manual tests format#1411
filipsobol merged 23 commits into
masterfrom
ci/4539-new-format-of-manual-tests

Conversation

@filipsobol

@filipsobol filipsobol commented Jul 2, 2026

Copy link
Copy Markdown
Member

🚀 Summary

Introduce new manual tests format.


📌 Related issues


💡 Additional information

N/A

filipsobol added 11 commits July 2, 2026 10:53
…ntries with the `<ck-manual-header>` component replacing the shell-based page composition, a new `rawSvgPlugin()`, removal of `rawHtmlPlugin()`, and Vite 8.1 support in `refreshPlugin()`.
…sed `packageRootPath` field and the `vite-svg-loader` dependency.
…ndencies. It existed only for the one-off migration of manual test instruction files.
… to `tests/manual/` instead of extracting `<title>`, and accept package root globs in the `paths` option.
…y and the test-only `getManualStaticAssetFilePath()` export, share the `include` package filter between plugins, and use the filtered `load` hook in the SVG plugin.
…uarantees every match contains the `tests/manual` segment.
…ev. Vite never regenerates HTML entries in the in-memory bundle, so the plugin splices the freshly built `<head>` with the post-`</head>` markup read from disk.
…r bundledDev.

The bundled dev HTML source freshness splice only refreshes the post-</head>
markup, so adding or removing <ck-manual-header> updates the body but leaves the
injected header chrome (<meta> and component script) in <head> stale until a
restart. Clarify the comment to cover this case alongside head-confined edits.
Comment thread packages/ckeditor5-dev-manual-server/src/manual-test-plugin/plugin.ts Outdated
The wrap functions now report whether they patched their internal, so the
startup assertion builds its missing-internals list from those results
instead of duplicating the same checks. The `devEngine` presence check is
reduced to an `in` test, since the getter always throws before the initial
build and the previous branches were unreachable at startup.
@filipsobol filipsobol changed the title [WIP] New format of manual tests New format of manual tests Jul 6, 2026
@filipsobol filipsobol changed the title New format of manual tests Introduce new manual tests format Jul 6, 2026
Comment thread packages/ckeditor5-dev-manual-server/src/manual-test-plugin/plugin.ts Outdated
@pomek pomek requested a review from przemyslaw-zan July 7, 2026 07:15

@przemyslaw-zan przemyslaw-zan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works well, I only have a few nitpicks.


The workarounds could use a reference to rolldown/rolldown#10022 (comment).

Comment thread packages/ckeditor5-dev-manual-server/src/manual-test-plugin/plugin.ts Outdated
Comment thread packages/ckeditor5-dev-manual-server/src/manual-test-plugin/plugin.ts Outdated
Comment thread packages/ckeditor5-dev-manual-server/src/static-assets-plugin/static-assets.ts Outdated
…t leading slashes, find the head closing tag without lowercasing, and drop the stale .md extension from processed manual test assets.
@filipsobol filipsobol requested a review from przemyslaw-zan July 7, 2026 12:20

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 6958f53. Configure here.

…en when a head comment or script contains a </head> literal.
@filipsobol filipsobol merged commit f5b2753 into master Jul 7, 2026
8 checks passed
@filipsobol filipsobol deleted the ci/4539-new-format-of-manual-tests branch July 7, 2026 12:38
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