-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest_output.txt
More file actions
463 lines (444 loc) · 15.2 KB
/
test_output.txt
File metadata and controls
463 lines (444 loc) · 15.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
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
151
152
153
154
155
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
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
[1m[30m[46m RUN [49m[39m[22m [36mv4.1.4 [39m[90mC:/GitHub/MarkHazleton/BootstrapSpark[39m
[32mΓ£ô[39m tests/contract/repositories/repositoryFeed.contract.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m 11[2mms[22m[39m
[32mΓ£ô[39m tests/unit/models/Repository.test.ts [2m([22m[2m5 tests[22m[2m)[22m[32m 14[2mms[22m[39m
[32mΓ£ô[39m tests/unit/services/RepositoryService.test.ts [2m([22m[2m7 tests[22m[2m)[22m[32m 29[2mms[22m[39m
[31mΓ¥»[39m tests/integration/repositories/RepositoriesPage.test.tsx [2m([22m[2m7 tests[22m[2m | [22m[31m2 failed[39m[2m)[22m[33m 2388[2mms[22m[39m
[32mΓ£ô[39m renders hero metrics, featured section, and activity context[32m 243[2mms[22m[39m
[33m[2mΓ£ô[22m[39m supports search and zero-state recovery [33m 480[2mms[22m[39m
[31m [31m×[31m filters repositories by language and status[39m[33m 1185[2mms[22m[39m
[32mΓ£ô[39m updates ordering when sort option changes[32m 196[2mms[22m[39m
[32mΓ£ô[39m falls back to embedded data when the remote request fails[32m 62[2mms[22m[39m
[31m [31m×[31m renders badges, featured fallback labels, and outbound repository actions[39m[32m 112[2mms[22m[39m
[32mΓ£ô[39m refetches repository data when refresh is activated[32m 107[2mms[22m[39m
⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯
FAIL tests/integration/repositories/RepositoriesPage.test.tsx > Repositories page integration > filters repositories by language and status
AssertionError: expected [ <h4 class="h5 mb-0"></h4> ] to have a length of +0 but got 1
Ignored nodes: comments, script, style
<html
data-active-theme="bootstrapspark"
data-bs-theme="light"
>
<head>
<link
href="/themes/bootstrapspark.css"
id="bootstrapspark-runtime-theme"
rel="stylesheet"
type="text/css"
/>
</head>
<body>
<div>
<section
class="py-5 bg-theme"
id="repositories-section"
>
<div
class="container"
>
<header
class="mb-4 repository-hero p-4 rounded-4 border-theme shadow-sm"
>
<div
class="d-flex justify-content-between align-items-start flex-wrap gap-3"
>
<div>
<span
class="repository-kicker text-uppercase fw-semibold"
>
Open source portfolio
</span>
<h2
class="mb-2"
>
GitHub Repository Showcase
</h2>
<p
class="lead mb-1"
>
Curated repositories and live activity from Mark Hazleton's public portfolio.
</p>
<p
class="text-theme-muted mb-0"
>
Showing the latest repository feed from the remote source.
</p>
</div>
<div
class="d-flex align-items-center gap-2"
>
<small
class="text-theme-muted"
>
Last updated:
4/17/2026, 1:47:42 PM
(
remote
)
</small>
<button
class="btn btn-sm btn-outline-primary"
>
<svg
class="bi bi-arrow-clockwise me-1"
fill="currentColor"
height="1em"
viewBox="0 0 16 16"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2z"
fill-rule="evenodd"
/>
<path
d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466"
/>
</svg>
Refresh
</button>
</div>
</div>
<div
class="row g-3 mt-1"
>
<div
class="col-6 col-md-3"
>
<div
class="card h-100 repository-stat-card shadow-sm"
>
<div
class="card-body"
>
<h3
class="h6 text-theme-muted mb-1"
>
Repositories
</h3>
<p
class="h2 mb-0"
>
33
</p>
</div>
</div>
</div>
<div
class="col-6 col-md-3"
>
<div
class="card h-100 repository-stat-card shadow-sm"
>
<div
class="card-body"
>
<h3
class="h6 text-theme-muted mb-1"
>
Stars
</h3>
<p
class="h2 mb-0"
>
19
</p>
</div>
</div>
</div>
<div
class="col-6 col-md-3"
>
<div
class="card h-100 repository-stat-card shadow-sm"
>
<div
class="card-body"
>
<h3
class="h6 text-theme-muted mb-1"
>
Forks
</h3>
<p
class="h2 mb-0"
>
7
</p>
</div>
</div>
</div>
<div
class="col-6 col-md-3"
>
<div
class="card h-100 repository-stat-card shadow-sm"
>
<div
class="card-body"
>
<h3
class="h6 text-theme-muted mb-1"
>
Commits
</h3>
...
- Expected
+ Received
- 0
+ 1
Γ¥» tests/integration/repositories/RepositoriesPage.test.tsx:110:50
108| await waitFor(() => {
109| expect(screen.getAllByText("alpha-repo").length).toBeGreaterThan…
110| expect(screen.queryAllByText("beta-repo")).toHaveLength(0);
| ^
111| });
112| });
Γ¥» runWithExpensiveErrorDiagnosticsDisabled node_modules/@testing-library/dom/dist/config.js:47:12
Γ¥» checkCallback node_modules/@testing-library/dom/dist/wait-for.js:124:77
Γ¥» Timeout.checkRealTimersCallback node_modules/@testing-library/dom/dist/wait-for.js:118:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯
FAIL tests/integration/repositories/RepositoriesPage.test.tsx > Repositories page integration > renders badges, featured fallback labels, and outbound repository actions
TestingLibraryElementError: Found multiple elements with the role "link" and name `/Open featured-1 live site/i`
Here are the matching elements:
Ignored nodes: comments, script, style
<a
aria-label="Open featured-1 live site"
class="btn btn-sm btn-outline-secondary"
href="https://example.com/live-site"
rel="noopener noreferrer"
target="_blank"
>
Live Site
<svg
class="bi bi-arrow-up-right-square ms-1"
fill="currentColor"
height="1em"
viewBox="0 0 16 16"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M15 2a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1zM0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2zm5.854 8.803a.5.5 0 1 1-.708-.707L9.243 6H6.475a.5.5 0 1 1 0-1h3.975a.5.5 0 0 1 .5.5v3.975a.5.5 0 1 1-1 0V6.707z"
fill-rule="evenodd"
/>
</svg>
</a>
Ignored nodes: comments, script, style
<a
aria-label="Open featured-1 live site"
class="btn btn-sm btn-outline-secondary"
href="https://example.com/live-site"
rel="noopener noreferrer"
target="_blank"
>
Live Site
<svg
class="bi bi-arrow-up-right-square ms-1"
fill="currentColor"
height="1em"
viewBox="0 0 16 16"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M15 2a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1zM0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2zm5.854 8.803a.5.5 0 1 1-.708-.707L9.243 6H6.475a.5.5 0 1 1 0-1h3.975a.5.5 0 0 1 .5.5v3.975a.5.5 0 1 1-1 0V6.707z"
fill-rule="evenodd"
/>
</svg>
</a>
(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).
Ignored nodes: comments, script, style
<body>
<div>
<section
class="py-5 bg-theme"
id="repositories-section"
>
<div
class="container"
>
<header
class="mb-4 repository-hero p-4 rounded-4 border-theme shadow-sm"
>
<div
class="d-flex justify-content-between align-items-start flex-wrap gap-3"
>
<div>
<span
class="repository-kicker text-uppercase fw-semibold"
>
Open source portfolio
</span>
<h2
class="mb-2"
>
GitHub Repository Showcase
</h2>
<p
class="lead mb-1"
>
Curated repositories and live activity from Mark Hazleton's public portfolio.
</p>
<p
class="text-theme-muted mb-0"
>
Showing the latest repository feed from the remote source.
</p>
</div>
<div
class="d-flex align-items-center gap-2"
>
<small
class="text-theme-muted"
>
Last updated:
4/17/2026, 1:47:43 PM
(
remote
)
</small>
<button
class="btn btn-sm btn-outline-primary"
>
<svg
class="bi bi-arrow-clockwise me-1"
fill="currentColor"
height="1em"
viewBox="0 0 16 16"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2z"
fill-rule="evenodd"
/>
<path
d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466"
/>
</svg>
Refresh
</button>
</div>
</div>
<div
class="row g-3 mt-1"
>
<div
class="col-6 col-md-3"
>
<div
class="card h-100 repository-stat-card shadow-sm"
>
<div
class="card-body"
>
<h3
class="h6 text-theme-muted mb-1"
>
Repositories
</h3>
<p
class="h2 mb-0"
>
33
</p>
</div>
</div>
</div>
<div
class="col-6 col-md-3"
>
<div
class="card h-100 repository-stat-card shadow-sm"
>
<div
class="card-body"
>
<h3
class="h6 text-theme-muted mb-1"
>
Stars
</h3>
<p
class="h2 mb-0"
>
19
</p>
</div>
</div>
</div>
<div
class="col-6 col-md-3"
>
<div
class="card h-100 repository-stat-card shadow-sm"
>
<div
class="card-body"
>
<h3
class="h6 text-theme-muted mb-1"
>
Forks
</h3>
<p
class="h2 mb-0"
>
7
</p>
</div>
</div>
</div>
<div
class="col-6 col-md-3"
>
<div
class="card h-100 repository-stat-card shadow-sm"
>
<div
class="card-body"
>
<h3
class="h6 text-theme-muted mb-1"
>
Commits
</h3>
<p
class="h2 mb-0"
>
4459
</p>
</div>
</div>
</div>
</div>
<div
class="mt-4"
>
<h3
class="h5 mb-2"
>
Recent Activity
</h3>
<div
class="row g-2"
>
<div
class[39...
Γ¥» Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
Γ¥» getElementError node_modules/@testing-library/dom/dist/query-helpers.js:20:35
Γ¥» getMultipleElementsFoundError node_modules/@testing-library/dom/dist/query-helpers.js:23:10
Γ¥» node_modules/@testing-library/dom/dist/query-helpers.js:55:13
Γ¥» node_modules/@testing-library/dom/dist/query-helpers.js:95:19
Γ¥» tests/integration/repositories/RepositoriesPage.test.tsx:176:19
174| expect(screen.getAllByText("tests").length).toBeGreaterThan(0);
175| expect(screen.getAllByText("docs").length).toBeGreaterThan(0);
176| expect(screen.getByRole("link", { name: /Open featured-1 live site…
| ^
177| });
178|
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/2]⎯
[2m Test Files [22m [1m[31m1 failed[39m[22m[2m | [22m[1m[32m3 passed[39m[22m[90m (4)[39m
[2m Tests [22m [1m[31m2 failed[39m[22m[2m | [22m[1m[32m20 passed[39m[22m[90m (22)[39m
[2m Start at [22m 13:47:40
[2m Duration [22m 3.86s[2m (transform 278ms, setup 740ms, import 567ms, tests 2.44s, environment 3.37s)[22m