LET url = @lab.cdn.dynamic + "?redirect=/events"
LET doc = DOCUMENT(url, true)
LET selector = "#wait-class-btn, #wait-class-random-btn"

WAIT_ELEMENT(doc, "#page-events")

LET n = (
    FOR el IN ELEMENTS(doc, selector)
        ATTR_SET(el, "style", "color: black")

        RETURN NONE
)

WAIT_STYLE_ALL(doc, selector, "color", "black", 10000)

LET results = (
    FOR el IN ELEMENTS(doc, selector)
        RETURN el.style.color
)

T::EQ(CONCAT(results), "blackblack", "styles should be updated")

RETURN NONE