LET url = @dynamic + "?redirect=/events"
LET doc = DOCUMENT(url, true)

WAIT_ELEMENT(doc, "#page-events")

LET el = ELEMENT(doc, "#wait-class-content")

ATTR_SET(el, "data-test", "test")
WAIT_ATTR(el, "data-test", "test")

ATTR_REMOVE(el, "class")
WAIT_ATTR(el, "class", NONE)

RETURN el.attributes.class == NONE ? "" : "attribute should be removed"