@alwaysmeticulous/api
Advanced tools
Comparing version 2.40.0 to 2.40.1
export { Organization } from "./organization.types"; | ||
export { Project, ProjectConfigurationData } from "./project.types"; | ||
export { EndStateScreenshot, ReplayDiff, ReplayDiffData, ScreenshotAfterEvent, ScreenshotAssertionsEnabledOptions, ScreenshotAssertionsOptions, ScreenshotDiffOptions, ScreenshotDiffResult, ScreenshotDiffResultCompared, ScreenshotDiffResultDifferentSize, ScreenshotDiffResultMissingBase, ScreenshotDiffResultMissingBaseAndHead, ScreenshotDiffResultMissingHead, ScreenshotIdentifier, ScreenshottingEnabledOptions, SingleTryScreenshotDiffResult, StoryboardOptions, } from "./replay/replay-diff.types"; | ||
export { TestCase, TestCaseReplayOptions, TestRunArguments, TestRunConfigData, TestRunEnvironment, } from "./replay/test-run.types"; | ||
export { TestCase, TestCaseReplayOptions, TestRunArguments, TestRunConfigData, TestRunEnvironment, TestRun, TestRunStatus, TestCaseResult, TestCaseResultStatus, } from "./replay/test-run.types"; | ||
export { ReplayableEvent } from "./sdk-bundle-api/bidirectional/replayable-event"; | ||
@@ -6,0 +6,0 @@ export { SDKReplayTimelineEntry, SDKReplayTimelineData, } from "./sdk-bundle-api/bundle-to-sdk/timeline.types"; |
@@ -0,1 +1,2 @@ | ||
import { Project } from "../project.types"; | ||
import { ScreenshotDiffOptions } from "./replay-diff.types"; | ||
@@ -75,1 +76,22 @@ /** Represents the configuration used for a test run */ | ||
} | ||
export type TestRunStatus = "Running" | "Success" | "Failure"; | ||
export interface TestRun { | ||
id: string; | ||
status: TestRunStatus; | ||
project: Project; | ||
resultData?: { | ||
results: TestCaseResult[]; | ||
[key: string]: any; | ||
}; | ||
[key: string]: any; | ||
} | ||
export type TestCaseResultStatus = "pass" | "fail" | "flake"; | ||
export interface TestCaseResult extends TestCase { | ||
headReplayId: string; | ||
/** | ||
* A test case is marked as a flake if there were screenshot comparison failures, | ||
* but for every one of those failures regenerating the screenshot on head sometimes gave | ||
* a different screenshot to the original screenshot taken on head. | ||
*/ | ||
result: TestCaseResultStatus; | ||
} |
{ | ||
"name": "@alwaysmeticulous/api", | ||
"version": "2.40.0", | ||
"version": "2.40.1", | ||
"description": "Meticulous API types", | ||
@@ -37,3 +37,3 @@ "license": "ISC", | ||
}, | ||
"gitHead": "46c8a774b634b1e43ca8e792a6ed573adba296ef" | ||
"gitHead": "b56c6ec8cf1ac2d0f935e0f2500a3e55463574a8" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18126
439