github.com/MontFerret/ferret@v0.18.0/e2e/tests/dynamic/element/wait/no_class.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 // with fixed timeout 7 LET b1 = ELEMENT(doc, "#wait-no-class-btn") 8 LET c1 = ELEMENT(doc, "#wait-no-class-content") 9 10 CLICK(b1) 11 WAIT_NO_CLASS(c1, "alert-success") 12 13 // with random timeout 14 LET b2 = ELEMENT(doc, "#wait-no-class-random-btn") 15 LET c2 = ELEMENT(doc, "#wait-no-class-random-content") 16 17 CLICK(b2) 18 WAIT_NO_CLASS(c2, "alert-success", 10000) 19 20 RETURN NONE