github.com/MontFerret/ferret@v0.18.0/e2e/tests/dynamic/element/wait/attr_2.fql (about)

     1  LET url = @lab.cdn.dynamic + "?redirect=/events"
     2  LET doc = DOCUMENT(url, true)
     3  
     4  WAIT_ELEMENT(doc, "#page-events")
     5  
     6  LET el = ELEMENT(doc, "#wait-class-content")
     7  
     8  ATTR_SET(el, "data-test", "test")
     9  WAIT_ATTR(el, "data-test", "test")
    10  
    11  ATTR_REMOVE(el, "class")
    12  
    13  WAIT_ATTR(el, "class", NONE)
    14  
    15  T::NONE(el.attributes.class, "attribute should be removed")
    16  
    17  RETURN NONE