This is an automated email from the ASF dual-hosted git repository.
thiagohp 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 f786355f2 Removing unneeded code in SeleniumTestCase.openLinks()
f786355f2 is described below
commit f786355f2f8adb48dfaa9aa4a0a709d778000a06
Author: Thiago H. de Paula Figueiredo <[email protected]>
AuthorDate: Wed Feb 21 22:51:04 2024 -0300
Removing unneeded code in SeleniumTestCase.openLinks()
---
.../java/org/apache/tapestry5/test/SeleniumTestCase.java | 13 -------------
1 file changed, 13 deletions(-)
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 58d19082a..fe47d3049 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
@@ -1698,19 +1698,6 @@ public abstract class SeleniumTestCase extends Assert
implements Selenium
// Trying to solve some cases where the link is present on the page
but somehow
// openBaseURL() couldn't find it.
- if (linkText.length > 0)
- {
- try
- {
-
waitForCondition(ExpectedConditions.presenceOfElementLocated(By.linkText(linkText[0])),
3);
- }
- catch (org.openqa.selenium.TimeoutException e)
- {
- LOGGER.warn("Page content: {}", getHtmlSource());
- throw e;
- }
- }
-
for (String text : linkText)
{
try