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 attrs = ATTR_GET(el, "style")

RETURN EXPECT("display: block;", attrs.style)