github.com/MontFerret/ferret@v0.18.0/e2e/tests/dynamic/element/styles/set_many.fql (about) 1 LET url = @lab.cdn.dynamic + "?redirect=/events" 2 LET doc = DOCUMENT(url, true) 3 LET pageSelector = "#page-events" 4 LET elemSelector = "#wait-no-style-content" 5 6 WAIT_ELEMENT(doc, pageSelector) 7 8 LET el = ELEMENT(doc, elemSelector) 9 LET prev = el.style 10 11 STYLE_SET(el, { color: "black", "font-size": "10px"}) 12 13 WAIT(1000) 14 15 LET curr = el.style 16 17 T::EQ(curr.color, "rgb(0, 0, 0)") 18 T::EQ(curr["font-size"], "10px") 19 20 RETURN NONE