OptionalbodyInline attachment content as a string or raw binary data
OptionalcontentMIME type of the attachment (e.g., 'image/png', 'text/plain')
Original file system path to the screenshot, before attachment resolution
File system path to the attachment
Represents a file or data attachment associated with a test artifact.
Attachments can be either file-based (via
path) or inline content (viabody). ThecontentTypehelps consumers understand how to interpret the attachment data.