LET url = @dynamic + "?redirect=/events"
LET doc = DOCUMENT(url, true)
LET pageSelector = "#page-events"
LET elemSelector = "#wait-no-style-content"

WAIT_ELEMENT(doc, pageSelector)
LET el = ELEMENT(doc, elemSelector)

LET prev = el.attributes.style

ATTR_REMOVE(el, "style")

WAIT(1000)

LET curr = el.attributes.style

RETURN prev == "display: block;" && curr == NONE ? "" : "expected attribute to be removed"