Skip to content
Snippets Groups Projects
Unverified Commit 1940f9c0 authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Inject a data-testid attribute for Playwright

parent 75223dc8
No related branches found
No related tags found
No related merge requests found
Pipeline #231883 passed
...@@ -42,6 +42,11 @@ export class AuthKeycloak extends AdapterLitElement { ...@@ -42,6 +42,11 @@ export class AuthKeycloak extends AdapterLitElement {
this.idpHint = ''; this.idpHint = '';
this._onKCChanged = this._onKCChanged.bind(this); this._onKCChanged = this._onKCChanged.bind(this);
// inject a data-testid attribute for Playwright
if (window.playwright) {
this.setAttribute("data-testid", "dbp-auth-keycloak");
}
} }
update(changedProperties) { update(changedProperties) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment