You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by ah...@apache.org on 2026/10/15 06:00:00 UTC
(causeway) branch main updated: removes webcomponents from CI verify scope
This is an automated email from the ASF dual-hosted git repository.
andi-huber pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/causeway.git
The following commit(s) were added to refs/heads/main by this push:
new 794c051d2ae removes webcomponents from CI verify scope
794c051d2ae is described below
commit 794c051d2ae84602c4fb440c4e5aedb5e54bc752
Author: andi-huber <ah...@apache.org>
AuthorDate: Thu Oct 15 07:59:50 2026 +0200
removes webcomponents from CI verify scope
---
.github/workflows/ci-v4-verify.yml | 1 +
.../webcomponents/htmx/security/secman/HtmxSecmanHttpSecurityTest.java | 3 +--
.../webcomponents/vue/security/secman/VueSecmanHttpSecurityTest.java | 3 +--
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/ci-v4-verify.yml b/.github/workflows/ci-v4-verify.yml
index ce0943aef79..46880c89b55 100644
--- a/.github/workflows/ci-v4-verify.yml
+++ b/.github/workflows/ci-v4-verify.yml
@@ -129,6 +129,7 @@ jobs:
-Dmaven.source.skip=true
-Dproject.build.outputTimestamp=2026-01-01T00:00:00Z
-Dspring.main.banner-mode=off
+ -pl '!viewers/webcomponents'
-e
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
diff --git a/viewers/webcomponents/htmx-security-secman/src/test/java/org/apache/causeway/viewer/webcomponents/htmx/security/secman/HtmxSecmanHttpSecurityTest.java b/viewers/webcomponents/htmx-security-secman/src/test/java/org/apache/causeway/viewer/webcomponents/htmx/security/secman/HtmxSecmanHttpSecurityTest.java
index 9045793f449..e2a5966d19a 100644
--- a/viewers/webcomponents/htmx-security-secman/src/test/java/org/apache/causeway/viewer/webcomponents/htmx/security/secman/HtmxSecmanHttpSecurityTest.java
+++ b/viewers/webcomponents/htmx-security-secman/src/test/java/org/apache/causeway/viewer/webcomponents/htmx/security/secman/HtmxSecmanHttpSecurityTest.java
@@ -24,7 +24,6 @@
import java.util.concurrent.Callable;
import org.junit.jupiter.api.BeforeEach;
-import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
@@ -132,7 +131,7 @@ void loginRejectsMissingCsrfAndInvalidCredentialsGenerically() throws Exception
.andExpect(content().string(org.hamcrest.Matchers.not(containsString("absent"))));
}
- @Test @Disabled("Not sure how this test can succeed with a mocked session!?")
+ @Test
void validLoginMigratesSessionAndRestoresSafeDeepLink() throws Exception {
final var applicationUser = applicationUser("sven", "correct horse");
when(repository.findByUsername("sven")).thenReturn(Optional.of(applicationUser));
diff --git a/viewers/webcomponents/vue-security-secman/src/test/java/org/apache/causeway/viewer/webcomponents/vue/security/secman/VueSecmanHttpSecurityTest.java b/viewers/webcomponents/vue-security-secman/src/test/java/org/apache/causeway/viewer/webcomponents/vue/security/secman/VueSecmanHttpSecurityTest.java
index 24b0377296d..3c4aedfab00 100644
--- a/viewers/webcomponents/vue-security-secman/src/test/java/org/apache/causeway/viewer/webcomponents/vue/security/secman/VueSecmanHttpSecurityTest.java
+++ b/viewers/webcomponents/vue-security-secman/src/test/java/org/apache/causeway/viewer/webcomponents/vue/security/secman/VueSecmanHttpSecurityTest.java
@@ -24,7 +24,6 @@
import java.util.concurrent.Callable;
import org.junit.jupiter.api.BeforeEach;
-import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
@@ -141,7 +140,7 @@ void loginRejectsMissingCsrfAndInvalidCredentialsGenerically() throws Exception
.andExpect(content().string(org.hamcrest.Matchers.not(containsString("absent"))));
}
- @Test @Disabled("Not sure how this test can succeed with a mocked session!?")
+ @Test
void validLoginMigratesSessionAndRestoresSafeDeepLink() throws Exception {
final var applicationUser = applicationUser("sven", "correct horse");
when(repository.findByUsername("sven")).thenReturn(Optional.of(applicationUser));