From 11279f6bc1e35e44d73cabbe21775360d8ef65a1 Mon Sep 17 00:00:00 2001 From: Anar Sultanov Date: Sun, 5 Nov 2023 20:21:10 +0100 Subject: [PATCH] fix: Use headless browser --- .../keycloak/multitenancy/support/BaseIntegrationTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/dev/sultanov/keycloak/multitenancy/support/BaseIntegrationTest.java b/src/test/java/dev/sultanov/keycloak/multitenancy/support/BaseIntegrationTest.java index f18b601..fc4f439 100644 --- a/src/test/java/dev/sultanov/keycloak/multitenancy/support/BaseIntegrationTest.java +++ b/src/test/java/dev/sultanov/keycloak/multitenancy/support/BaseIntegrationTest.java @@ -42,7 +42,7 @@ static void beforeAll() { client = ClientBuilder.newClient(); playwright = Playwright.create(); - var browser = playwright.chromium().launch(new BrowserType.LaunchOptions().setHeadless(false)); + var browser = playwright.chromium().launch(new BrowserType.LaunchOptions().setHeadless(true)); var keycloakUrl = keycloak.getAuthServerUrl(); var mailhogUrl = "http://%s:%d/".formatted(mailhog.getHost(), mailhog.getMappedPort(MAILHOG_HTTP_PORT));