From d60d1b9ded03d2d76049df7959d27d4f94047bfc Mon Sep 17 00:00:00 2001 From: Prageeth Panicker Date: Thu, 4 Jun 2026 13:17:45 +0000 Subject: [PATCH] fix(web-app-pihole): fix string concatenation lint error in playwright spec --- roles/web-app-pihole/files/playwright/playwright.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/web-app-pihole/files/playwright/playwright.spec.js b/roles/web-app-pihole/files/playwright/playwright.spec.js index 490dfce000..e19fe6c45e 100644 --- a/roles/web-app-pihole/files/playwright/playwright.spec.js +++ b/roles/web-app-pihole/files/playwright/playwright.spec.js @@ -126,7 +126,7 @@ test("administrator: can log out via logout button", async ({ page }) => { await page.screenshot({ path: "/reports/debug-before-logout.png" }); // Navigate to oauth2-proxy sign-out endpoint - await page.goto(`${expectedPiholeBaseUrl}/oauth2/sign_out?rd=${encodeURIComponent(oidcIssuerUrl.replace(/\/$/, '') + '/protocol/openid-connect/logout')}`); + await page.goto(`${expectedPiholeBaseUrl}/oauth2/sign_out?rd=${encodeURIComponent(\`\${oidcIssuerUrl.replace(/\/$/, '')}/protocol/openid-connect/logout\`)}`); // Click confirmation button on Keycloak logout page const confirmButton = page.locator('#kc-logout');