UNPKG

cypress-xray-plugin

Version:

A Cypress plugin for uploading test results to Xray (test management for Jira)

53 lines (52 loc) 1.55 kB
import type { FieldMeta } from "./field-meta"; import type { StatusDetails } from "./status-details"; export interface Transition { /** * Expand options that include additional transition details in the response. */ expand?: string; /** * Details of the fields associated with the issue transition screen. Use this information to * populate `fields` and `update` in a transition request. */ fields?: Record<string, FieldMeta>; /** * The ID of the issue transition. Required when specifying a transition to undertake. */ id?: string; /** * The name of the issue transition. */ name?: string; /** * Details of the issue status after the transition. */ to?: StatusDetails; } export interface TransitionServer extends Transition { opsbarSequence?: number; } export interface TransitionCloud extends Transition { /** * Whether there is a screen associated with the issue transition. */ hasScreen?: boolean; /** * Whether the transition is available to be performed. */ isAvailable?: boolean; /** * Whether the issue has to meet criteria before the issue transition is applied. */ isConditional?: boolean; /** * Whether the issue transition is global, that is, the transition is applied to issues * regardless of their status. */ isGlobal?: boolean; /** * Whether this is the initial issue transition for the workflow. */ isInitial?: boolean; looped?: boolean; }