@alwaysmeticulous/api 2.285.0 → 2.285.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export * from "./sdk-bundle-api/sdk-to-bundle/event-source-data";
|
|
|
13
13
|
export { StreamingFetchChunk, StreamingFetchResponseData, } from "./sdk-bundle-api/sdk-to-bundle/streaming-fetch-data";
|
|
14
14
|
export { Replay } from "./replay/replay.types";
|
|
15
15
|
export { ScreenshotAssertionsOptions, ScreenshotAssertionsEnabledOptions, ScreenshottingEnabledOptions, StoryboardOptions, ScreenshotDiffOptions, ElementToIgnore, CSSSelectorToIgnore, } from "./sdk-bundle-api/sdk-to-bundle/screenshotting-options";
|
|
16
|
-
export { NetworkStubbingMode, StubAllRequests, StubNonSSRRequests, NoStubbing, CustomStubbing, RequestFilter, CustomTransformation, CustomTransformationWhere, } from "./sdk-bundle-api/sdk-to-bundle/network-stubbing";
|
|
16
|
+
export { NetworkStubbingMode, StubAllRequests, StubNonSSRRequests, PassthroughAppRequests, NoStubbing, CustomStubbing, RequestFilter, CustomTransformation, CustomTransformationWhere, } from "./sdk-bundle-api/sdk-to-bundle/network-stubbing";
|
|
17
17
|
export { ConsoleMessageWithStackTracePointer, VirtualTimeChange, MeticulousConsoleMessage, ApplicationConsoleMessage, ConsoleMessageCoreData, ConsoleMessageType, ConsoleMessageLocation, } from "./sdk-bundle-api/bundle-to-sdk/console-message";
|
|
18
18
|
export { InjectableRequestHeader, StaticHeaderValue, DynamicHeaderValue, AllRequests, AppUrlRequestsOnly, CustomRequests, } from "./sdk-bundle-api/sdk-to-bundle/header-injection";
|
|
19
19
|
export { ConsoleErrorDivergenceIndicator, Divergence, DivergenceConsoleError, DivergenceIndicator, InitialNavigationDivergenceIndicator, NetworkActivityDivergenceIndicator, ScreenshotDivergenceIdentifier, UrlChangeEventDivergenceIndicator, UserEventDivergenceIndicator, } from "./sdk-bundle-api/bundle-to-sdk/replay-divergence";
|
package/dist/project.types.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ export interface Project {
|
|
|
32
32
|
externalHostsToConsiderAppRelated?: string[];
|
|
33
33
|
disableSourceMapLoading?: boolean;
|
|
34
34
|
assumeSourceMapEnabledForAllFiles?: boolean;
|
|
35
|
+
enableUploadedAssetRelevantSessions?: boolean;
|
|
35
36
|
};
|
|
36
37
|
experimentValues: Record<string, string>;
|
|
37
38
|
}
|
|
@@ -35,6 +35,8 @@ export interface TestCaseReplayOptions extends Partial<ScreenshotDiffOptions> {
|
|
|
35
35
|
simulationIdForAssets?: string | undefined;
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
|
+
* `PreProcessing` = the test run is undergoing some pre-processing before it can be executed.
|
|
39
|
+
*
|
|
38
40
|
* `Scheduled` = the test run has been created, and a cloud replay job has been queued to run it. It will switch to Running soon.
|
|
39
41
|
*
|
|
40
42
|
* `Running` = a worker is actively running the test run.
|
|
@@ -53,7 +55,7 @@ export interface TestCaseReplayOptions extends Partial<ScreenshotDiffOptions> {
|
|
|
53
55
|
* `ExecutionError` = the test run failed fatally, and didn't complete. To get accurate results it'll need to be re-run. The test run may shortly switch back
|
|
54
56
|
* into 'Running' in this case, if the worker retries it.
|
|
55
57
|
*/
|
|
56
|
-
export type TestRunStatus = "Scheduled" | "Running" | "Partial" | "PostProcessing" | "Success" | "Failure" | "Aborted" | "ExecutionError";
|
|
58
|
+
export type TestRunStatus = "PreProcessing" | "Scheduled" | "Running" | "Partial" | "PostProcessing" | "Success" | "Failure" | "Aborted" | "ExecutionError";
|
|
57
59
|
/**
|
|
58
60
|
* Execution of a chunk of a test run chunk.
|
|
59
61
|
*
|
|
@@ -85,6 +87,7 @@ export interface TestRunDataLocations {
|
|
|
85
87
|
coverageStatsPr: S3Location;
|
|
86
88
|
coverageReplaysByFile?: S3Location;
|
|
87
89
|
coverageReplaysByFileUnmapped?: S3Location;
|
|
90
|
+
coverageReplaysByFileUnmappedWithRanges?: S3Location;
|
|
88
91
|
coverageScreenshotReplaysByFile?: S3Location;
|
|
89
92
|
coverageScreenshotReplaysByFileUnmapped?: S3Location;
|
|
90
93
|
coverageByReplayPr?: S3Location;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type NetworkStubbingMode = StubAllRequests | StubNonSSRRequests | CustomStubbing;
|
|
1
|
+
export type NetworkStubbingMode = StubAllRequests | StubNonSSRRequests | CustomStubbing | PassthroughAppRequests;
|
|
2
2
|
interface NetworkStubbingBase {
|
|
3
3
|
/**
|
|
4
4
|
* When looking for a request to use as a stub, these transformations will be applied to the request first.
|
|
@@ -28,6 +28,13 @@ export interface StubAllRequests extends NetworkStubbingBase {
|
|
|
28
28
|
export interface StubNonSSRRequests extends NetworkStubbingBase {
|
|
29
29
|
type: "stub-non-ssr-requests";
|
|
30
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* Passes through all requests that originate from the app, and only stubs
|
|
33
|
+
* requests that were recorded in the session (e.g. calls to third party services).
|
|
34
|
+
*/
|
|
35
|
+
export interface PassthroughAppRequests extends NetworkStubbingBase {
|
|
36
|
+
type: "passthrough-app-requests";
|
|
37
|
+
}
|
|
31
38
|
export interface CustomStubbing extends NetworkStubbingBase {
|
|
32
39
|
type: "custom-stubbing";
|
|
33
40
|
requestsToNotStub: RequestFilter[];
|