From 0e7f6917669f12e80873326905d6805ffaba4d60 Mon Sep 17 00:00:00 2001 From: Patrizio Bekerle <patrizio@bekerle.com> Date: Thu, 16 Feb 2023 13:23:17 +0100 Subject: [PATCH] Set a value for attribute data-auth-set --- packages/auth/src/auth-keycloak.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/auth/src/auth-keycloak.js b/packages/auth/src/auth-keycloak.js index 60da2375..1f339711 100644 --- a/packages/auth/src/auth-keycloak.js +++ b/packages/auth/src/auth-keycloak.js @@ -171,7 +171,7 @@ export class AuthKeycloak extends AdapterLitElement { person: this._user, }; - this.setAttribute("data-auth-set", ""); + this.setAttribute("data-auth-set", "true"); // inject a window.DBPAuth variable for Cypress/Playwright if (window.Cypress || window.playwright) { -- GitLab