cypress-xray-plugin
Version:
A Cypress plugin for uploading test results to Xray (test management for Jira)
20 lines (19 loc) • 848 B
TypeScript
import type { XrayClient } from "../../../../client/xray/xray-client";
import type { PluginEventEmitter } from "../../../../context";
import { type Logger } from "../../../../util/logging";
import type { Computable } from "../../../command";
import { Command } from "../../../command";
interface CommandParameters {
emitter: PluginEventEmitter;
splitUpload: "sequential" | boolean;
xrayClient: XrayClient;
}
export declare class ImportExecutionCypressCommand extends Command<string, CommandParameters> {
private readonly execution;
constructor(parameters: CommandParameters, logger: Logger, execution: Computable<Parameters<XrayClient["importExecutionMultipart"]>>);
protected computeResult(): Promise<string>;
private uploadTestEvidences;
private uploadEvidenceServer;
private uploadEvidenceCloud;
}
export {};