mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-21 01:21:34 +02:00
10 lines
242 B
Plaintext
10 lines
242 B
Plaintext
|
LET url = @dynamic
|
||
|
LET doc = DOCUMENT(url)
|
||
|
|
||
|
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)
|