mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-16 11:37:36 +02:00
13 lines
277 B
Plaintext
13 lines
277 B
Plaintext
LET url = @dynamic
|
|
LET doc = DOCUMENT(url, true)
|
|
|
|
LET el = ELEMENT(doc, "#root")
|
|
|
|
LET expectedP = TRUE
|
|
LET actualP = ELEMENT_EXISTS(el, '.jumbotron')
|
|
|
|
LET expectedN = FALSE
|
|
LET actualN = ELEMENT_EXISTS(el, '.foo-bar')
|
|
|
|
RETURN EXPECT(expectedP + expectedN, actualP + expectedN)
|