Skip to content

test: drop incidental @vaadin/vaadin-themable-mixin and @vaadin/horizontal-layout npm deps#24391

Open
Artur- wants to merge 2 commits into
mainfrom
drop-vaadin-npm-incidental
Open

test: drop incidental @vaadin/vaadin-themable-mixin and @vaadin/horizontal-layout npm deps#24391
Artur- wants to merge 2 commits into
mainfrom
drop-vaadin-npm-incidental

Conversation

@Artur-
Copy link
Copy Markdown
Member

@Artur- Artur- commented May 21, 2026

Five test AppShells declared @NpmPackage("@vaadin/vaadin-themable-mixin", version = TestVersion.VAADIN) without anything in their ITs depending on the mixin being explicitly loaded; the themable mixin is brought in transitively by the Vaadin web components those modules already use (text-field etc.). Drop the redundant annotation.

FakeAppConf in test-prod-bundle declared @NpmPackage("@vaadin/horizontal-layout") to pad the shared prod bundle, but no IT verifies horizontal-layout is in the bundle and the only module that actually uses (test-theme-legacy-components-css-prod) declares its own @NpmPackage with a pinned version.

Part of removing TestVersion.VAADIN usages so the constant can eventually be deleted. ITs that query Vaadin web components' shadow DOM (e.g., $("vaadin-input-container")) still need their @NpmPackage annotations and are left untouched; those go in a follow-up that swaps them to native elements.

…ontal-layout npm deps

Five test AppShells declared @NpmPackage("@vaadin/vaadin-themable-mixin",
version = TestVersion.VAADIN) without anything in their ITs depending on
the mixin being explicitly loaded; the themable mixin is brought in
transitively by the Vaadin web components those modules already use
(text-field etc.). Drop the redundant annotation.

FakeAppConf in test-prod-bundle declared @NpmPackage("@vaadin/horizontal-layout")
to pad the shared prod bundle, but no IT verifies horizontal-layout is in
the bundle and the only module that actually uses <vaadin-horizontal-layout>
(test-theme-legacy-components-css-prod) declares its own @NpmPackage with a
pinned version.

Part of removing TestVersion.VAADIN usages so the constant can eventually
be deleted. ITs that query Vaadin web components' shadow DOM (e.g.,
$("vaadin-input-container")) still need their @NpmPackage annotations and
are left untouched; those go in a follow-up that swaps them to native
elements.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 21, 2026

Test Results

 1 413 files  ±0   1 413 suites  ±0   1h 23m 1s ⏱️ + 3m 7s
 9 982 tests ±0   9 913 ✅ ±0  69 💤 ±0  0 ❌ ±0 
10 457 runs  ±0  10 386 ✅ ±0  71 💤 ±0  0 ❌ ±0 

Results for commit 1fe31f3. ± Comparison against base commit 4a3e05b.

♻️ This comment has been updated with latest results.

@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant