automation_model 1.0.690-dev → 1.0.691-dev
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.
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export declare function highlightSnapshot(snapshot: any, scope: any): Promise<void>;
|
|
2
|
+
/**
|
|
3
|
+
* One flattened line of an ARIA snapshot
|
|
4
|
+
*/
|
|
5
|
+
interface SnapshotLine {
|
|
6
|
+
/** original 0-based line number in the file that was parsed */
|
|
7
|
+
line: number;
|
|
8
|
+
/** the ARIA role / node name: “text”, “button”, “listitem”… */
|
|
9
|
+
key: string;
|
|
10
|
+
/** the textual value after the role, or null */
|
|
11
|
+
value: string | null;
|
|
12
|
+
/** indentation depth (0 = root, 1 = child of the previous level, …) */
|
|
13
|
+
level: number;
|
|
14
|
+
/** validation / parsing flags */
|
|
15
|
+
error: string | null;
|
|
16
|
+
/** interpret `value` as a RegExp instead of literal text */
|
|
17
|
+
regex: boolean;
|
|
18
|
+
}
|
|
19
|
+
export declare function fromLinesToSnapshotLines(lines: string[]): SnapshotLine[];
|
|
20
|
+
/**
|
|
21
|
+
* Successful-/error-report returned by `matchSnapshot`.
|
|
22
|
+
*
|
|
23
|
+
* ─ matchingLines … full-snapshot **original** line numbers that correspond
|
|
24
|
+
* to every line in the sub-snapshot (same order & length).
|
|
25
|
+
* ─ errorLine ….. first sub-snapshot index that could **not** be matched,
|
|
26
|
+
* or -1 when the whole sub-snapshot was found.
|
|
27
|
+
*/
|
|
28
|
+
export interface MatchResult {
|
|
29
|
+
matchingLines: number[];
|
|
30
|
+
errorLine: number;
|
|
31
|
+
}
|
|
32
|
+
export declare function matchSnapshot(full: SnapshotLine[], sub: SnapshotLine[]): MatchResult;
|
|
33
|
+
export {};
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
export async function highlightSnapshot(snapshot, scope) { }
|
|
2
|
+
/*
|
|
3
|
+
- banner:
|
|
4
|
+
- heading "Shop NOW" [level=6]
|
|
5
|
+
- text: Log In Username
|
|
6
|
+
- textbox "Username"
|
|
7
|
+
- text: Password
|
|
8
|
+
- textbox "Password"
|
|
9
|
+
- button "Login"
|
|
10
|
+
- paragraph: "Accepted usernames are:"
|
|
11
|
+
- list:
|
|
12
|
+
- listitem:
|
|
13
|
+
- paragraph: blinq_user
|
|
14
|
+
- listitem:
|
|
15
|
+
- paragraph: blinq_admin
|
|
16
|
+
- paragraph: "Password for all users:"
|
|
17
|
+
- paragraph: let_me_in
|
|
18
|
+
*/
|
|
19
|
+
class SnapshotNode {
|
|
20
|
+
key;
|
|
21
|
+
value;
|
|
22
|
+
role;
|
|
23
|
+
name;
|
|
24
|
+
children = [];
|
|
25
|
+
parent = null;
|
|
26
|
+
constructor(key, value) {
|
|
27
|
+
this.key = key;
|
|
28
|
+
this.value = value;
|
|
29
|
+
if (!key) {
|
|
30
|
+
throw new Error("Key cannot be null or undefined");
|
|
31
|
+
}
|
|
32
|
+
this.role = key.split(" ")[0];
|
|
33
|
+
if (this.value) {
|
|
34
|
+
this.name = this.value;
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
// the value will be from the first " to the last "
|
|
38
|
+
const start = key.indexOf('"') + 1;
|
|
39
|
+
const end = key.lastIndexOf('"');
|
|
40
|
+
if (start > -1 && end > -1 && start < end) {
|
|
41
|
+
this.name = key.substring(start, end);
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
this.name = null;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
generateNodeLocator() {
|
|
49
|
+
let locator = `internal:role=${this.role}`;
|
|
50
|
+
switch (this.role) {
|
|
51
|
+
case "paragraph":
|
|
52
|
+
// internal:role=paragraph >> internal:text='blinq_user'"
|
|
53
|
+
return `internal:role=${this.role} >> internal:text='${this.name}'`;
|
|
54
|
+
default:
|
|
55
|
+
// "internal:role=textbox[name=\"Password\"]"
|
|
56
|
+
if (this.name) {
|
|
57
|
+
locator += `[name="${this.name}"]`;
|
|
58
|
+
}
|
|
59
|
+
return locator;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
getFullLocator() {
|
|
63
|
+
// create an array of all the parents and current node locators
|
|
64
|
+
const locators = [];
|
|
65
|
+
let currentNode = this;
|
|
66
|
+
while (currentNode) {
|
|
67
|
+
locators.unshift(currentNode.generateNodeLocator());
|
|
68
|
+
currentNode = currentNode.parent;
|
|
69
|
+
}
|
|
70
|
+
// join the locators with " >> "
|
|
71
|
+
return locators.join(" >> ");
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
export function fromLinesToSnapshotLines(lines) {
|
|
75
|
+
// the input is yaml text split into lines, 2 spaces is 1 level
|
|
76
|
+
const nodes = [];
|
|
77
|
+
for (let i = 0; i < lines.length; i++) {
|
|
78
|
+
const line = lines[i];
|
|
79
|
+
const trimmedLine = line.trim();
|
|
80
|
+
if (trimmedLine.length === 0) {
|
|
81
|
+
continue;
|
|
82
|
+
}
|
|
83
|
+
// count the number of leading spaces
|
|
84
|
+
let level = 0;
|
|
85
|
+
const match = line.match(/^ */); // Matches spaces at the beginning
|
|
86
|
+
const count = match ? match[0].length : 0;
|
|
87
|
+
level = count / 2; // 2 spaces is 1 level
|
|
88
|
+
// find the start of the line: - and space
|
|
89
|
+
const start = line.indexOf("- ") + 2;
|
|
90
|
+
if (start === -1) {
|
|
91
|
+
// no - found, set it to error
|
|
92
|
+
nodes.push({
|
|
93
|
+
line: i,
|
|
94
|
+
key: line,
|
|
95
|
+
value: null,
|
|
96
|
+
level,
|
|
97
|
+
error: "No - found",
|
|
98
|
+
regex: false,
|
|
99
|
+
});
|
|
100
|
+
continue;
|
|
101
|
+
}
|
|
102
|
+
// first we need to extract the role, we should find the first space or : after the start
|
|
103
|
+
const end = line.indexOf(" ", start);
|
|
104
|
+
const end2 = line.indexOf(":", start);
|
|
105
|
+
if (end === -1 && end2 === -1) {
|
|
106
|
+
// no space or : found, set it to error
|
|
107
|
+
nodes.push({
|
|
108
|
+
line: i,
|
|
109
|
+
key: line,
|
|
110
|
+
value: null,
|
|
111
|
+
level,
|
|
112
|
+
error: "No space or : found",
|
|
113
|
+
regex: false,
|
|
114
|
+
});
|
|
115
|
+
continue;
|
|
116
|
+
}
|
|
117
|
+
const endIndex = end === -1 ? end2 : end2 === -1 ? end : Math.min(end, end2);
|
|
118
|
+
const key = line.substring(start, endIndex).trim();
|
|
119
|
+
// define value is string or null
|
|
120
|
+
let value = line.substring(endIndex + 1).trim();
|
|
121
|
+
if (value.startsWith('"')) {
|
|
122
|
+
// find the last " in the value
|
|
123
|
+
const lastQuote = value.lastIndexOf('"');
|
|
124
|
+
if (lastQuote !== -1) {
|
|
125
|
+
value = value.substring(0, lastQuote + 1);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
// check if the value start with / and end with / or / + regex options
|
|
129
|
+
const regex = value.startsWith("/") && (value.endsWith("/") || value.endsWith("/i") || value.endsWith("/g"));
|
|
130
|
+
nodes.push({
|
|
131
|
+
line: i,
|
|
132
|
+
key,
|
|
133
|
+
value: value.length > 0 ? value : null,
|
|
134
|
+
level,
|
|
135
|
+
error: null,
|
|
136
|
+
regex,
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
return nodes;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Turn a “/pattern/flags” string into a real RegExp.
|
|
143
|
+
*/
|
|
144
|
+
function toRegExp(raw) {
|
|
145
|
+
if (!raw.startsWith("/"))
|
|
146
|
+
return new RegExp(raw); // plain text
|
|
147
|
+
const lastSlash = raw.lastIndexOf("/");
|
|
148
|
+
const pattern = raw.slice(1, lastSlash); // between the //
|
|
149
|
+
const flags = raw.slice(lastSlash + 1); // i, g, …
|
|
150
|
+
return new RegExp(pattern, flags);
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Single-line comparison with fixed regex handling.
|
|
154
|
+
*/
|
|
155
|
+
function lineMatches(full, sub) {
|
|
156
|
+
if (full.key !== sub.key)
|
|
157
|
+
return false;
|
|
158
|
+
if (full.level !== sub.level)
|
|
159
|
+
return false;
|
|
160
|
+
if (sub.value === null)
|
|
161
|
+
return true; // “match anything”
|
|
162
|
+
return sub.regex ? toRegExp(sub.value).test(full.value ?? "") : full.value === sub.value;
|
|
163
|
+
}
|
|
164
|
+
export function matchSnapshot(full, sub) {
|
|
165
|
+
/* nearest ancestor of every sub-line (–1 for roots) */
|
|
166
|
+
const parentIdx = sub.map((_, i) => {
|
|
167
|
+
for (let j = i - 1; j >= 0; j--)
|
|
168
|
+
if (sub[j].level < sub[i].level)
|
|
169
|
+
return j;
|
|
170
|
+
return -1;
|
|
171
|
+
});
|
|
172
|
+
const fullIdx = new Array(sub.length); // indices in `full`
|
|
173
|
+
const mapping = new Array(sub.length); // original line #s
|
|
174
|
+
let failureAt = -1; // first unmatched line
|
|
175
|
+
/**
|
|
176
|
+
* Depth-first search with back-tracking.
|
|
177
|
+
* @param s index in `sub`
|
|
178
|
+
* @param fFrom first index in `full` we may try for this `sub[s]`
|
|
179
|
+
*/
|
|
180
|
+
function dfs(s, fFrom) {
|
|
181
|
+
if (s === sub.length)
|
|
182
|
+
return true; // ✅ all lines matched!
|
|
183
|
+
for (let f = fFrom; f < full.length; f++) {
|
|
184
|
+
if (!lineMatches(full[f], sub[s]))
|
|
185
|
+
continue;
|
|
186
|
+
/* parent relationship must stay intact */
|
|
187
|
+
const pSub = parentIdx[s];
|
|
188
|
+
if (pSub !== -1) {
|
|
189
|
+
let pFull = f - 1;
|
|
190
|
+
while (pFull >= 0 && full[pFull].level >= full[f].level)
|
|
191
|
+
pFull--;
|
|
192
|
+
if (pFull < 0 || pFull !== fullIdx[pSub])
|
|
193
|
+
continue; // wrong parent
|
|
194
|
+
}
|
|
195
|
+
/* remember this choice and try deeper */
|
|
196
|
+
fullIdx[s] = f;
|
|
197
|
+
mapping[s] = full[f].line;
|
|
198
|
+
if (dfs(s + 1, f + 1))
|
|
199
|
+
return true;
|
|
200
|
+
}
|
|
201
|
+
/* could not satisfy sub[s] → remember where we failed */
|
|
202
|
+
if (failureAt === -1)
|
|
203
|
+
failureAt = s;
|
|
204
|
+
return false; // back-track
|
|
205
|
+
}
|
|
206
|
+
/* kick off the search */
|
|
207
|
+
const found = dfs(0, 0);
|
|
208
|
+
return {
|
|
209
|
+
matchingLines: found ? mapping : mapping.slice(0, failureAt),
|
|
210
|
+
errorLine: found ? -1 : failureAt,
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
// let ttt = `- banner:
|
|
214
|
+
// - heading "Shop NOW" [level=6]
|
|
215
|
+
// - text: Log In Username
|
|
216
|
+
// - textbox "Username"
|
|
217
|
+
// - text: Password
|
|
218
|
+
// - textbox "Password"
|
|
219
|
+
// - button "Login"
|
|
220
|
+
// - paragraph: "Accepted usernames are:"
|
|
221
|
+
// - list:
|
|
222
|
+
// - listitem:
|
|
223
|
+
// - paragraph: blinq_user
|
|
224
|
+
// - listitem:
|
|
225
|
+
// - paragraph: blinq_admin
|
|
226
|
+
// - paragraph: "Password for all users:"
|
|
227
|
+
// - paragraph: let_me_in`;
|
|
228
|
+
// const lines = ttt.split("\n");
|
|
229
|
+
// const nodes = fromLinesToSnapshotLines(lines);
|
|
230
|
+
// console.log("nodes", nodes);
|
|
231
|
+
//# sourceMappingURL=snapshot_validation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"snapshot_validation.js","sourceRoot":"","sources":["../../src/snapshot_validation.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,KAAK,UAAU,iBAAiB,CAAC,QAAa,EAAE,KAAU,IAAG,CAAC;AAErE;;;;;;;;;;;;;;;;EAgBE;AACF,MAAM,YAAY;IAMP;IACA;IANF,IAAI,CAAS;IACb,IAAI,CAAgB;IACpB,QAAQ,GAAmB,EAAE,CAAC;IAC9B,MAAM,GAAwB,IAAI,CAAC;IAC1C,YACS,GAAW,EACX,KAAa;QADb,QAAG,GAAH,GAAG,CAAQ;QACX,UAAK,GAAL,K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