From 7119f40993a31b451b1556c701aafbf84ea01fb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Vav=C5=99=C3=ADk?= Date: Wed, 18 Sep 2024 20:50:16 +0200 Subject: [PATCH] Test Code Quarkus Site offers Java 21 --- .../it/java/io/quarkus/ts/startstop/CodeQuarkusSiteTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/testsuite/src/it/java/io/quarkus/ts/startstop/CodeQuarkusSiteTest.java b/testsuite/src/it/java/io/quarkus/ts/startstop/CodeQuarkusSiteTest.java index afc3ac86..8cd097f7 100644 --- a/testsuite/src/it/java/io/quarkus/ts/startstop/CodeQuarkusSiteTest.java +++ b/testsuite/src/it/java/io/quarkus/ts/startstop/CodeQuarkusSiteTest.java @@ -109,8 +109,7 @@ public void validatePresenceOfJavaVersionSelect(TestInfo testInfo) { assertTrue(javaVersionSelect.count() == 1, "Element: " + elementJavaVersionSelectByXpath + " is missing!"); String javaVersionText = javaVersionSelect.textContent(); - // TODO: enable Java 11 check when https://github.com/quarkusio/quarkus/issues/38732 is released - // assertTrue(javaVersionText.contains("11"), "Java 11 is missing in java version select! javaVersionText: " + javaVersionText); + assertTrue(javaVersionText.contains("21"), "Java 21 is missing in java version select! javaVersionText: " + javaVersionText); assertTrue(javaVersionText.contains("17"), "Java 17 is missing in java version select! javaVersionText: " + javaVersionText); }