github.com/MontFerret/ferret@v0.18.0/e2e/tests/dynamic/element/styles/remove.fql (about) 1 LET url = @lab.cdn.dynamic + "?redirect=/events" 2 LET doc = DOCUMENT(url, { driver: "cdp" }) 3 LET pageSelector = "#page-events" 4 LET elemSelector = "#wait-no-style-content" 5 6 WAIT_ELEMENT(doc, pageSelector) 7 LET el = ELEMENT(doc, elemSelector) 8 9 LET prev = el.attributes.style 10 11 STYLE_REMOVE(el, "display") 12 13 LET curr = el.attributes.style 14 15 T::EQ(prev.display, "block") 16 T::EQ(curr.display, "inline") 17 18 RETURN TRUE