In JS tests assert(<expr>, <msg>, <attr>) does not log <attr> in Mochalite

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 9.0.0-rc1
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Test Infrastructure
    • Fully Compatible
    • ALL
    • DevProd Test Infra 2026-07-14
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In SPM-3895 we've added the "attr" parameter to assertion functions in our JS test assertion library for separating the message from structured data that needs to be logged with the message preserving its structure. SERVER-126358 fix a bug when "attr" was not printed, however, this still seems to fail from inside Mochalite test cases.

            Assignee:
            Steve McClure
            Reporter:
            Romans Kasperovics
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: