laxy-verify 1.2.0 → 1.2.1
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/audit/broken-links.d.ts +21 -21
- package/dist/audit/broken-links.js +86 -86
- package/dist/auth.d.ts +11 -11
- package/dist/auth.js +222 -222
- package/dist/cli.js +830 -806
- package/dist/comment.d.ts +21 -21
- package/dist/comment.js +125 -125
- package/dist/crawler.d.ts +36 -36
- package/dist/crawler.js +357 -357
- package/dist/e2e.d.ts +49 -49
- package/dist/e2e.js +565 -565
- package/dist/entitlement.d.ts +11 -11
- package/dist/entitlement.js +90 -90
- package/dist/init.js +87 -87
- package/dist/multi-viewport.d.ts +31 -31
- package/dist/multi-viewport.js +298 -298
- package/dist/playwright-runner.d.ts +16 -16
- package/dist/playwright-runner.js +208 -208
- package/dist/report-markdown.d.ts +39 -39
- package/dist/report-markdown.js +386 -386
- package/dist/security-audit.d.ts +9 -9
- package/dist/security-audit.js +64 -64
- package/dist/serve.d.ts +13 -13
- package/dist/serve.js +196 -196
- package/dist/trend.d.ts +50 -50
- package/dist/trend.js +148 -148
- package/dist/verification-core/index.d.ts +3 -3
- package/dist/verification-core/index.js +19 -19
- package/dist/verification-core/report.d.ts +14 -14
- package/dist/verification-core/report.js +409 -409
- package/dist/verification-core/tier-policy.d.ts +13 -13
- package/dist/verification-core/tier-policy.js +60 -60
- package/dist/verification-core/types.d.ts +108 -108
- package/dist/verification-core/types.js +2 -2
- package/dist/visual-diff.d.ts +26 -26
- package/dist/visual-diff.js +178 -178
- package/package.json +1 -1
package/dist/e2e.d.ts
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import type { VerificationTier } from "./verification-core/types.js";
|
|
2
|
-
import type { UserScenario } from "./config.js";
|
|
3
|
-
import { type CrawlOptions, type CrawlResult } from "./crawler.js";
|
|
4
|
-
export interface E2EStep {
|
|
5
|
-
type: "click" | "fill" | "check_visible" | "check_text" | "wait" | "scroll" | "clear_fill" | "check_validation" | "check_healthy_page" | "goto";
|
|
6
|
-
selector?: string;
|
|
7
|
-
value?: string;
|
|
8
|
-
duration?: number;
|
|
9
|
-
expectedText?: string;
|
|
10
|
-
gotoUrl?: string;
|
|
11
|
-
description: string;
|
|
12
|
-
}
|
|
13
|
-
export interface E2EScenario {
|
|
14
|
-
name: string;
|
|
15
|
-
steps: E2EStep[];
|
|
16
|
-
initialUrl?: string;
|
|
17
|
-
}
|
|
18
|
-
export interface E2EStepResult {
|
|
19
|
-
description: string;
|
|
20
|
-
passed: boolean;
|
|
21
|
-
error?: string;
|
|
22
|
-
}
|
|
23
|
-
export interface E2EScenarioResult {
|
|
24
|
-
name: string;
|
|
25
|
-
passed: boolean;
|
|
26
|
-
steps: E2EStepResult[];
|
|
27
|
-
error?: string;
|
|
28
|
-
consoleErrors?: string[];
|
|
29
|
-
}
|
|
30
|
-
interface DomSnapshot {
|
|
31
|
-
selectors: string[];
|
|
32
|
-
structures: string[];
|
|
33
|
-
}
|
|
34
|
-
export declare function isNavigableInternalHref(href: string): boolean;
|
|
35
|
-
export declare function getVerificationCoverageGaps(scenarios: E2EScenario[], tier: VerificationTier): string[];
|
|
36
|
-
export declare function buildVerifyScenarios(snapshot: DomSnapshot, tier: VerificationTier): E2EScenario[];
|
|
37
|
-
export declare function convertUserScenarios(userScenarios: UserScenario[]): E2EScenario[];
|
|
38
|
-
export declare function runVerifyE2E(url: string, tier: VerificationTier, userScenarios?: UserScenario[], crawlOptions?: {
|
|
39
|
-
enabled: boolean;
|
|
40
|
-
} & CrawlOptions): Promise<{
|
|
41
|
-
scenarios: E2EScenario[];
|
|
42
|
-
results: E2EScenarioResult[];
|
|
43
|
-
passed: number;
|
|
44
|
-
failed: number;
|
|
45
|
-
coverageGaps: string[];
|
|
46
|
-
consoleErrors: string[];
|
|
47
|
-
crawlResult?: CrawlResult;
|
|
48
|
-
}>;
|
|
49
|
-
export {};
|
|
1
|
+
import type { VerificationTier } from "./verification-core/types.js";
|
|
2
|
+
import type { UserScenario } from "./config.js";
|
|
3
|
+
import { type CrawlOptions, type CrawlResult } from "./crawler.js";
|
|
4
|
+
export interface E2EStep {
|
|
5
|
+
type: "click" | "fill" | "check_visible" | "check_text" | "wait" | "scroll" | "clear_fill" | "check_validation" | "check_healthy_page" | "goto";
|
|
6
|
+
selector?: string;
|
|
7
|
+
value?: string;
|
|
8
|
+
duration?: number;
|
|
9
|
+
expectedText?: string;
|
|
10
|
+
gotoUrl?: string;
|
|
11
|
+
description: string;
|
|
12
|
+
}
|
|
13
|
+
export interface E2EScenario {
|
|
14
|
+
name: string;
|
|
15
|
+
steps: E2EStep[];
|
|
16
|
+
initialUrl?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface E2EStepResult {
|
|
19
|
+
description: string;
|
|
20
|
+
passed: boolean;
|
|
21
|
+
error?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface E2EScenarioResult {
|
|
24
|
+
name: string;
|
|
25
|
+
passed: boolean;
|
|
26
|
+
steps: E2EStepResult[];
|
|
27
|
+
error?: string;
|
|
28
|
+
consoleErrors?: string[];
|
|
29
|
+
}
|
|
30
|
+
interface DomSnapshot {
|
|
31
|
+
selectors: string[];
|
|
32
|
+
structures: string[];
|
|
33
|
+
}
|
|
34
|
+
export declare function isNavigableInternalHref(href: string): boolean;
|
|
35
|
+
export declare function getVerificationCoverageGaps(scenarios: E2EScenario[], tier: VerificationTier): string[];
|
|
36
|
+
export declare function buildVerifyScenarios(snapshot: DomSnapshot, tier: VerificationTier): E2EScenario[];
|
|
37
|
+
export declare function convertUserScenarios(userScenarios: UserScenario[]): E2EScenario[];
|
|
38
|
+
export declare function runVerifyE2E(url: string, tier: VerificationTier, userScenarios?: UserScenario[], crawlOptions?: {
|
|
39
|
+
enabled: boolean;
|
|
40
|
+
} & CrawlOptions): Promise<{
|
|
41
|
+
scenarios: E2EScenario[];
|
|
42
|
+
results: E2EScenarioResult[];
|
|
43
|
+
passed: number;
|
|
44
|
+
failed: number;
|
|
45
|
+
coverageGaps: string[];
|
|
46
|
+
consoleErrors: string[];
|
|
47
|
+
crawlResult?: CrawlResult;
|
|
48
|
+
}>;
|
|
49
|
+
export {};
|