interface CurrentsNodeParameters {
actionId?: string;
actionTags?: string;
actionType?: "tag" | "quarantine" | "skip";
cancelGithubOptions?: {
ciBuildId?: string;
projectId?: string;
};
createOptions?: {
description?: string;
expiresAfter?: string;
};
dateEnd?: string;
dateStart?: string;
filters?: | {
search?: string;
status?: (
"active"
| "expired"
| "archived"
| "disabled"
)[];
}
| {
branch?: string;
ciBuildId?: string;
tags?: string;
}
| {
authors?: string;
branches?: string;
completionState?: (
| "IN_PROGRESS"
| "CANCELED"
| "COMPLETE"
| "TIMEOUT"
)[];
dateEnd?: string;
dateStart?: string;
search?: string;
status?: ("FAILED" | "FAILING" | "PASSED" | "RUNNING")[];
tagOperator?: "AND" | "OR";
tags?: string;
}
| {
authors?: string;
branches?: string;
groups?: string;
specNameFilter?: string;
tags?: string;
}
| {
authors?: string;
branches?: string;
groups?: string;
minExecutions?: number;
spec?: string;
tags?: string;
testState?: (
"pending"
| "failed"
| "passed"
| "skipped"
)[];
title?: string;
}
| {
authors?: string;
branches?: string;
groups?: string;
status?: ("pending" | "failed" | "passed" | "skipped")[];
tags?: string;
};
githubRunAttempt?: number;
githubRunId?: string;
instanceId?: string;
limit?: number;
machineIds?: string;
matcherType?: | "signature"
| "specContains"
| "specEquals"
| "titleContains"
| "titleEquals";
matcherValue?: string;
name?: string;
operation?: | "create"
| "get"
| "getAll"
| "update"
| "delete"
| "generate"
| "cancel"
| "disable"
| "enable"
| "getInsights"
| "cancelGithub"
| "find"
| "reset";
options?: | {
authors?: string;
branches?: string;
groups?: string;
resolution?: "1h"
| "1d"
| "1w";
tags?: string;
}
| { endingBefore?: string; startingAfter?: string }
| {
dir?: "asc" | "desc";
includeFailedInDuration?: boolean;
order?:
| "avgDuration"
| "failedExecutions"
| "failureRate"
| "flakeRate"
| "flakyExecutions"
| "fullyReported"
| "overallExecutions"
| "suiteSize"
| "timeoutExecutions"
| "timeoutRate";
page?: number;
}
| {
dir?: "asc"
| "desc";
metric_settings?: string;
order?:
| "duration"
| "durationDelta"
| "durationXSamples"
| "executions"
| "failRateXSamples"
| "failureRateDelta"
| "failures"
| "flakiness"
| "flakinessXSamples"
| "flakinessRateDelta"
| "passes"
| "title";
page?: number;
};
projectId?: { mode: "id"
| "list"; value: string };
resetOptions?: { isBatchedOr8n?: boolean };
resource?:
| "test"
| "signature"
| "run"
| "project"
| "action"
| "instance"
| "specFile"
| "testResult";
runId?: string;
signature?: string;
specFilePath?: string;
testTitle?: string;
updateFields?: {
description?: string;
expiresAfter?: string;
name?: string;
};
}Properties§
readonly action Id?: stringComma-separated list of tags to apply
readonly action Type?: "tag" | "quarantine" | "skip"Default: "quarantine"
readonly cancel Github Options?: { ... }Default: {}
readonly create Options?: { ... }Default: {}
readonly date End?: stringEnd date for metrics (ISO 8601 format)
readonly date Start?: stringStart date for metrics (ISO 8601 format)
readonly filters?:
| {
search?: string;
status?: (
"active"
| "expired"
| "archived"
| "disabled"
)[];
}
| {
branch?: string;
ciBuildId?: string;
tags?: string;
}
| {
authors?: string;
branches?: string;
completionState?: (
| "IN_PROGRESS"
| "CANCELED"
| "COMPLETE"
| "TIMEOUT"
)[];
dateEnd?: string;
dateStart?: string;
search?: string;
status?: ("FAILED" | "FAILING" | "PASSED" | "RUNNING")[];
tagOperator?: "AND" | "OR";
tags?: string;
}
| {
authors?: string;
branches?: string;
groups?: string;
specNameFilter?: string;
tags?: string;
}
| {
authors?: string;
branches?: string;
groups?: string;
minExecutions?: number;
spec?: string;
tags?: string;
testState?: (
"pending"
| "failed"
| "passed"
| "skipped"
)[];
title?: string;
}
| {
authors?: string;
branches?: string;
groups?: string;
status?: ("pending" | "failed" | "passed" | "skipped")[];
tags?: string;
}Default: {}
readonly github Run Attempt?: numberThe GitHub Actions workflow attempt number Default: 1
readonly github Run Id?: stringThe GitHub Actions workflow run ID
readonly instance Id?: stringThe ID of the spec file execution instance
readonly limit?: numberMax number of results to return Default: 10 Type options: {"minValue":1,"maxValue":50}
readonly machine Ids?: stringComma-separated list of machine identifiers to reset (1-63 items)
readonly matcher Type?:
| "signature"
| "specContains"
| "specEquals"
| "titleContains"
| "titleEquals"How to match tests for this action Default: "titleContains"
readonly matcher Value?: stringThe value to match against (test title, spec file path, or signature)
readonly name?: stringThe name of the action (1-255 characters)
readonly operation?:
| "create"
| "get"
| "getAll"
| "update"
| "delete"
| "generate"
| "cancel"
| "disable"
| "enable"
| "getInsights"
| "cancelGithub"
| "find"
| "reset"Default: "getAll"
readonly options?:
| {
authors?: string;
branches?: string;
groups?: string;
resolution?: "1h"
| "1d"
| "1w";
tags?: string;
}
| { endingBefore?: string; startingAfter?: string }
| {
dir?: "asc" | "desc";
includeFailedInDuration?: boolean;
order?:
| "avgDuration"
| "failedExecutions"
| "failureRate"
| "flakeRate"
| "flakyExecutions"
| "fullyReported"
| "overallExecutions"
| "suiteSize"
| "timeoutExecutions"
| "timeoutRate";
page?: number;
}
| {
dir?: "asc"
| "desc";
metric_settings?: string;
order?:
| "duration"
| "durationDelta"
| "durationXSamples"
| "executions"
| "failRateXSamples"
| "failureRateDelta"
| "failures"
| "flakiness"
| "flakinessXSamples"
| "flakinessRateDelta"
| "passes"
| "title";
page?: number;
}Default: {}
readonly project Id?: { ... }The Currents project Default: {"mode":"list","value":""}
readonly reset Options?: { ... }Default: {}
readonly resource?:
| "test"
| "signature"
| "run"
| "project"
| "action"
| "instance"
| "specFile"
| "testResult"Default: "run"
readonly run Id?: stringThe ID of the run
readonly signature?: stringThe unique test signature. Use the Signature resource to generate this from project ID, spec file path, and test title.
readonly spec File Path?: stringThe complete path to the spec file
readonly test Title?: stringThe test title. For nested describe blocks, use " > " as separator (e.g., "Login > should login with valid credentials").
readonly update Fields?: { ... }Default: {}
The ID of the action