UNPKG

playwright-bdd

Version:
15 lines 816 B
import * as messages from '@cucumber/messages'; import { AttachmentEnvelope } from '../messagesBuilder/types'; export declare function isAttachmentEnvelope(envelope: messages.Envelope): envelope is AttachmentEnvelope; export declare function getAttachmentBodyAsBuffer(attachment: messages.Attachment): Buffer<ArrayBuffer>; export declare function getAttachmentBodyAsBase64(attachment: messages.Attachment): string; /** * @public */ export declare function createLinkAttachment(testCaseStartedId: string | undefined, testStepId: string | undefined, href: string): { attachment: messages.Attachment; }; export declare function createLogAttachment(testCaseStartedId: string | undefined, testStepId: string | undefined, body: string): { attachment: messages.Attachment; }; //# sourceMappingURL=helpers.d.ts.map