github.com/MontFerret/ferret@v0.18.0/e2e/tests/static/element/parent/get.fql (about)

     1  LET url = @lab.cdn.static + '/list.html'
     2  LET doc = DOCUMENT(url)
     3  
     4  LET child = ELEMENT(doc, ".track-list")
     5  LET parent = child.parentElement
     6  
     7  T::NOT::NONE(parent)
     8  T::EQ(parent.attributes.id, "tracks")
     9  
    10  RETURN NONE