1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-14 11:23:02 +02:00

bugfix: dynamic test didn't use the dynamic DOCUMENT element

This commit is contained in:
Gabriel Marinkovic 2019-10-07 16:10:26 +02:00
parent 82654f3856
commit dba0d3f797

View File

@ -1,5 +1,5 @@
LET url = @dynamic
LET doc = DOCUMENT(url)
LET doc = DOCUMENT(url, true)
LET el = ELEMENT(doc, "#root")
@ -9,4 +9,4 @@ LET actualP = ELEMENT_EXISTS(el, '.jumbotron')
LET expectedN = FALSE
LET actualN = ELEMENT_EXISTS(el, '.foo-bar')
RETURN EXPECT(expectedP + expectedN, actualP + expectedN)
RETURN EXPECT(expectedP + expectedN, actualP + expectedN)