[
https://issues.apache.org/jira/browse/CONNECTORS-1403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15992780#comment-15992780
]
Karl Wright commented on CONNECTORS-1403:
-----------------------------------------
Running a second time fails at a different spot:
{code}
[junit] Testcase: createConnectionsAndJob(org.apache.manifoldcf.crawler.conn
ectors.webcrawler.tests.NavigationHSQLDBUI): Caused an ERROR
[junit] Expected condition failed: waiting for visibility of element located
by By.cssSelector: [type="button"][value="Add"] (tried for 15 second(s) with 50
0 MILLISECONDS interval)
[junit] org.openqa.selenium.TimeoutException: Expected condition failed: wai
ting for visibility of element located by By.cssSelector: [type="button"][value=
"Add"] (tried for 15 second(s) with 500 MILLISECONDS interval)
[junit] at org.openqa.selenium.support.ui.WebDriverWait.timeoutException
(WebDriverWait.java:80)
[junit] at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.ja
va:232)
[junit] at org.apache.manifoldcf.core.tests.SeleniumTester.waitFindEleme
nt(SeleniumTester.java:218)
[junit] at org.apache.manifoldcf.core.tests.SeleniumTester.clickButton(S
eleniumTester.java:359)
[junit] at org.apache.manifoldcf.crawler.connectors.webcrawler.tests.Nav
igationHSQLDBUI.createConnectionsAndJob(NavigationHSQLDBUI.java:96)
[junit] Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate
an element using By.cssSelector: [type="button"][value="Add"]
[junit] For documentation on this error, please visit: http://seleniumhq.org
/exceptions/no_such_element.html
[junit] Build info: version: '3.3.1', revision: '5234b325d5', time: '2017-03
-10 09:10:29 +0000'
[junit] System info: host: 'B3NGYY1', ip: '10.222.203.213', os.name: 'Window
s 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_05'
[junit] Driver info: driver.version: unknown
[junit] at org.openqa.selenium.support.ui.ExpectedConditions.lambda$find
Element$0(ExpectedConditions.java:899)
[junit] at org.openqa.selenium.support.ui.ExpectedConditions$$Lambda$64/
1076855029.get(Unknown Source)
[junit] at java.util.Optional.orElseThrow(Optional.java:290)
[junit] at org.openqa.selenium.support.ui.ExpectedConditions.findElement
(ExpectedConditions.java:898)
[junit] at org.openqa.selenium.support.ui.ExpectedConditions.access$000(
ExpectedConditions.java:44)
[junit] at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(Exp
ectedConditions.java:208)
[junit] at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(Exp
ectedConditions.java:204)
[junit] at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.ja
va:209)
[junit]
[junit]
BUILD FAILED
{code}
> Update WebCrawler Connector HTML String to Velocity Template
> ------------------------------------------------------------
>
> Key: CONNECTORS-1403
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1403
> Project: ManifoldCF
> Issue Type: Improvement
> Components: Web connector
> Affects Versions: ManifoldCF 2.7
> Reporter: Kishore Kumar
> Assignee: Kishore Kumar
> Priority: Minor
> Fix For: ManifoldCF 2.8
>
>
> Hi,
> I am currently in the process of converting the stringified HTML to Velocity
> template for WebCrawler connector. This is the first attempt in updating all
> the connectors to use velocity template.
> I don't know when we are planning for the code freeze but will try to
> complete by next week.
> Thanks,
> Kishore Kumar
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)