@riddledc/riddle-proof 0.7.33 → 0.7.35
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/README.md +25 -7
- package/dist/{chunk-COUZXKGM.js → chunk-VCINQE5O.js} +173 -5
- package/dist/cli.cjs +173 -5
- package/dist/cli.js +1 -1
- package/dist/index.cjs +173 -5
- package/dist/index.js +1 -1
- package/dist/profile.cjs +173 -5
- package/dist/profile.d.cts +3 -1
- package/dist/profile.d.ts +3 -1
- package/dist/profile.js +1 -1
- package/package.json +1 -1
package/dist/profile.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ declare const RIDDLE_PROOF_PROFILE_VERSION: "riddle-proof.profile.v1";
|
|
|
4
4
|
declare const RIDDLE_PROOF_PROFILE_EVIDENCE_VERSION: "riddle-proof.profile-evidence.v1";
|
|
5
5
|
declare const RIDDLE_PROOF_PROFILE_RESULT_VERSION: "riddle-proof.profile-result.v1";
|
|
6
6
|
declare const RIDDLE_PROOF_PROFILE_STATUSES: readonly ["passed", "product_regression", "proof_insufficient", "environment_blocked", "configuration_error", "needs_human_review"];
|
|
7
|
-
declare const RIDDLE_PROOF_PROFILE_CHECK_TYPES: readonly ["route_loaded", "selector_visible", "selector_count_at_least", "text_visible", "text_absent", "route_inventory", "no_horizontal_overflow", "no_mobile_horizontal_overflow", "no_fatal_console_errors"];
|
|
7
|
+
declare const RIDDLE_PROOF_PROFILE_CHECK_TYPES: readonly ["route_loaded", "selector_visible", "selector_count_at_least", "selector_text_order", "text_visible", "text_absent", "route_inventory", "no_horizontal_overflow", "no_mobile_horizontal_overflow", "no_fatal_console_errors"];
|
|
8
8
|
declare const RIDDLE_PROOF_PROFILE_SETUP_ACTION_TYPES: readonly ["click", "fill", "set_input_value", "local_storage", "session_storage", "clear_storage", "wait", "wait_for_selector", "wait_for_text"];
|
|
9
9
|
type RiddleProofProfileStatus = typeof RIDDLE_PROOF_PROFILE_STATUSES[number];
|
|
10
10
|
type RiddleProofProfileCheckType = typeof RIDDLE_PROOF_PROFILE_CHECK_TYPES[number];
|
|
@@ -66,6 +66,7 @@ interface RiddleProofProfileCheck {
|
|
|
66
66
|
expected_path?: string;
|
|
67
67
|
expected_routes?: RiddleProofProfileRouteInventoryRoute[];
|
|
68
68
|
selector?: string;
|
|
69
|
+
expected_texts?: string[];
|
|
69
70
|
link_selector?: string;
|
|
70
71
|
source_selector?: string;
|
|
71
72
|
route_path_prefix?: string;
|
|
@@ -137,6 +138,7 @@ interface RiddleProofProfileViewportEvidence {
|
|
|
137
138
|
count: number;
|
|
138
139
|
visible_count: number;
|
|
139
140
|
}>;
|
|
141
|
+
text_sequences?: Record<string, Record<string, JsonValue>>;
|
|
140
142
|
text_matches?: Record<string, boolean>;
|
|
141
143
|
route_inventory?: Record<string, JsonValue>;
|
|
142
144
|
setup_action_results?: Array<Record<string, JsonValue>>;
|
package/dist/profile.js
CHANGED
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
resolveRiddleProofProfileTimeoutSec,
|
|
20
20
|
slugifyRiddleProofProfileName,
|
|
21
21
|
summarizeRiddleProofProfileResult
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-VCINQE5O.js";
|
|
23
23
|
export {
|
|
24
24
|
RIDDLE_PROOF_PROFILE_CHECK_TYPES,
|
|
25
25
|
RIDDLE_PROOF_PROFILE_EVIDENCE_VERSION,
|