Parasol
Parasol copied to clipboard
waitUntil on BPSeasideWebDriverTestCase
Hi,
I have see two interesting functions : BPSeasideWebDriverTestCase >> waitUntil:checkEvery:timeoutAfter: BPSeasideWebDriverTestCase >> waitUntil:checkEvery:timeoutAfter:with:
Why don't move this on parent BPSeasideWebDriverTestCase ?
You mean the waitUntil:*
methods in BPParasolSelfTestCase
? It does look like those could be pulled up to BPSeasideWebDriverTestCase
or BPWebDriverTestCase
.
Though we should instead, perhaps, implement the “waiting” framework that the Java reference implementation has. The WebDriver website has a small example that demonstrates the basics (it makes use of WebDriver.until
and ExpectedConditions.presenceOfElementLocated
; neither class currently has a counterpart in Parasol).