mirror of
https://github.com/MontFerret/ferret.git
synced 2025-01-04 03:02:02 +02:00
d7b923e4c3
* Refactored Virtual DOM structure * Added new E2E tests * Updated E2E Test Runner
12 lines
310 B
Plaintext
12 lines
310 B
Plaintext
LET url = @dynamic + "?redirect=/iframe"
|
|
LET page = DOCUMENT(url, { driver: 'cdp' })
|
|
|
|
LET doc = page.frames[1]
|
|
|
|
LET expectedP = TRUE
|
|
LET actualP = ELEMENT_EXISTS(doc, '.text-center')
|
|
|
|
LET expectedN = FALSE
|
|
LET actualN = ELEMENT_EXISTS(doc, '.foo-bar')
|
|
|
|
RETURN EXPECT(expectedP + expectedN, actualP + expectedN) |