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

     1  LET url = @lab.cdn.dynamic + "?redirect=/forms"
     2  LET doc = DOCUMENT(url, true)
     3  
     4  WAIT_ELEMENT(doc, "form")
     5  
     6  LET input = ELEMENT(doc, "#text_input")
     7  
     8  INPUT(input, "Foo", 100)
     9  
    10  INPUT_CLEAR(input)
    11  
    12  T::EMPTY(INNER_TEXT(doc, "#text_output"))
    13  
    14  INPUT(input, "test0-test1", 100)
    15  
    16  INPUT_CLEAR(input)
    17  
    18  T::EMPTY(INNER_TEXT(doc, "#text_output"))
    19  
    20  INPUT(input, "test0&test1", 100)
    21  
    22  INPUT_CLEAR(input)
    23  
    24  T::EMPTY(INNER_TEXT(doc, "#text_output"))
    25  
    26  RETURN NONE