1 |
|
2 | import type { Status } from "./model.js";
|
3 | import { type ContentType } from "./model.js";
|
4 | import { type AttachmentOptions, type Label, type Link, type ParameterMode, type ParameterOptions } from "./model.js";
|
5 | import { LabelName, LinkType } from "./model.js";
|
6 | export declare const label: (name: LabelName | string, value: string) => PromiseLike<void>;
|
7 | export declare const labels: (...labelsList: Label[]) => PromiseLike<void>;
|
8 | export declare const link: (url: string, name?: string, type?: LinkType | string) => PromiseLike<void>;
|
9 | export declare const links: (...linksList: Link[]) => PromiseLike<void>;
|
10 | export declare const parameter: (name: string, value: string, options?: ParameterOptions) => PromiseLike<void>;
|
11 | export declare const description: (markdown: string) => PromiseLike<void>;
|
12 | export declare const descriptionHtml: (html: string) => PromiseLike<void>;
|
13 | export declare const displayName: (name: string) => PromiseLike<void>;
|
14 | export declare const historyId: (value: string) => PromiseLike<void>;
|
15 | export declare const testCaseId: (value: string) => PromiseLike<void>;
|
16 | export declare const attachment: (name: string, content: Buffer | string, options: ContentType | string | AttachmentOptions) => PromiseLike<void>;
|
17 | export declare const attachmentPath: (name: string, path: string, options: ContentType | string | Omit<AttachmentOptions, "encoding">) => PromiseLike<void>;
|
18 | export type StepContext = {
|
19 | displayName: (name: string) => void | PromiseLike<void>;
|
20 | parameter: (name: string, value: string, mode?: ParameterMode) => void | PromiseLike<void>;
|
21 | };
|
22 | export declare const logStep: (name: string, status?: Status, error?: Error) => PromiseLike<void>;
|
23 | export declare const step: <T = void>(name: string, body: (context: StepContext) => T | PromiseLike<T>) => PromiseLike<T>;
|
24 | export declare const issue: (url: string, name?: string) => PromiseLike<void>;
|
25 | export declare const tms: (url: string, name?: string) => PromiseLike<void>;
|
26 | export declare const allureId: (value: string) => PromiseLike<void>;
|
27 | export declare const epic: (name: string) => PromiseLike<void>;
|
28 | export declare const feature: (name: string) => PromiseLike<void>;
|
29 | export declare const story: (name: string) => PromiseLike<void>;
|
30 | export declare const suite: (name: string) => PromiseLike<void>;
|
31 | export declare const parentSuite: (name: string) => PromiseLike<void>;
|
32 | export declare const subSuite: (name: string) => PromiseLike<void>;
|
33 | export declare const owner: (name: string) => PromiseLike<void>;
|
34 | export declare const severity: (name: string) => PromiseLike<void>;
|
35 | export declare const layer: (name: string) => PromiseLike<void>;
|
36 | export declare const tag: (name: string) => PromiseLike<void>;
|
37 | export declare const tags: (...tagsList: string[]) => PromiseLike<void>;
|