You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by sm...@apache.org on 2020/05/13 16:26:01 UTC
[directory-fortress-commander] branch FC-281 updated: for now,
hack around an unexpected error in login.
This is an automated email from the ASF dual-hosted git repository.
smckinney pushed a commit to branch FC-281
in repository https://gitbox.apache.org/repos/asf/directory-fortress-commander.git
The following commit(s) were added to refs/heads/FC-281 by this push:
new 223b63c for now, hack around an unexpected error in login.
223b63c is described below
commit 223b63cc80e9a23c4c1cdf75eb69162c37eba829
Author: Shawn McKinney <sm...@symas.com>
AuthorDate: Wed May 13 11:25:55 2020 -0500
for now, hack around an unexpected error in login.
---
.../fortress/web/integration/FortressWebSeleniumITCase.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/directory/fortress/web/integration/FortressWebSeleniumITCase.java b/src/test/java/org/apache/directory/fortress/web/integration/FortressWebSeleniumITCase.java
index 8a5c1ad..f75a704 100644
--- a/src/test/java/org/apache/directory/fortress/web/integration/FortressWebSeleniumITCase.java
+++ b/src/test/java/org/apache/directory/fortress/web/integration/FortressWebSeleniumITCase.java
@@ -222,7 +222,10 @@ public class FortressWebSeleniumITCase
driver.findElement( By.name( GlobalIds.LOGIN ) ).click();
// TODO: Determine why the previous step causes 'unexpected system error' worked around by:
- driver.findElement( By.name( "return" ) ).click();
+ if ( driver.findElement( By.name( "return" )).isDisplayed() )
+ {
+ driver.findElement( By.name( "return" ) ).click();
+ }
}
private void users()