Change general realm settings tests so they pass locally (#2470)

This commit is contained in:
Jon Koops 2022-04-19 18:35:32 +02:00 committed by GitHub
parent bbafff4d98
commit 8ea8846f47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,7 +119,9 @@ describe("Realm settings general tab tests", () => {
.should( .should(
"have.attr", "have.attr",
"href", "href",
`http://localhost:8080/realms/${realmName}/.well-known/openid-configuration` `${Cypress.env(
"KEYCLOAK_SERVER"
)}/realms/${realmName}/.well-known/openid-configuration`
) )
.should("have.attr", "target", "_blank") .should("have.attr", "target", "_blank")
.should("have.attr", "rel", "noreferrer noopener"); .should("have.attr", "rel", "noreferrer noopener");
@ -142,7 +144,9 @@ describe("Realm settings general tab tests", () => {
.should( .should(
"have.attr", "have.attr",
"href", "href",
`http://localhost:8080/realms/${realmName}/protocol/saml/descriptor` `${Cypress.env(
"KEYCLOAK_SERVER"
)}/realms/${realmName}/protocol/saml/descriptor`
) )
.should("have.attr", "target", "_blank") .should("have.attr", "target", "_blank")
.should("have.attr", "rel", "noreferrer noopener"); .should("have.attr", "rel", "noreferrer noopener");