cypress-terminal-report
Version:
Better terminal and file output for cypress test logs.
52 lines (51 loc) • 2.75 kB
TypeScript
declare const InstallLogsCollectorSchema: import("superstruct").Struct<{
collectTypes?: ("cons:log" | "cons:info" | "cons:warn" | "cons:error" | "cons:debug" | "cy:log" | "cy:xhr" | "cy:fetch" | "cy:request" | "cy:intercept" | "cy:command")[] | undefined;
filterLog?: Function | undefined;
processLog?: Function | undefined;
collectTestLogs?: Function | undefined;
xhr?: {
printHeaderData?: boolean | undefined;
printRequestData?: boolean | undefined;
printBody?: boolean | undefined;
} | undefined;
enableExtendedCollector?: boolean | undefined;
enableContinuousLogging?: boolean | undefined;
commandTimings?: "timestamp" | "seconds" | undefined;
maxLogLength?: number | undefined;
debug?: boolean | undefined;
}, {
collectTypes: import("superstruct").Struct<("cons:log" | "cons:info" | "cons:warn" | "cons:error" | "cons:debug" | "cy:log" | "cy:xhr" | "cy:fetch" | "cy:request" | "cy:intercept" | "cy:command")[] | undefined, import("superstruct").Struct<"cons:log" | "cons:info" | "cons:warn" | "cons:error" | "cons:debug" | "cy:log" | "cy:xhr" | "cy:fetch" | "cy:request" | "cy:intercept" | "cy:command", {
"cons:log": "cons:log";
"cons:info": "cons:info";
"cons:warn": "cons:warn";
"cons:error": "cons:error";
"cons:debug": "cons:debug";
"cy:log": "cy:log";
"cy:xhr": "cy:xhr";
"cy:fetch": "cy:fetch";
"cy:request": "cy:request";
"cy:intercept": "cy:intercept";
"cy:command": "cy:command";
}>>;
filterLog: import("superstruct").Struct<Function | undefined, null>;
processLog: import("superstruct").Struct<Function | undefined, null>;
collectTestLogs: import("superstruct").Struct<Function | undefined, null>;
xhr: import("superstruct").Struct<{
printHeaderData?: boolean | undefined;
printRequestData?: boolean | undefined;
printBody?: boolean | undefined;
} | undefined, {
printHeaderData: import("superstruct").Struct<boolean | undefined, null>;
printRequestData: import("superstruct").Struct<boolean | undefined, null>;
printBody: import("superstruct").Struct<boolean | undefined, null>;
}>;
enableExtendedCollector: import("superstruct").Struct<boolean | undefined, null>;
enableContinuousLogging: import("superstruct").Struct<boolean | undefined, null>;
commandTimings: import("superstruct").Struct<"timestamp" | "seconds" | undefined, {
timestamp: "timestamp";
seconds: "seconds";
}>;
maxLogLength: import("superstruct").Struct<number | undefined, null>;
debug: import("superstruct").Struct<boolean | undefined, null>;
}>;
export { InstallLogsCollectorSchema };