mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-16 11:37:36 +02:00
d7b923e4c3
* Refactored Virtual DOM structure * Added new E2E tests * Updated E2E Test Runner
14 lines
367 B
Plaintext
14 lines
367 B
Plaintext
LET url = @dynamic + "?redirect=/iframe&src=/events"
|
|
LET page = DOCUMENT(url, { driver: 'cdp' })
|
|
LET doc = page.frames[1]
|
|
|
|
WAIT_ELEMENT(doc, "#page-events")
|
|
|
|
LET input = ELEMENT(doc, "#hoverable-btn")
|
|
|
|
HOVER(input)
|
|
WAIT_ELEMENT(doc, "#hoverable-content")
|
|
|
|
LET output = ELEMENT(doc, "#hoverable-content")
|
|
|
|
RETURN EXPECT(output.innerText, "Lorem ipsum dolor sit amet.") |