Parasol icon indicating copy to clipboard operation
Parasol copied to clipboard

waitUntil on BPSeasideWebDriverTestCase

Open LesageYann opened this issue 6 years ago • 1 comments

Hi,

I have see two interesting functions : BPSeasideWebDriverTestCase >> waitUntil:checkEvery:timeoutAfter: BPSeasideWebDriverTestCase >> waitUntil:checkEvery:timeoutAfter:with:

Why don't move this on parent BPSeasideWebDriverTestCase ?

LesageYann avatar Jan 22 '18 10:01 LesageYann

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).

Rinzwind avatar Feb 02 '18 13:02 Rinzwind