playwright-bdd
Version:
BDD Testing with Playwright runner
15 lines • 803 B
TypeScript
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;
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