mirror of
https://github.com/MontFerret/ferret.git
synced 2025-01-18 03:22:02 +02:00
bugfix: dynamic test didn't use the dynamic DOCUMENT element
This commit is contained in:
parent
82654f3856
commit
dba0d3f797
@ -1,5 +1,5 @@
|
|||||||
LET url = @dynamic
|
LET url = @dynamic
|
||||||
LET doc = DOCUMENT(url)
|
LET doc = DOCUMENT(url, true)
|
||||||
|
|
||||||
LET el = ELEMENT(doc, "#root")
|
LET el = ELEMENT(doc, "#root")
|
||||||
|
|
||||||
@ -9,4 +9,4 @@ LET actualP = ELEMENT_EXISTS(el, '.jumbotron')
|
|||||||
LET expectedN = FALSE
|
LET expectedN = FALSE
|
||||||
LET actualN = ELEMENT_EXISTS(el, '.foo-bar')
|
LET actualN = ELEMENT_EXISTS(el, '.foo-bar')
|
||||||
|
|
||||||
RETURN EXPECT(expectedP + expectedN, actualP + expectedN)
|
RETURN EXPECT(expectedP + expectedN, actualP + expectedN)
|
||||||
|
Loading…
Reference in New Issue
Block a user