1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-16 11:37:36 +02:00
ferret/e2e/tests/dynamic/element/parent/get.fql

9 lines
214 B
Plaintext
Raw Normal View History

LET doc = DOCUMENT(@lab.cdn.dynamic + "/#/lists", { driver:"cdp" })
LET child = ELEMENT(doc, ".track-list")
LET parent = child.parentElement
T::NOT::NONE(parent)
T::EQ(parent.attributes.id, "tracks")
RETURN NONE