Refactor tests to use new LinkedIn provider (#23133)
Co-authored-by: stianst <stianst@gmail.com>
This commit is contained in:
parent
82bf84eb6b
commit
403d678e00
2 changed files with 8 additions and 4 deletions
2
.github/workflows/js-ci.yml
vendored
2
.github/workflows/js-ci.yml
vendored
|
@ -294,7 +294,7 @@ jobs:
|
||||||
- name: Start Keycloak server
|
- name: Start Keycloak server
|
||||||
run: |
|
run: |
|
||||||
tar xfvz keycloak-999.0.0-SNAPSHOT.tar.gz
|
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:
|
env:
|
||||||
KEYCLOAK_ADMIN: admin
|
KEYCLOAK_ADMIN: admin
|
||||||
KEYCLOAK_ADMIN_PASSWORD: admin
|
KEYCLOAK_ADMIN_PASSWORD: admin
|
||||||
|
|
|
@ -80,7 +80,11 @@ describe("Identity provider test", () => {
|
||||||
{ testName: "Gitlab", displayName: "Gitlab", alias: "gitlab" },
|
{ testName: "Gitlab", displayName: "Gitlab", alias: "gitlab" },
|
||||||
{ testName: "Google", displayName: "Google", alias: "google" },
|
{ testName: "Google", displayName: "Google", alias: "google" },
|
||||||
{ testName: "Instagram", displayName: "Instagram", alias: "instagram" },
|
{ 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: "Microsoft", displayName: "Microsoft", alias: "microsoft" },
|
||||||
{
|
{
|
||||||
testName: "Openshift-v3",
|
testName: "Openshift-v3",
|
||||||
|
@ -177,8 +181,8 @@ describe("Identity provider test", () => {
|
||||||
it("create and delete provider by item details", () => {
|
it("create and delete provider by item details", () => {
|
||||||
createProviderPage
|
createProviderPage
|
||||||
.clickCreateDropdown()
|
.clickCreateDropdown()
|
||||||
.clickItem("linkedin")
|
.clickItem("linkedin-openid-connect")
|
||||||
.fill("linkedin", "123")
|
.fill("linkedin-openid-connect", "123")
|
||||||
.clickAdd();
|
.clickAdd();
|
||||||
masthead.checkNotificationMessage(createSuccessMsg, true);
|
masthead.checkNotificationMessage(createSuccessMsg, true);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue