Refactor tests to use new LinkedIn provider (#23133)

Co-authored-by: stianst <stianst@gmail.com>
This commit is contained in:
Jon Koops 2023-09-11 11:49:48 +02:00 committed by GitHub
parent 82bf84eb6b
commit 403d678e00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 4 deletions

View file

@ -294,7 +294,7 @@ jobs:
- name: Start Keycloak server
run: |
tar xfvz keycloak-999.0.0-SNAPSHOT.tar.gz
keycloak-999.0.0-SNAPSHOT/bin/kc.sh start-dev --features=admin-fine-grained-authz,declarative-user-profile,linkedin-oauth &> ~/server.log &
keycloak-999.0.0-SNAPSHOT/bin/kc.sh start-dev --features=admin-fine-grained-authz,declarative-user-profile &> ~/server.log &
env:
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin

View file

@ -80,7 +80,11 @@ describe("Identity provider test", () => {
{ testName: "Gitlab", displayName: "Gitlab", alias: "gitlab" },
{ testName: "Google", displayName: "Google", alias: "google" },
{ testName: "Instagram", displayName: "Instagram", alias: "instagram" },
{ testName: "Linkedin", displayName: "LinkedIn", alias: "linkedin" },
{
testName: "LinkedIn OpenID Connect",
displayName: "LinkedIn OpenID Connect",
alias: "linkedin-openid-connect",
},
{ testName: "Microsoft", displayName: "Microsoft", alias: "microsoft" },
{
testName: "Openshift-v3",
@ -177,8 +181,8 @@ describe("Identity provider test", () => {
it("create and delete provider by item details", () => {
createProviderPage
.clickCreateDropdown()
.clickItem("linkedin")
.fill("linkedin", "123")
.clickItem("linkedin-openid-connect")
.fill("linkedin-openid-connect", "123")
.clickAdd();
masthead.checkNotificationMessage(createSuccessMsg, true);