-
Notifications
You must be signed in to change notification settings - Fork 960
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix tests broken due the OIDC RP-Initiated Logout
Closes #311
- Loading branch information
Showing
7 changed files
with
2,488 additions
and
1,290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,3 +59,7 @@ target | |
# Node.js # | ||
########### | ||
node_modules | ||
|
||
# Keycloak distribution | ||
keycloak | ||
keycloak-dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
...oz/photoz-testsuite/src/test/java/org/keycloak/quickstart/uma/page/LogoutConfirmPage.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package org.keycloak.quickstart.uma.page; | ||
|
||
import org.openqa.selenium.WebElement; | ||
import org.openqa.selenium.support.FindBy; | ||
|
||
import static org.jboss.arquillian.graphene.Graphene.waitGui; | ||
|
||
/** | ||
* @author <a href="mailto:mposolda@redhat.com">Marek Posolda</a> | ||
*/ | ||
public class LogoutConfirmPage { | ||
|
||
@FindBy(css = "input[type=\"submit\"]") | ||
private WebElement confirmLogoutButton; | ||
|
||
public void confirmLogout() { | ||
waitGui().until().element(confirmLogoutButton).is().clickable(); | ||
confirmLogoutButton.click(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
...oz/photoz-testsuite/src/test/java/org/keycloak/quickstart/uma/page/LogoutConfirmPage.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package org.keycloak.quickstart.uma.page; | ||
|
||
import org.openqa.selenium.WebElement; | ||
import org.openqa.selenium.support.FindBy; | ||
|
||
import static org.jboss.arquillian.graphene.Graphene.waitGui; | ||
|
||
/** | ||
* @author <a href="mailto:mposolda@redhat.com">Marek Posolda</a> | ||
*/ | ||
public class LogoutConfirmPage { | ||
|
||
@FindBy(css = "input[type=\"submit\"]") | ||
private WebElement confirmLogoutButton; | ||
|
||
@FindBy(className = "instruction") | ||
private WebElement infoMessage; | ||
|
||
public void confirmLogout() { | ||
waitGui().until().element(confirmLogoutButton).is().clickable(); | ||
confirmLogoutButton.click(); | ||
} | ||
} |
Oops, something went wrong.