diff --git a/TEST_FAST.md b/TEST_FAST.md
index 28f4b4059a..11f8969fca 100644
--- a/TEST_FAST.md
+++ b/TEST_FAST.md
@@ -46,6 +46,8 @@ Use `-Dpkg.skip=true` to skip all packaging at once (equivalent to all four flag
| `-Dpkg.skip.rpm=true` | Gradle `buildRpm` | Yes — no test depends on the RPM |
| `-Dpkg.skip.zip=true` | `maven-assembly-plugin` Windows ZIP | Yes — no test depends on the ZIP |
+`-Dskip.yarn=true` and `-Dskip.ui.build=true` imply `-Dpkg.skip=true`: packages built without the UI are incomplete.
+
## Testcontainers compatibility with the Docker API workaround
In case your tests failed to run testcontainers due to unsupported Docker API version
diff --git a/msa/js-executor/pom.xml b/msa/js-executor/pom.xml
index 8c35b773db..3a4a1ccda4 100644
--- a/msa/js-executor/pom.xml
+++ b/msa/js-executor/pom.xml
@@ -30,11 +30,6 @@
package
${project.build.directory}/package/linux
${project.build.directory}/package/windows
-
- ${skip.yarn}
+
+ skip-pkg-without-yarn
+
+
+ skip.yarn
+ true
+
+
+
+ none
+
+
+
+ skip-pkg-without-ui-build
+
+
+ skip.ui.build
+ true
+
+
+
+ none
+
+
black-box-tests
diff --git a/msa/web-ui/pom.xml b/msa/web-ui/pom.xml
index 93d2ecff76..9e616482cf 100644
--- a/msa/web-ui/pom.xml
+++ b/msa/web-ui/pom.xml
@@ -32,11 +32,6 @@
package
${project.build.directory}/package/linux
${project.build.directory}/package/windows
-
- ${skip.ui.build}
pre-integration-test
diff --git a/pom.xml b/pom.xml
index 11c0e52c30..77706d1627 100755
--- a/pom.xml
+++ b/pom.xml
@@ -33,7 +33,8 @@
cover msa/js-executor, whose yarn install and sandbox tests keep running.
frontend-maven-plugin reads skip.yarn itself, so that property cannot be narrowed to a
subset of the modules; this one can, and it defaults to skip.yarn so that
- -Dskip.yarn=true still skips every yarn invocation in the project exactly as before. -->
+ -Dskip.yarn=true still skips every yarn invocation in the project exactly as before.
+ Either flag also skips all packaging (see the skip-pkg-without-* profiles). -->
${skip.yarn}
none
none
@@ -233,6 +234,40 @@
+
+
+ skip-pkg-without-yarn
+
+
+ skip.yarn
+ true
+
+
+
+ true
+ true
+ true
+ true
+
+
+
+ skip-pkg-without-ui-build
+
+
+ skip.ui.build
+ true
+
+
+
+ true
+ true
+ true
+ true
+
+
+
packaging