From dba0d3f79774b0965bcedd29c397d19f16041195 Mon Sep 17 00:00:00 2001 From: Gabriel Marinkovic Date: Mon, 7 Oct 2019 16:10:26 +0200 Subject: [PATCH] bugfix: dynamic test didn't use the dynamic DOCUMENT element --- e2e/tests/el_element_exists_d.fql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/tests/el_element_exists_d.fql b/e2e/tests/el_element_exists_d.fql index ac2be8d7..05668e5c 100644 --- a/e2e/tests/el_element_exists_d.fql +++ b/e2e/tests/el_element_exists_d.fql @@ -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) \ No newline at end of file +RETURN EXPECT(expectedP + expectedN, actualP + expectedN)