Change general realm settings tests so they pass locally (#2470)
This commit is contained in:
parent
bbafff4d98
commit
8ea8846f47
1 changed files with 6 additions and 2 deletions
|
@ -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");
|
||||||
|
|
Loading…
Reference in a new issue