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.style

STYLE_SET(el, { color: "black", "min-width": "100px", "background-color": "#11111" })

WAIT(1000)

LET curr = el.style

RETURN curr.color == "black" && curr["min-width"] == "100px" && curr["background-color"] == "#11111" ? "" : "styles should be updated"