cypress-xray-plugin
Version:
A Cypress plugin for uploading test results to Xray (test management for Jira)
13 lines (12 loc) • 650 B
TypeScript
import type { CypressRunResult } from "../../types/cypress";
export declare function containsCypressTest(runResult: CypressRunResult, featureFileExtension?: string): boolean;
export declare function containsCucumberTest(runResult: CypressRunResult, featureFileExtension?: string): boolean;
/**
* Extracts Jira issue keys from a Cypress test title, based on the provided project key.
*
* @param title - the test title
* @param projectKey - the Jira projectk key
* @returns the Jira issue keys
* @throws if the title contains zero issue keys
*/
export declare function getTestIssueKeys(title: string, projectKey: string): [string, ...string[]];