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 2023/06/21 21:45:58 UTC
[directory-fortress-commander] branch jakarta4 updated: cleanup
This is an automated email from the ASF dual-hosted git repository.
smckinney pushed a commit to branch jakarta4
in repository https://gitbox.apache.org/repos/asf/directory-fortress-commander.git
The following commit(s) were added to refs/heads/jakarta4 by this push:
new b428b6c cleanup
b428b6c is described below
commit b428b6c61f2886e149da403747aac9dade6a2a95
Author: Shawn McKinney <sm...@symas.com>
AuthorDate: Wed Jun 21 16:45:51 2023 -0500
cleanup
---
.../directory/fortress/web/integration/FortressWebSeleniumITCase.java | 2 +-
1 file changed, 1 insertion(+), 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 e8736c4..1eef882 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
@@ -279,7 +279,6 @@ public class FortressWebSeleniumITCase
{
try
{
- //driver.findElement(By.id("HTTP Status 400"));
String bodyText = driver.findElement(By.tagName("body")).getText();
return bodyText.contains( "HTTP Status 400" );
}
@@ -302,6 +301,7 @@ public class FortressWebSeleniumITCase
// TODO: Fixme:
if ( is400() )
{
+ // goto home page
driver.get( baseUrl + FORTRESS_WEB );
}
}