Repository navigation
Commit 30360bf
committed
fix(qa/scenarios): gallery exporter contract review — redaction, failed pages, seed tally, empty runs, shots kept
M1. With --work, the record still names the work directory of the machine
that ran it (evidenceDir, every build tail and error text), and only --work
was redacted. Every directory that names the run (the record's evidenceDir,
--work, and the real path of each that exists here) is now replaced by
$WORK in run-record.json, scorecard.json/.md, transcript.json/.md and the
README, longest first and only at a path-name boundary, so /tmp never
rewrites /tmpfoo.
S1. A shot whose navigation answers no response or a status outside 2xx
(304 counts as shown), or whose page draws one of the Console's own
not-found views, is refused: skipped with the reason, its file removed,
never exported as proof.
S2. seedApp tallies into the half's own seed again, so an insert that throws
leaves the partial inserted/refused tally in the record next to the error,
as on main.
S3. A runs directory with no scenario record, over an index that lists
apps, throws (the CLI exits non-zero) and touches nothing.
S4. An export without screenshots never replaces an app whose previous
export had them: the old directory and entry are kept and the summary
reports it as kept. An app that no longer passes is still removed.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017ihL2ebbZkr2QAEG1x7UC81 parent c78ea5a commit 30360bf
8 files changed
Lines changed: 317 additions & 34 deletions
File tree
- packages/qa/scenarios
- src
- export
- runner
- test
- export
- runner
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
15 | 20 | | |
16 | 21 | | |
17 | 22 | | |
| |||
70 | 75 | | |
71 | 76 | | |
72 | 77 | | |
| 78 | + | |
73 | 79 | | |
74 | 80 | | |
75 | | - | |
| 81 | + | |
76 | 82 | | |
77 | 83 | | |
78 | 84 | | |
| |||
103 | 109 | | |
104 | 110 | | |
105 | 111 | | |
106 | | - | |
| 112 | + | |
107 | 113 | | |
108 | 114 | | |
109 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
35 | 41 | | |
36 | 42 | | |
37 | | - | |
| 43 | + | |
38 | 44 | | |
39 | 45 | | |
40 | 46 | | |
| |||
95 | 101 | | |
96 | 102 | | |
97 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
98 | 109 | | |
99 | 110 | | |
100 | 111 | | |
| |||
155 | 166 | | |
156 | 167 | | |
157 | 168 | | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
158 | 188 | | |
159 | 189 | | |
160 | 190 | | |
| |||
171 | 201 | | |
172 | 202 | | |
173 | 203 | | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
174 | 211 | | |
175 | 212 | | |
176 | 213 | | |
177 | | - | |
| 214 | + | |
178 | 215 | | |
179 | 216 | | |
180 | 217 | | |
| |||
184 | 221 | | |
185 | 222 | | |
186 | 223 | | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
187 | 232 | | |
188 | 233 | | |
189 | 234 | | |
| |||
194 | 239 | | |
195 | 240 | | |
196 | 241 | | |
197 | | - | |
| 242 | + | |
198 | 243 | | |
199 | 244 | | |
200 | 245 | | |
| |||
237 | 282 | | |
238 | 283 | | |
239 | 284 | | |
240 | | - | |
| 285 | + | |
| 286 | + | |
241 | 287 | | |
242 | 288 | | |
243 | 289 | | |
| |||
247 | 293 | | |
248 | 294 | | |
249 | 295 | | |
250 | | - | |
| 296 | + | |
251 | 297 | | |
252 | 298 | | |
253 | 299 | | |
| |||
267 | 313 | | |
268 | 314 | | |
269 | 315 | | |
270 | | - | |
| 316 | + | |
271 | 317 | | |
272 | 318 | | |
273 | 319 | | |
274 | 320 | | |
275 | | - | |
| 321 | + | |
276 | 322 | | |
277 | 323 | | |
278 | 324 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
128 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
129 | 151 | | |
130 | | - | |
| 152 | + | |
131 | 153 | | |
132 | 154 | | |
133 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
27 | 33 | | |
28 | 34 | | |
29 | 35 | | |
30 | 36 | | |
31 | 37 | | |
32 | 38 | | |
33 | | - | |
| 39 | + | |
34 | 40 | | |
35 | 41 | | |
36 | 42 | | |
| |||
148 | 154 | | |
149 | 155 | | |
150 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
151 | 191 | | |
152 | 192 | | |
153 | | - | |
154 | | - | |
| 193 | + | |
| 194 | + | |
155 | 195 | | |
156 | 196 | | |
157 | 197 | | |
| |||
203 | 243 | | |
204 | 244 | | |
205 | 245 | | |
206 | | - | |
| 246 | + | |
207 | 247 | | |
208 | 248 | | |
209 | | - | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
210 | 256 | | |
211 | 257 | | |
212 | 258 | | |
| |||
241 | 287 | | |
242 | 288 | | |
243 | 289 | | |
244 | | - | |
245 | | - | |
| 290 | + | |
| 291 | + | |
246 | 292 | | |
247 | 293 | | |
248 | 294 | | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
249 | 299 | | |
250 | 300 | | |
251 | 301 | | |
| |||
258 | 308 | | |
259 | 309 | | |
260 | 310 | | |
261 | | - | |
| 311 | + | |
| 312 | + | |
262 | 313 | | |
| 314 | + | |
263 | 315 | | |
264 | 316 | | |
265 | 317 | | |
| |||
0 commit comments