This is an automated email from the ASF dual-hosted git repository.
benw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git
The following commit(s) were added to refs/heads/master by this push:
new 3279fd20e SeleniumTestCase fix blank check
3279fd20e is described below
commit 3279fd20edde04bcab148d082eda09a35573b2c1
Author: Ben Weidig <[email protected]>
AuthorDate: Sun Apr 5 18:31:16 2026 +0200
SeleniumTestCase fix blank check
---
.../src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/tapestry-test/src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java
b/tapestry-test/src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java
index c982d7775..cad438a32 100644
---
a/tapestry-test/src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java
+++
b/tapestry-test/src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java
@@ -388,7 +388,7 @@ public abstract class SeleniumTestCase extends Assert
implements Selenium
{
String value = getParameter(xmlTest, key, null);
- return value != null && value.isBlank() ? Integer.parseInt(value) :
defaultValue;
+ return value != null && !value.isBlank() ? Integer.parseInt(value) :
defaultValue;
}
private final long getLongParameter(XmlTest xmlTest, String key, long
defaultValue)