-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtest-results.json
More file actions
5005 lines (5005 loc) · 273 KB
/
test-results.json
File metadata and controls
5005 lines (5005 loc) · 273 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
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"numFailedTestSuites": 2,
"numFailedTests": 19,
"numPassedTestSuites": 15,
"numPassedTests": 342,
"numPendingTestSuites": 0,
"numPendingTests": 0,
"numRuntimeErrorTestSuites": 0,
"numTodoTests": 0,
"numTotalTestSuites": 17,
"numTotalTests": 361,
"openHandles": [],
"snapshot": {
"added": 0,
"didUpdate": false,
"failure": false,
"filesAdded": 0,
"filesRemoved": 0,
"filesRemovedList": [],
"filesUnmatched": 0,
"filesUpdated": 0,
"matched": 0,
"total": 0,
"unchecked": 0,
"uncheckedKeysByFile": [],
"unmatched": 0,
"updated": 0
},
"startTime": 1749528569101,
"success": false,
"testResults": [
{
"assertionResults": [
{
"ancestorTitles": ["useAnnouncement"],
"duration": 9,
"failureDetails": [],
"failureMessages": [],
"fullName": "useAnnouncement should initialize with no announcements when i18n is not ready",
"invocations": 1,
"location": null,
"numPassingAsserts": 2,
"retryReasons": [],
"status": "passed",
"title": "should initialize with no announcements when i18n is not ready"
},
{
"ancestorTitles": ["useAnnouncement"],
"duration": 2,
"failureDetails": [
{
"matcherResult": {
"actual": false,
"expected": true,
"message": "\u001b[2mexpect(\u001b[22m\u001b[31mreceived\u001b[39m\u001b[2m).\u001b[22mtoBe\u001b[2m(\u001b[22m\u001b[32mexpected\u001b[39m\u001b[2m) // Object.is equality\u001b[22m\n\nExpected: \u001b[32mtrue\u001b[39m\nReceived: \u001b[31mfalse\u001b[39m",
"name": "toBe",
"pass": false
}
}
],
"failureMessages": [
"Error: \u001b[2mexpect(\u001b[22m\u001b[31mreceived\u001b[39m\u001b[2m).\u001b[22mtoBe\u001b[2m(\u001b[22m\u001b[32mexpected\u001b[39m\u001b[2m) // Object.is equality\u001b[22m\n\nExpected: \u001b[32mtrue\u001b[39m\nReceived: \u001b[31mfalse\u001b[39m\n at Object.<anonymous> (/Users/schwanndenkuo/Documents/personal/chabod/tests/ui/hooks/useAnnouncement.test.tsx:71:35)\n at Promise.then.completed (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise (<anonymous>)\n at callAsyncCircusFn (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at _runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:121:9)\n at run (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/testWorker.js:106:12)"
],
"fullName": "useAnnouncement should show announcement when valid announcement exists",
"invocations": 1,
"location": null,
"numPassingAsserts": 0,
"retryReasons": [],
"status": "failed",
"title": "should show announcement when valid announcement exists"
},
{
"ancestorTitles": ["useAnnouncement"],
"duration": 2,
"failureDetails": [],
"failureMessages": [],
"fullName": "useAnnouncement should not show announcement if it was dismissed permanently",
"invocations": 1,
"location": null,
"numPassingAsserts": 2,
"retryReasons": [],
"status": "passed",
"title": "should not show announcement if it was dismissed permanently"
},
{
"ancestorTitles": ["useAnnouncement"],
"duration": 1,
"failureDetails": [
{
"matcherResult": {
"actual": false,
"expected": true,
"message": "\u001b[2mexpect(\u001b[22m\u001b[31mreceived\u001b[39m\u001b[2m).\u001b[22mtoBe\u001b[2m(\u001b[22m\u001b[32mexpected\u001b[39m\u001b[2m) // Object.is equality\u001b[22m\n\nExpected: \u001b[32mtrue\u001b[39m\nReceived: \u001b[31mfalse\u001b[39m",
"name": "toBe",
"pass": false
}
}
],
"failureMessages": [
"Error: \u001b[2mexpect(\u001b[22m\u001b[31mreceived\u001b[39m\u001b[2m).\u001b[22mtoBe\u001b[2m(\u001b[22m\u001b[32mexpected\u001b[39m\u001b[2m) // Object.is equality\u001b[22m\n\nExpected: \u001b[32mtrue\u001b[39m\nReceived: \u001b[31mfalse\u001b[39m\n at Object.<anonymous> (/Users/schwanndenkuo/Documents/personal/chabod/tests/ui/hooks/useAnnouncement.test.tsx:105:35)\n at Promise.then.completed (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise (<anonymous>)\n at callAsyncCircusFn (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at _runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:121:9)\n at run (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/testWorker.js:106:12)"
],
"fullName": "useAnnouncement should show announcement if dismissal has expired",
"invocations": 1,
"location": null,
"numPassingAsserts": 0,
"retryReasons": [],
"status": "failed",
"title": "should show announcement if dismissal has expired"
},
{
"ancestorTitles": ["useAnnouncement"],
"duration": 2,
"failureDetails": [
{
"matcherResult": {
"actual": false,
"expected": true,
"message": "\u001b[2mexpect(\u001b[22m\u001b[31mreceived\u001b[39m\u001b[2m).\u001b[22mtoBe\u001b[2m(\u001b[22m\u001b[32mexpected\u001b[39m\u001b[2m) // Object.is equality\u001b[22m\n\nExpected: \u001b[32mtrue\u001b[39m\nReceived: \u001b[31mfalse\u001b[39m",
"name": "toBe",
"pass": false
}
}
],
"failureMessages": [
"Error: \u001b[2mexpect(\u001b[22m\u001b[31mreceived\u001b[39m\u001b[2m).\u001b[22mtoBe\u001b[2m(\u001b[22m\u001b[32mexpected\u001b[39m\u001b[2m) // Object.is equality\u001b[22m\n\nExpected: \u001b[32mtrue\u001b[39m\nReceived: \u001b[31mfalse\u001b[39m\n at Object.<anonymous> (/Users/schwanndenkuo/Documents/personal/chabod/tests/ui/hooks/useAnnouncement.test.tsx:123:35)\n at Promise.then.completed (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise (<anonymous>)\n at callAsyncCircusFn (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at _runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:121:9)\n at run (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/testWorker.js:106:12)"
],
"fullName": "useAnnouncement should dismiss announcement without saving when dontShowAgain is false",
"invocations": 1,
"location": null,
"numPassingAsserts": 0,
"retryReasons": [],
"status": "failed",
"title": "should dismiss announcement without saving when dontShowAgain is false"
},
{
"ancestorTitles": ["useAnnouncement"],
"duration": 1,
"failureDetails": [
{
"matcherResult": {
"actual": false,
"expected": true,
"message": "\u001b[2mexpect(\u001b[22m\u001b[31mreceived\u001b[39m\u001b[2m).\u001b[22mtoBe\u001b[2m(\u001b[22m\u001b[32mexpected\u001b[39m\u001b[2m) // Object.is equality\u001b[22m\n\nExpected: \u001b[32mtrue\u001b[39m\nReceived: \u001b[31mfalse\u001b[39m",
"name": "toBe",
"pass": false
}
}
],
"failureMessages": [
"Error: \u001b[2mexpect(\u001b[22m\u001b[31mreceived\u001b[39m\u001b[2m).\u001b[22mtoBe\u001b[2m(\u001b[22m\u001b[32mexpected\u001b[39m\u001b[2m) // Object.is equality\u001b[22m\n\nExpected: \u001b[32mtrue\u001b[39m\nReceived: \u001b[31mfalse\u001b[39m\n at Object.<anonymous> (/Users/schwanndenkuo/Documents/personal/chabod/tests/ui/hooks/useAnnouncement.test.tsx:137:35)\n at Promise.then.completed (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise (<anonymous>)\n at callAsyncCircusFn (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at _runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:121:9)\n at run (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/testWorker.js:106:12)"
],
"fullName": "useAnnouncement should dismiss announcement and save when dontShowAgain is true",
"invocations": 1,
"location": null,
"numPassingAsserts": 0,
"retryReasons": [],
"status": "failed",
"title": "should dismiss announcement and save when dontShowAgain is true"
},
{
"ancestorTitles": ["useAnnouncement"],
"duration": 152,
"failureDetails": [
{
"matcherResult": {
"actual": false,
"expected": true,
"message": "\u001b[2mexpect(\u001b[22m\u001b[31mreceived\u001b[39m\u001b[2m).\u001b[22mtoBe\u001b[2m(\u001b[22m\u001b[32mexpected\u001b[39m\u001b[2m) // Object.is equality\u001b[22m\n\nExpected: \u001b[32mtrue\u001b[39m\nReceived: \u001b[31mfalse\u001b[39m",
"name": "toBe",
"pass": false
}
}
],
"failureMessages": [
"Error: \u001b[2mexpect(\u001b[22m\u001b[31mreceived\u001b[39m\u001b[2m).\u001b[22mtoBe\u001b[2m(\u001b[22m\u001b[32mexpected\u001b[39m\u001b[2m) // Object.is equality\u001b[22m\n\nExpected: \u001b[32mtrue\u001b[39m\nReceived: \u001b[31mfalse\u001b[39m\n at Object.<anonymous> (/Users/schwanndenkuo/Documents/personal/chabod/tests/ui/hooks/useAnnouncement.test.tsx:177:35)"
],
"fullName": "useAnnouncement should reset all announcements",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "failed",
"title": "should reset all announcements"
},
{
"ancestorTitles": ["useAnnouncement"],
"duration": 1,
"failureDetails": [],
"failureMessages": [],
"fullName": "useAnnouncement should handle errors in scanning announcements gracefully",
"invocations": 1,
"location": null,
"numPassingAsserts": 2,
"retryReasons": [],
"status": "passed",
"title": "should handle errors in scanning announcements gracefully"
},
{
"ancestorTitles": ["useAnnouncement"],
"duration": 2,
"failureDetails": [
{
"matcherResult": {
"actual": false,
"expected": true,
"message": "\u001b[2mexpect(\u001b[22m\u001b[31mreceived\u001b[39m\u001b[2m).\u001b[22mtoBe\u001b[2m(\u001b[22m\u001b[32mexpected\u001b[39m\u001b[2m) // Object.is equality\u001b[22m\n\nExpected: \u001b[32mtrue\u001b[39m\nReceived: \u001b[31mfalse\u001b[39m",
"name": "toBe",
"pass": false
}
}
],
"failureMessages": [
"Error: \u001b[2mexpect(\u001b[22m\u001b[31mreceived\u001b[39m\u001b[2m).\u001b[22mtoBe\u001b[2m(\u001b[22m\u001b[32mexpected\u001b[39m\u001b[2m) // Object.is equality\u001b[22m\n\nExpected: \u001b[32mtrue\u001b[39m\nReceived: \u001b[31mfalse\u001b[39m\n at Object.<anonymous> (/Users/schwanndenkuo/Documents/personal/chabod/tests/ui/hooks/useAnnouncement.test.tsx:229:35)\n at Promise.then.completed (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise (<anonymous>)\n at callAsyncCircusFn (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:316:40)\n at _runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:121:9)\n at run (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/testWorker.js:106:12)"
],
"fullName": "useAnnouncement should ignore invalid announcement objects",
"invocations": 1,
"location": null,
"numPassingAsserts": 0,
"retryReasons": [],
"status": "failed",
"title": "should ignore invalid announcement objects"
},
{
"ancestorTitles": ["useAnnouncement"],
"duration": 1,
"failureDetails": [
{
"matcherResult": {
"actual": false,
"expected": true,
"message": "\u001b[2mexpect(\u001b[22m\u001b[31mreceived\u001b[39m\u001b[2m).\u001b[22mtoBe\u001b[2m(\u001b[22m\u001b[32mexpected\u001b[39m\u001b[2m) // Object.is equality\u001b[22m\n\nExpected: \u001b[32mtrue\u001b[39m\nReceived: \u001b[31mfalse\u001b[39m",
"name": "toBe",
"pass": false
}
}
],
"failureMessages": [
"Error: \u001b[2mexpect(\u001b[22m\u001b[31mreceived\u001b[39m\u001b[2m).\u001b[22mtoBe\u001b[2m(\u001b[22m\u001b[32mexpected\u001b[39m\u001b[2m) // Object.is equality\u001b[22m\n\nExpected: \u001b[32mtrue\u001b[39m\nReceived: \u001b[31mfalse\u001b[39m\n at Object.<anonymous> (/Users/schwanndenkuo/Documents/personal/chabod/tests/ui/hooks/useAnnouncement.test.tsx:238:35)\n at Promise.then.completed (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise (<anonymous>)\n at callAsyncCircusFn (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:316:40)\n at _runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:121:9)\n at run (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/testWorker.js:106:12)"
],
"fullName": "useAnnouncement should handle malformed dismissal data",
"invocations": 1,
"location": null,
"numPassingAsserts": 0,
"retryReasons": [],
"status": "failed",
"title": "should handle malformed dismissal data"
},
{
"ancestorTitles": ["useAnnouncement"],
"duration": 1,
"failureDetails": [],
"failureMessages": [],
"fullName": "useAnnouncement should handle missing announcements section",
"invocations": 1,
"location": null,
"numPassingAsserts": 2,
"retryReasons": [],
"status": "passed",
"title": "should handle missing announcements section"
}
],
"endTime": 1749528570247,
"message": "\u001b[1m\u001b[31m \u001b[1m● \u001b[22m\u001b[1museAnnouncement › should show announcement when valid announcement exists\u001b[39m\u001b[22m\n\n \u001b[2mexpect(\u001b[22m\u001b[31mreceived\u001b[39m\u001b[2m).\u001b[22mtoBe\u001b[2m(\u001b[22m\u001b[32mexpected\u001b[39m\u001b[2m) // Object.is equality\u001b[22m\n\n Expected: \u001b[32mtrue\u001b[39m\n Received: \u001b[31mfalse\u001b[39m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[0m \u001b[90m 69 |\u001b[39m \u001b[36mconst\u001b[39m { result } \u001b[33m=\u001b[39m renderHook(() \u001b[33m=>\u001b[39m useAnnouncement())\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 70 |\u001b[39m\u001b[22m\n\u001b[2m \u001b[31m\u001b[1m>\u001b[22m\u001b[2m\u001b[39m\u001b[90m 71 |\u001b[39m expect(result\u001b[33m.\u001b[39mcurrent\u001b[33m.\u001b[39misOpen)\u001b[33m.\u001b[39mtoBe(\u001b[36mtrue\u001b[39m)\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[2m\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 72 |\u001b[39m expect(result\u001b[33m.\u001b[39mcurrent\u001b[33m.\u001b[39mcurrentAnnouncement)\u001b[33m.\u001b[39mtoEqual({\u001b[22m\n\u001b[2m \u001b[90m 73 |\u001b[39m id\u001b[33m:\u001b[39m \u001b[32m\"testAnnouncement\"\u001b[39m\u001b[33m,\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 74 |\u001b[39m title\u001b[33m:\u001b[39m \u001b[32m\"Test Title\"\u001b[39m\u001b[33m,\u001b[39m\u001b[0m\u001b[22m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Object.<anonymous> (\u001b[22m\u001b[2m\u001b[0m\u001b[36mtests/ui/hooks/useAnnouncement.test.tsx\u001b[39m\u001b[0m\u001b[2m:71:35)\u001b[22m\u001b[2m\u001b[22m\n\n\u001b[1m\u001b[31m \u001b[1m● \u001b[22m\u001b[1museAnnouncement › should show announcement if dismissal has expired\u001b[39m\u001b[22m\n\n \u001b[2mexpect(\u001b[22m\u001b[31mreceived\u001b[39m\u001b[2m).\u001b[22mtoBe\u001b[2m(\u001b[22m\u001b[32mexpected\u001b[39m\u001b[2m) // Object.is equality\u001b[22m\n\n Expected: \u001b[32mtrue\u001b[39m\n Received: \u001b[31mfalse\u001b[39m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[0m \u001b[90m 103 |\u001b[39m \u001b[36mconst\u001b[39m { result } \u001b[33m=\u001b[39m renderHook(() \u001b[33m=>\u001b[39m useAnnouncement())\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 104 |\u001b[39m\u001b[22m\n\u001b[2m \u001b[31m\u001b[1m>\u001b[22m\u001b[2m\u001b[39m\u001b[90m 105 |\u001b[39m expect(result\u001b[33m.\u001b[39mcurrent\u001b[33m.\u001b[39misOpen)\u001b[33m.\u001b[39mtoBe(\u001b[36mtrue\u001b[39m)\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[2m\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 106 |\u001b[39m expect(result\u001b[33m.\u001b[39mcurrent\u001b[33m.\u001b[39mcurrentAnnouncement)\u001b[33m.\u001b[39mtoEqual({\u001b[22m\n\u001b[2m \u001b[90m 107 |\u001b[39m id\u001b[33m:\u001b[39m \u001b[32m\"testAnnouncement\"\u001b[39m\u001b[33m,\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 108 |\u001b[39m title\u001b[33m:\u001b[39m \u001b[32m\"Test Title\"\u001b[39m\u001b[33m,\u001b[39m\u001b[0m\u001b[22m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Object.<anonymous> (\u001b[22m\u001b[2m\u001b[0m\u001b[36mtests/ui/hooks/useAnnouncement.test.tsx\u001b[39m\u001b[0m\u001b[2m:105:35)\u001b[22m\u001b[2m\u001b[22m\n\n\u001b[1m\u001b[31m \u001b[1m● \u001b[22m\u001b[1museAnnouncement › should dismiss announcement without saving when dontShowAgain is false\u001b[39m\u001b[22m\n\n \u001b[2mexpect(\u001b[22m\u001b[31mreceived\u001b[39m\u001b[2m).\u001b[22mtoBe\u001b[2m(\u001b[22m\u001b[32mexpected\u001b[39m\u001b[2m) // Object.is equality\u001b[22m\n\n Expected: \u001b[32mtrue\u001b[39m\n Received: \u001b[31mfalse\u001b[39m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[0m \u001b[90m 121 |\u001b[39m \u001b[36mconst\u001b[39m { result } \u001b[33m=\u001b[39m renderHook(() \u001b[33m=>\u001b[39m useAnnouncement())\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 122 |\u001b[39m\u001b[22m\n\u001b[2m \u001b[31m\u001b[1m>\u001b[22m\u001b[2m\u001b[39m\u001b[90m 123 |\u001b[39m expect(result\u001b[33m.\u001b[39mcurrent\u001b[33m.\u001b[39misOpen)\u001b[33m.\u001b[39mtoBe(\u001b[36mtrue\u001b[39m)\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[2m\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 124 |\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 125 |\u001b[39m \u001b[36mawait\u001b[39m act(\u001b[36masync\u001b[39m () \u001b[33m=>\u001b[39m {\u001b[22m\n\u001b[2m \u001b[90m 126 |\u001b[39m result\u001b[33m.\u001b[39mcurrent\u001b[33m.\u001b[39mdismissAnnouncement(\u001b[36mfalse\u001b[39m)\u001b[33m;\u001b[39m\u001b[0m\u001b[22m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Object.<anonymous> (\u001b[22m\u001b[2m\u001b[0m\u001b[36mtests/ui/hooks/useAnnouncement.test.tsx\u001b[39m\u001b[0m\u001b[2m:123:35)\u001b[22m\u001b[2m\u001b[22m\n\n\u001b[1m\u001b[31m \u001b[1m● \u001b[22m\u001b[1museAnnouncement › should dismiss announcement and save when dontShowAgain is true\u001b[39m\u001b[22m\n\n \u001b[2mexpect(\u001b[22m\u001b[31mreceived\u001b[39m\u001b[2m).\u001b[22mtoBe\u001b[2m(\u001b[22m\u001b[32mexpected\u001b[39m\u001b[2m) // Object.is equality\u001b[22m\n\n Expected: \u001b[32mtrue\u001b[39m\n Received: \u001b[31mfalse\u001b[39m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[0m \u001b[90m 135 |\u001b[39m \u001b[36mconst\u001b[39m { result } \u001b[33m=\u001b[39m renderHook(() \u001b[33m=>\u001b[39m useAnnouncement())\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 136 |\u001b[39m\u001b[22m\n\u001b[2m \u001b[31m\u001b[1m>\u001b[22m\u001b[2m\u001b[39m\u001b[90m 137 |\u001b[39m expect(result\u001b[33m.\u001b[39mcurrent\u001b[33m.\u001b[39misOpen)\u001b[33m.\u001b[39mtoBe(\u001b[36mtrue\u001b[39m)\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[2m\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 138 |\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 139 |\u001b[39m \u001b[36mawait\u001b[39m act(\u001b[36masync\u001b[39m () \u001b[33m=>\u001b[39m {\u001b[22m\n\u001b[2m \u001b[90m 140 |\u001b[39m result\u001b[33m.\u001b[39mcurrent\u001b[33m.\u001b[39mdismissAnnouncement(\u001b[36mtrue\u001b[39m)\u001b[33m;\u001b[39m\u001b[0m\u001b[22m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Object.<anonymous> (\u001b[22m\u001b[2m\u001b[0m\u001b[36mtests/ui/hooks/useAnnouncement.test.tsx\u001b[39m\u001b[0m\u001b[2m:137:35)\u001b[22m\u001b[2m\u001b[22m\n\n\u001b[1m\u001b[31m \u001b[1m● \u001b[22m\u001b[1museAnnouncement › should reset all announcements\u001b[39m\u001b[22m\n\n \u001b[2mexpect(\u001b[22m\u001b[31mreceived\u001b[39m\u001b[2m).\u001b[22mtoBe\u001b[2m(\u001b[22m\u001b[32mexpected\u001b[39m\u001b[2m) // Object.is equality\u001b[22m\n\n Expected: \u001b[32mtrue\u001b[39m\n Received: \u001b[31mfalse\u001b[39m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[0m \u001b[90m 175 |\u001b[39m })\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 176 |\u001b[39m\u001b[22m\n\u001b[2m \u001b[31m\u001b[1m>\u001b[22m\u001b[2m\u001b[39m\u001b[90m 177 |\u001b[39m expect(result\u001b[33m.\u001b[39mcurrent\u001b[33m.\u001b[39misOpen)\u001b[33m.\u001b[39mtoBe(\u001b[36mtrue\u001b[39m)\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[2m\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 178 |\u001b[39m expect(result\u001b[33m.\u001b[39mcurrent\u001b[33m.\u001b[39mcurrentAnnouncement\u001b[33m?\u001b[39m\u001b[33m.\u001b[39mid)\u001b[33m.\u001b[39mtoBe(\u001b[32m\"testAnnouncement\"\u001b[39m)\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 179 |\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 180 |\u001b[39m expect(localStorageMock\u001b[33m.\u001b[39mremoveItem)\u001b[33m.\u001b[39mtoHaveBeenCalledWith(\u001b[0m\u001b[22m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Object.<anonymous> (\u001b[22m\u001b[2m\u001b[0m\u001b[36mtests/ui/hooks/useAnnouncement.test.tsx\u001b[39m\u001b[0m\u001b[2m:177:35)\u001b[22m\u001b[2m\u001b[22m\n\n\u001b[1m\u001b[31m \u001b[1m● \u001b[22m\u001b[1museAnnouncement › should ignore invalid announcement objects\u001b[39m\u001b[22m\n\n \u001b[2mexpect(\u001b[22m\u001b[31mreceived\u001b[39m\u001b[2m).\u001b[22mtoBe\u001b[2m(\u001b[22m\u001b[32mexpected\u001b[39m\u001b[2m) // Object.is equality\u001b[22m\n\n Expected: \u001b[32mtrue\u001b[39m\n Received: \u001b[31mfalse\u001b[39m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[0m \u001b[90m 227 |\u001b[39m \u001b[36mconst\u001b[39m { result } \u001b[33m=\u001b[39m renderHook(() \u001b[33m=>\u001b[39m useAnnouncement())\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 228 |\u001b[39m\u001b[22m\n\u001b[2m \u001b[31m\u001b[1m>\u001b[22m\u001b[2m\u001b[39m\u001b[90m 229 |\u001b[39m expect(result\u001b[33m.\u001b[39mcurrent\u001b[33m.\u001b[39misOpen)\u001b[33m.\u001b[39mtoBe(\u001b[36mtrue\u001b[39m)\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[2m\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 230 |\u001b[39m expect(result\u001b[33m.\u001b[39mcurrent\u001b[33m.\u001b[39mcurrentAnnouncement\u001b[33m?\u001b[39m\u001b[33m.\u001b[39mid)\u001b[33m.\u001b[39mtoBe(\u001b[32m\"validAnnouncement\"\u001b[39m)\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 231 |\u001b[39m })\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 232 |\u001b[39m\u001b[0m\u001b[22m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Object.<anonymous> (\u001b[22m\u001b[2m\u001b[0m\u001b[36mtests/ui/hooks/useAnnouncement.test.tsx\u001b[39m\u001b[0m\u001b[2m:229:35)\u001b[22m\u001b[2m\u001b[22m\n\n\u001b[1m\u001b[31m \u001b[1m● \u001b[22m\u001b[1museAnnouncement › should handle malformed dismissal data\u001b[39m\u001b[22m\n\n \u001b[2mexpect(\u001b[22m\u001b[31mreceived\u001b[39m\u001b[2m).\u001b[22mtoBe\u001b[2m(\u001b[22m\u001b[32mexpected\u001b[39m\u001b[2m) // Object.is equality\u001b[22m\n\n Expected: \u001b[32mtrue\u001b[39m\n Received: \u001b[31mfalse\u001b[39m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[0m \u001b[90m 236 |\u001b[39m \u001b[36mconst\u001b[39m { result } \u001b[33m=\u001b[39m renderHook(() \u001b[33m=>\u001b[39m useAnnouncement())\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 237 |\u001b[39m\u001b[22m\n\u001b[2m \u001b[31m\u001b[1m>\u001b[22m\u001b[2m\u001b[39m\u001b[90m 238 |\u001b[39m expect(result\u001b[33m.\u001b[39mcurrent\u001b[33m.\u001b[39misOpen)\u001b[33m.\u001b[39mtoBe(\u001b[36mtrue\u001b[39m)\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[2m\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 239 |\u001b[39m expect(result\u001b[33m.\u001b[39mcurrent\u001b[33m.\u001b[39mcurrentAnnouncement\u001b[33m?\u001b[39m\u001b[33m.\u001b[39mid)\u001b[33m.\u001b[39mtoBe(\u001b[32m\"testAnnouncement\"\u001b[39m)\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 240 |\u001b[39m expect(localStorageMock\u001b[33m.\u001b[39mremoveItem)\u001b[33m.\u001b[39mtoHaveBeenCalledWith(\u001b[22m\n\u001b[2m \u001b[90m 241 |\u001b[39m \u001b[32m\"chabod-announcement-dismissed-testAnnouncement\"\u001b[39m\u001b[0m\u001b[22m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Object.<anonymous> (\u001b[22m\u001b[2m\u001b[0m\u001b[36mtests/ui/hooks/useAnnouncement.test.tsx\u001b[39m\u001b[0m\u001b[2m:238:35)\u001b[22m\u001b[2m\u001b[22m\n",
"name": "/Users/schwanndenkuo/Documents/personal/chabod/tests/ui/hooks/useAnnouncement.test.tsx",
"startTime": 1749528569652,
"status": "failed",
"summary": ""
},
{
"assertionResults": [
{
"ancestorTitles": ["AnnouncementDialog"],
"duration": 17,
"failureDetails": [],
"failureMessages": [],
"fullName": "AnnouncementDialog should not render when announcement is null",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should not render when announcement is null"
},
{
"ancestorTitles": ["AnnouncementDialog"],
"duration": 2,
"failureDetails": [],
"failureMessages": [],
"fullName": "AnnouncementDialog should not render when isOpen is false",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should not render when isOpen is false"
},
{
"ancestorTitles": ["AnnouncementDialog"],
"duration": 17,
"failureDetails": [{ "name": "TestingLibraryElementError" }],
"failureMessages": [
"TestingLibraryElementError: Unable to find an accessible element with the role \"dialog\"\n\nThere are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole\n\nIgnored nodes: comments, script, style\n\u001b[36m<body>\u001b[39m\n \u001b[36m<div>\u001b[39m\n \u001b[36m<div\u001b[39m\n \u001b[33mdata-testid\u001b[39m=\u001b[32m\"announcement-dialog\"\u001b[39m\n \u001b[36m/>\u001b[39m\n \u001b[36m</div>\u001b[39m\n\u001b[36m</body>\u001b[39m\n at Object.getElementError (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/config.js:37:19)\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:52:17\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:95:19\n at Object.<anonymous> (/Users/schwanndenkuo/Documents/personal/chabod/tests/ui/components/shared/AnnouncementDialog.test.tsx:56:19)\n at Promise.then.completed (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise (<anonymous>)\n at callAsyncCircusFn (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at _runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:121:9)\n at run (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/testWorker.js:106:12)"
],
"fullName": "AnnouncementDialog should render announcement dialog with all content",
"invocations": 1,
"location": null,
"numPassingAsserts": 0,
"retryReasons": [],
"status": "failed",
"title": "should render announcement dialog with all content"
},
{
"ancestorTitles": ["AnnouncementDialog"],
"duration": 3,
"failureDetails": [{ "name": "TestingLibraryElementError" }],
"failureMessages": [
"TestingLibraryElementError: Unable to find an element with the text: common.dontShowAgain. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.\n\nIgnored nodes: comments, script, style\n\u001b[36m<body>\u001b[39m\n \u001b[36m<div>\u001b[39m\n \u001b[36m<div\u001b[39m\n \u001b[33mdata-testid\u001b[39m=\u001b[32m\"announcement-dialog\"\u001b[39m\n \u001b[36m/>\u001b[39m\n \u001b[36m</div>\u001b[39m\n\u001b[36m</body>\u001b[39m\n at Object.getElementError (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/config.js:37:19)\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:52:17\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:95:19\n at Object.<anonymous> (/Users/schwanndenkuo/Documents/personal/chabod/tests/ui/components/shared/AnnouncementDialog.test.tsx:79:19)\n at Promise.then.completed (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise (<anonymous>)\n at callAsyncCircusFn (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at _runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:121:9)\n at run (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/testWorker.js:106:12)"
],
"fullName": "AnnouncementDialog should render with default text when custom text is not provided",
"invocations": 1,
"location": null,
"numPassingAsserts": 0,
"retryReasons": [],
"status": "failed",
"title": "should render with default text when custom text is not provided"
},
{
"ancestorTitles": ["AnnouncementDialog"],
"duration": 2,
"failureDetails": [{ "name": "TestingLibraryElementError" }],
"failureMessages": [
"TestingLibraryElementError: Unable to find an element with the text: bold text. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.\n\nIgnored nodes: comments, script, style\n\u001b[36m<body>\u001b[39m\n \u001b[36m<div>\u001b[39m\n \u001b[36m<div\u001b[39m\n \u001b[33mdata-testid\u001b[39m=\u001b[32m\"announcement-dialog\"\u001b[39m\n \u001b[36m/>\u001b[39m\n \u001b[36m</div>\u001b[39m\n\u001b[36m</body>\u001b[39m\n at Object.getElementError (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/config.js:37:19)\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:52:17\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:95:19\n at Object.<anonymous> (/Users/schwanndenkuo/Documents/personal/chabod/tests/ui/components/shared/AnnouncementDialog.test.tsx:97:19)\n at Promise.then.completed (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise (<anonymous>)\n at callAsyncCircusFn (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at _runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:121:9)\n at run (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/testWorker.js:106:12)"
],
"fullName": "AnnouncementDialog should render HTML content in message",
"invocations": 1,
"location": null,
"numPassingAsserts": 0,
"retryReasons": [],
"status": "failed",
"title": "should render HTML content in message"
},
{
"ancestorTitles": ["AnnouncementDialog"],
"duration": 4,
"failureDetails": [{ "name": "TestingLibraryElementError" }],
"failureMessages": [
"TestingLibraryElementError: Unable to find an accessible element with the role \"dialog\"\n\nThere are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole\n\nIgnored nodes: comments, script, style\n\u001b[36m<body>\u001b[39m\n \u001b[36m<div>\u001b[39m\n \u001b[36m<div\u001b[39m\n \u001b[33mdata-testid\u001b[39m=\u001b[32m\"announcement-dialog\"\u001b[39m\n \u001b[36m/>\u001b[39m\n \u001b[36m</div>\u001b[39m\n\u001b[36m</body>\u001b[39m\n at Object.getElementError (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/config.js:37:19)\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:52:17\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:95:19\n at /Users/schwanndenkuo/Documents/personal/chabod/tests/ui/components/shared/AnnouncementDialog.test.tsx:115:21\n at Array.forEach (<anonymous>)\n at Object.<anonymous> (/Users/schwanndenkuo/Documents/personal/chabod/tests/ui/components/shared/AnnouncementDialog.test.tsx:105:15)\n at Promise.then.completed (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise (<anonymous>)\n at callAsyncCircusFn (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at _runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:121:9)\n at run (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/testWorker.js:106:12)"
],
"fullName": "AnnouncementDialog should render different icon types",
"invocations": 1,
"location": null,
"numPassingAsserts": 0,
"retryReasons": [],
"status": "failed",
"title": "should render different icon types"
},
{
"ancestorTitles": ["AnnouncementDialog"],
"duration": 3,
"failureDetails": [{ "name": "TestingLibraryElementError" }],
"failureMessages": [
"TestingLibraryElementError: Unable to find an accessible element with the role \"dialog\"\n\nThere are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole\n\nIgnored nodes: comments, script, style\n\u001b[36m<body>\u001b[39m\n \u001b[36m<div>\u001b[39m\n \u001b[36m<div\u001b[39m\n \u001b[33mdata-testid\u001b[39m=\u001b[32m\"announcement-dialog\"\u001b[39m\n \u001b[36m/>\u001b[39m\n \u001b[36m</div>\u001b[39m\n\u001b[36m</body>\u001b[39m\n at Object.getElementError (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/config.js:37:19)\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:52:17\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:95:19\n at Object.<anonymous> (/Users/schwanndenkuo/Documents/personal/chabod/tests/ui/components/shared/AnnouncementDialog.test.tsx:132:27)\n at Promise.then.completed (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise (<anonymous>)\n at callAsyncCircusFn (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at _runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:121:9)\n at run (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/testWorker.js:106:12)"
],
"fullName": "AnnouncementDialog should call onDismiss with false when dialog is closed via overlay",
"invocations": 1,
"location": null,
"numPassingAsserts": 0,
"retryReasons": [],
"status": "failed",
"title": "should call onDismiss with false when dialog is closed via overlay"
},
{
"ancestorTitles": ["AnnouncementDialog"],
"duration": 3,
"failureDetails": [{ "name": "TestingLibraryElementError" }],
"failureMessages": [
"TestingLibraryElementError: Unable to find an accessible element with the role \"button\" and name \"Got it\"\n\nThere are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole\n\nIgnored nodes: comments, script, style\n\u001b[36m<body>\u001b[39m\n \u001b[36m<div>\u001b[39m\n \u001b[36m<div\u001b[39m\n \u001b[33mdata-testid\u001b[39m=\u001b[32m\"announcement-dialog\"\u001b[39m\n \u001b[36m/>\u001b[39m\n \u001b[36m</div>\u001b[39m\n\u001b[36m</body>\u001b[39m\n at Object.getElementError (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/config.js:37:19)\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:52:17\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:95:19\n at Object.<anonymous> (/Users/schwanndenkuo/Documents/personal/chabod/tests/ui/components/shared/AnnouncementDialog.test.tsx:149:37)\n at Promise.then.completed (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise (<anonymous>)\n at callAsyncCircusFn (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at _runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:121:9)\n at run (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/testWorker.js:106:12)"
],
"fullName": "AnnouncementDialog should call onDismiss with false when understood button is clicked without checkbox",
"invocations": 1,
"location": null,
"numPassingAsserts": 0,
"retryReasons": [],
"status": "failed",
"title": "should call onDismiss with false when understood button is clicked without checkbox"
},
{
"ancestorTitles": ["AnnouncementDialog"],
"duration": 6,
"failureDetails": [{ "name": "TestingLibraryElementError" }],
"failureMessages": [
"TestingLibraryElementError: Unable to find an accessible element with the role \"checkbox\"\n\nThere are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole\n\nIgnored nodes: comments, script, style\n\u001b[36m<body>\u001b[39m\n \u001b[36m<div>\u001b[39m\n \u001b[36m<div\u001b[39m\n \u001b[33mdata-testid\u001b[39m=\u001b[32m\"announcement-dialog\"\u001b[39m\n \u001b[36m/>\u001b[39m\n \u001b[36m</div>\u001b[39m\n\u001b[36m</body>\u001b[39m\n at Object.getElementError (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/config.js:37:19)\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:52:17\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:95:19\n at Object.<anonymous> (/Users/schwanndenkuo/Documents/personal/chabod/tests/ui/components/shared/AnnouncementDialog.test.tsx:166:29)\n at Promise.then.completed (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise (<anonymous>)\n at callAsyncCircusFn (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at _runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:121:9)\n at run (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/testWorker.js:106:12)"
],
"fullName": "AnnouncementDialog should call onDismiss with true when understood button is clicked with checkbox checked",
"invocations": 1,
"location": null,
"numPassingAsserts": 0,
"retryReasons": [],
"status": "failed",
"title": "should call onDismiss with true when understood button is clicked with checkbox checked"
},
{
"ancestorTitles": ["AnnouncementDialog"],
"duration": 3,
"failureDetails": [{ "name": "TestingLibraryElementError" }],
"failureMessages": [
"TestingLibraryElementError: Unable to find an accessible element with the role \"checkbox\"\n\nThere are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole\n\nIgnored nodes: comments, script, style\n\u001b[36m<body>\u001b[39m\n \u001b[36m<div>\u001b[39m\n \u001b[36m<div\u001b[39m\n \u001b[33mdata-testid\u001b[39m=\u001b[32m\"announcement-dialog\"\u001b[39m\n \u001b[36m/>\u001b[39m\n \u001b[36m</div>\u001b[39m\n\u001b[36m</body>\u001b[39m\n at Object.getElementError (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/config.js:37:19)\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:52:17\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:95:19\n at Object.<anonymous> (/Users/schwanndenkuo/Documents/personal/chabod/tests/ui/components/shared/AnnouncementDialog.test.tsx:186:29)\n at Promise.then.completed (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise (<anonymous>)\n at callAsyncCircusFn (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at _runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:121:9)\n at run (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/testWorker.js:106:12)"
],
"fullName": "AnnouncementDialog should toggle checkbox state when clicked",
"invocations": 1,
"location": null,
"numPassingAsserts": 0,
"retryReasons": [],
"status": "failed",
"title": "should toggle checkbox state when clicked"
},
{
"ancestorTitles": ["AnnouncementDialog"],
"duration": 2,
"failureDetails": [{ "name": "TestingLibraryElementError" }],
"failureMessages": [
"TestingLibraryElementError: Unable to find an accessible element with the role \"checkbox\"\n\nThere are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole\n\nIgnored nodes: comments, script, style\n\u001b[36m<body>\u001b[39m\n \u001b[36m<div>\u001b[39m\n \u001b[36m<div\u001b[39m\n \u001b[33mdata-testid\u001b[39m=\u001b[32m\"announcement-dialog\"\u001b[39m\n \u001b[36m/>\u001b[39m\n \u001b[36m</div>\u001b[39m\n\u001b[36m</body>\u001b[39m\n at Object.getElementError (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/config.js:37:19)\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:52:17\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:95:19\n at Object.<anonymous> (/Users/schwanndenkuo/Documents/personal/chabod/tests/ui/components/shared/AnnouncementDialog.test.tsx:208:29)\n at Promise.then.completed (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise (<anonymous>)\n at callAsyncCircusFn (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at _runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:121:9)\n at run (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/testWorker.js:106:12)"
],
"fullName": "AnnouncementDialog should reset checkbox state after dismissal",
"invocations": 1,
"location": null,
"numPassingAsserts": 0,
"retryReasons": [],
"status": "failed",
"title": "should reset checkbox state after dismissal"
},
{
"ancestorTitles": ["AnnouncementDialog"],
"duration": 2,
"failureDetails": [{ "name": "TestingLibraryElementError" }],
"failureMessages": [
"TestingLibraryElementError: Unable to find an accessible element with the role \"dialog\"\n\nThere are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole\n\nIgnored nodes: comments, script, style\n\u001b[36m<body>\u001b[39m\n \u001b[36m<div>\u001b[39m\n \u001b[36m<div\u001b[39m\n \u001b[33mdata-testid\u001b[39m=\u001b[32m\"announcement-dialog\"\u001b[39m\n \u001b[36m/>\u001b[39m\n \u001b[36m</div>\u001b[39m\n\u001b[36m</body>\u001b[39m\n at Object.getElementError (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/config.js:37:19)\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:52:17\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:95:19\n at Object.<anonymous> (/Users/schwanndenkuo/Documents/personal/chabod/tests/ui/components/shared/AnnouncementDialog.test.tsx:243:27)\n at Promise.then.completed (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise (<anonymous>)\n at callAsyncCircusFn (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at _runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:121:9)\n at run (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/testWorker.js:106:12)"
],
"fullName": "AnnouncementDialog should be accessible",
"invocations": 1,
"location": null,
"numPassingAsserts": 0,
"retryReasons": [],
"status": "failed",
"title": "should be accessible"
},
{
"ancestorTitles": ["AnnouncementDialog"],
"duration": 9,
"failureDetails": [{ "name": "TestingLibraryElementError" }],
"failureMessages": [
"TestingLibraryElementError: Unable to find an accessible element with the role \"checkbox\"\n\nThere are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole\n\nIgnored nodes: comments, script, style\n\u001b[36m<body>\u001b[39m\n \u001b[36m<div>\u001b[39m\n \u001b[36m<div\u001b[39m\n \u001b[33mdata-testid\u001b[39m=\u001b[32m\"announcement-dialog\"\u001b[39m\n \u001b[36m/>\u001b[39m\n \u001b[36m</div>\u001b[39m\n\u001b[36m</body>\u001b[39m\n at Object.getElementError (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/config.js:37:19)\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:52:17\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:95:19\n at Object.<anonymous> (/Users/schwanndenkuo/Documents/personal/chabod/tests/ui/components/shared/AnnouncementDialog.test.tsx:267:19)"
],
"fullName": "AnnouncementDialog should handle keyboard navigation",
"invocations": 1,
"location": null,
"numPassingAsserts": 0,
"retryReasons": [],
"status": "failed",
"title": "should handle keyboard navigation"
},
{
"ancestorTitles": ["AnnouncementDialog"],
"duration": 2,
"failureDetails": [{ "name": "TestingLibraryElementError" }],
"failureMessages": [
"TestingLibraryElementError: Unable to find an accessible element with the role \"checkbox\"\n\nThere are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole\n\nIgnored nodes: comments, script, style\n\u001b[36m<body>\u001b[39m\n \u001b[36m<div>\u001b[39m\n \u001b[36m<div\u001b[39m\n \u001b[33mdata-testid\u001b[39m=\u001b[32m\"announcement-dialog\"\u001b[39m\n \u001b[36m/>\u001b[39m\n \u001b[36m</div>\u001b[39m\n\u001b[36m</body>\u001b[39m\n at Object.getElementError (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/config.js:37:19)\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:52:17\n at /Users/schwanndenkuo/Documents/personal/chabod/node_modules/@testing-library/dom/dist/query-helpers.js:95:19\n at Object.<anonymous> (/Users/schwanndenkuo/Documents/personal/chabod/tests/ui/components/shared/AnnouncementDialog.test.tsx:289:29)\n at Promise.then.completed (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise (<anonymous>)\n at callAsyncCircusFn (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:316:40)\n at _runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:121:9)\n at run (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/Users/schwanndenkuo/Documents/personal/chabod/node_modules/jest-runner/build/testWorker.js:106:12)"
],
"fullName": "AnnouncementDialog should handle space key on checkbox",
"invocations": 1,
"location": null,
"numPassingAsserts": 0,
"retryReasons": [],
"status": "failed",
"title": "should handle space key on checkbox"
}
],
"endTime": 1749528570260,
"message": "\u001b[1m\u001b[31m \u001b[1m● \u001b[22m\u001b[1mAnnouncementDialog › should render announcement dialog with all content\u001b[39m\u001b[22m\n\n TestingLibraryElementError: Unable to find an accessible element with the role \"dialog\"\n\n There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole\n\n Ignored nodes: comments, script, style\n \u001b[36m<body>\u001b[39m\n \u001b[36m<div>\u001b[39m\n \u001b[36m<div\u001b[39m\n \u001b[33mdata-testid\u001b[39m=\u001b[32m\"announcement-dialog\"\u001b[39m\n \u001b[36m/>\u001b[39m\n \u001b[36m</div>\u001b[39m\n \u001b[36m</body>\u001b[39m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[0m \u001b[90m 54 |\u001b[39m )\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 55 |\u001b[39m\u001b[22m\n\u001b[2m \u001b[31m\u001b[1m>\u001b[22m\u001b[2m\u001b[39m\u001b[90m 56 |\u001b[39m expect(screen\u001b[33m.\u001b[39mgetByRole(\u001b[32m\"dialog\"\u001b[39m))\u001b[33m.\u001b[39mtoBeInTheDocument()\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[2m\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 57 |\u001b[39m expect(screen\u001b[33m.\u001b[39mgetByText(\u001b[32m\"Test Title\"\u001b[39m))\u001b[33m.\u001b[39mtoBeInTheDocument()\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 58 |\u001b[39m expect(screen\u001b[33m.\u001b[39mgetByText(\u001b[32m\"Test Message\"\u001b[39m))\u001b[33m.\u001b[39mtoBeInTheDocument()\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 59 |\u001b[39m expect(screen\u001b[33m.\u001b[39mgetByText(\u001b[32m\"Don't show this again\"\u001b[39m))\u001b[33m.\u001b[39mtoBeInTheDocument()\u001b[33m;\u001b[39m\u001b[0m\u001b[22m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Object.getElementError (\u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/config.js\u001b[2m:37:19)\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:76:38\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:52:17\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:95:19\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Object.<anonymous> (\u001b[22m\u001b[2m\u001b[0m\u001b[36mtests/ui/components/shared/AnnouncementDialog.test.tsx\u001b[39m\u001b[0m\u001b[2m:56:19)\u001b[22m\u001b[2m\u001b[22m\n\n\u001b[1m\u001b[31m \u001b[1m● \u001b[22m\u001b[1mAnnouncementDialog › should render with default text when custom text is not provided\u001b[39m\u001b[22m\n\n TestingLibraryElementError: Unable to find an element with the text: common.dontShowAgain. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.\n\n Ignored nodes: comments, script, style\n \u001b[36m<body>\u001b[39m\n \u001b[36m<div>\u001b[39m\n \u001b[36m<div\u001b[39m\n \u001b[33mdata-testid\u001b[39m=\u001b[32m\"announcement-dialog\"\u001b[39m\n \u001b[36m/>\u001b[39m\n \u001b[36m</div>\u001b[39m\n \u001b[36m</body>\u001b[39m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[0m \u001b[90m 77 |\u001b[39m )\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 78 |\u001b[39m\u001b[22m\n\u001b[2m \u001b[31m\u001b[1m>\u001b[22m\u001b[2m\u001b[39m\u001b[90m 79 |\u001b[39m expect(screen\u001b[33m.\u001b[39mgetByText(\u001b[32m\"common.dontShowAgain\"\u001b[39m))\u001b[33m.\u001b[39mtoBeInTheDocument()\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[2m\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 80 |\u001b[39m expect(screen\u001b[33m.\u001b[39mgetByRole(\u001b[32m\"button\"\u001b[39m\u001b[33m,\u001b[39m { name\u001b[33m:\u001b[39m \u001b[32m\"common.understood\"\u001b[39m }))\u001b[33m.\u001b[39mtoBeInTheDocument()\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 81 |\u001b[39m })\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 82 |\u001b[39m\u001b[0m\u001b[22m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Object.getElementError (\u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/config.js\u001b[2m:37:19)\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:76:38\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:52:17\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:95:19\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Object.<anonymous> (\u001b[22m\u001b[2m\u001b[0m\u001b[36mtests/ui/components/shared/AnnouncementDialog.test.tsx\u001b[39m\u001b[0m\u001b[2m:79:19)\u001b[22m\u001b[2m\u001b[22m\n\n\u001b[1m\u001b[31m \u001b[1m● \u001b[22m\u001b[1mAnnouncementDialog › should render HTML content in message\u001b[39m\u001b[22m\n\n TestingLibraryElementError: Unable to find an element with the text: bold text. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.\n\n Ignored nodes: comments, script, style\n \u001b[36m<body>\u001b[39m\n \u001b[36m<div>\u001b[39m\n \u001b[36m<div\u001b[39m\n \u001b[33mdata-testid\u001b[39m=\u001b[32m\"announcement-dialog\"\u001b[39m\n \u001b[36m/>\u001b[39m\n \u001b[36m</div>\u001b[39m\n \u001b[36m</body>\u001b[39m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[0m \u001b[90m 95 |\u001b[39m )\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 96 |\u001b[39m\u001b[22m\n\u001b[2m \u001b[31m\u001b[1m>\u001b[22m\u001b[2m\u001b[39m\u001b[90m 97 |\u001b[39m expect(screen\u001b[33m.\u001b[39mgetByText(\u001b[32m\"bold text\"\u001b[39m))\u001b[33m.\u001b[39mtoBeInTheDocument()\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[2m\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 98 |\u001b[39m \u001b[36mconst\u001b[39m strongElement \u001b[33m=\u001b[39m screen\u001b[33m.\u001b[39mgetByText(\u001b[32m\"bold text\"\u001b[39m)\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 99 |\u001b[39m expect(strongElement\u001b[33m.\u001b[39mtagName)\u001b[33m.\u001b[39mtoBe(\u001b[32m\"STRONG\"\u001b[39m)\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 100 |\u001b[39m })\u001b[33m;\u001b[39m\u001b[0m\u001b[22m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Object.getElementError (\u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/config.js\u001b[2m:37:19)\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:76:38\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:52:17\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:95:19\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Object.<anonymous> (\u001b[22m\u001b[2m\u001b[0m\u001b[36mtests/ui/components/shared/AnnouncementDialog.test.tsx\u001b[39m\u001b[0m\u001b[2m:97:19)\u001b[22m\u001b[2m\u001b[22m\n\n\u001b[1m\u001b[31m \u001b[1m● \u001b[22m\u001b[1mAnnouncementDialog › should render different icon types\u001b[39m\u001b[22m\n\n TestingLibraryElementError: Unable to find an accessible element with the role \"dialog\"\n\n There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole\n\n Ignored nodes: comments, script, style\n \u001b[36m<body>\u001b[39m\n \u001b[36m<div>\u001b[39m\n \u001b[36m<div\u001b[39m\n \u001b[33mdata-testid\u001b[39m=\u001b[32m\"announcement-dialog\"\u001b[39m\n \u001b[36m/>\u001b[39m\n \u001b[36m</div>\u001b[39m\n \u001b[36m</body>\u001b[39m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[0m \u001b[90m 113 |\u001b[39m \u001b[22m\n\u001b[2m \u001b[90m 114 |\u001b[39m \u001b[90m// Icon should be rendered (we can't easily test the specific icon due to mocking)\u001b[39m\u001b[22m\n\u001b[2m \u001b[31m\u001b[1m>\u001b[22m\u001b[2m\u001b[39m\u001b[90m 115 |\u001b[39m expect(screen\u001b[33m.\u001b[39mgetByRole(\u001b[32m\"dialog\"\u001b[39m))\u001b[33m.\u001b[39mtoBeInTheDocument()\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[2m\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 116 |\u001b[39m unmount()\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 117 |\u001b[39m })\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 118 |\u001b[39m })\u001b[33m;\u001b[39m\u001b[0m\u001b[22m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Object.getElementError (\u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/config.js\u001b[2m:37:19)\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:76:38\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:52:17\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:95:19\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2m\u001b[0m\u001b[36mtests/ui/components/shared/AnnouncementDialog.test.tsx\u001b[39m\u001b[0m\u001b[2m:115:21\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m at Array.forEach (<anonymous>)\u001b[22m\n\u001b[2m \u001b[2mat Object.<anonymous> (\u001b[22m\u001b[2m\u001b[0m\u001b[36mtests/ui/components/shared/AnnouncementDialog.test.tsx\u001b[39m\u001b[0m\u001b[2m:105:15)\u001b[22m\u001b[2m\u001b[22m\n\n\u001b[1m\u001b[31m \u001b[1m● \u001b[22m\u001b[1mAnnouncementDialog › should call onDismiss with false when dialog is closed via overlay\u001b[39m\u001b[22m\n\n TestingLibraryElementError: Unable to find an accessible element with the role \"dialog\"\n\n There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole\n\n Ignored nodes: comments, script, style\n \u001b[36m<body>\u001b[39m\n \u001b[36m<div>\u001b[39m\n \u001b[36m<div\u001b[39m\n \u001b[33mdata-testid\u001b[39m=\u001b[32m\"announcement-dialog\"\u001b[39m\n \u001b[36m/>\u001b[39m\n \u001b[36m</div>\u001b[39m\n \u001b[36m</body>\u001b[39m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[0m \u001b[90m 130 |\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 131 |\u001b[39m \u001b[90m// Click outside the dialog (on the overlay)\u001b[39m\u001b[22m\n\u001b[2m \u001b[31m\u001b[1m>\u001b[22m\u001b[2m\u001b[39m\u001b[90m 132 |\u001b[39m \u001b[36mconst\u001b[39m dialog \u001b[33m=\u001b[39m screen\u001b[33m.\u001b[39mgetByRole(\u001b[32m\"dialog\"\u001b[39m)\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[2m\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 133 |\u001b[39m \u001b[36mawait\u001b[39m user\u001b[33m.\u001b[39mclick(dialog\u001b[33m.\u001b[39mparentElement\u001b[33m!\u001b[39m)\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 134 |\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 135 |\u001b[39m expect(mockOnDismiss)\u001b[33m.\u001b[39mtoHaveBeenCalledWith(\u001b[36mfalse\u001b[39m)\u001b[33m;\u001b[39m\u001b[0m\u001b[22m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Object.getElementError (\u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/config.js\u001b[2m:37:19)\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:76:38\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:52:17\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:95:19\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Object.<anonymous> (\u001b[22m\u001b[2m\u001b[0m\u001b[36mtests/ui/components/shared/AnnouncementDialog.test.tsx\u001b[39m\u001b[0m\u001b[2m:132:27)\u001b[22m\u001b[2m\u001b[22m\n\n\u001b[1m\u001b[31m \u001b[1m● \u001b[22m\u001b[1mAnnouncementDialog › should call onDismiss with false when understood button is clicked without checkbox\u001b[39m\u001b[22m\n\n TestingLibraryElementError: Unable to find an accessible element with the role \"button\" and name \"Got it\"\n\n There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole\n\n Ignored nodes: comments, script, style\n \u001b[36m<body>\u001b[39m\n \u001b[36m<div>\u001b[39m\n \u001b[36m<div\u001b[39m\n \u001b[33mdata-testid\u001b[39m=\u001b[32m\"announcement-dialog\"\u001b[39m\n \u001b[36m/>\u001b[39m\n \u001b[36m</div>\u001b[39m\n \u001b[36m</body>\u001b[39m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[0m \u001b[90m 147 |\u001b[39m )\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 148 |\u001b[39m\u001b[22m\n\u001b[2m \u001b[31m\u001b[1m>\u001b[22m\u001b[2m\u001b[39m\u001b[90m 149 |\u001b[39m \u001b[36mconst\u001b[39m understoodButton \u001b[33m=\u001b[39m screen\u001b[33m.\u001b[39mgetByRole(\u001b[32m\"button\"\u001b[39m\u001b[33m,\u001b[39m { name\u001b[33m:\u001b[39m \u001b[32m\"Got it\"\u001b[39m })\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[2m\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 150 |\u001b[39m \u001b[36mawait\u001b[39m user\u001b[33m.\u001b[39mclick(understoodButton)\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 151 |\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 152 |\u001b[39m expect(mockOnDismiss)\u001b[33m.\u001b[39mtoHaveBeenCalledWith(\u001b[36mfalse\u001b[39m)\u001b[33m;\u001b[39m\u001b[0m\u001b[22m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Object.getElementError (\u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/config.js\u001b[2m:37:19)\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:76:38\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:52:17\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:95:19\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Object.<anonymous> (\u001b[22m\u001b[2m\u001b[0m\u001b[36mtests/ui/components/shared/AnnouncementDialog.test.tsx\u001b[39m\u001b[0m\u001b[2m:149:37)\u001b[22m\u001b[2m\u001b[22m\n\n\u001b[1m\u001b[31m \u001b[1m● \u001b[22m\u001b[1mAnnouncementDialog › should call onDismiss with true when understood button is clicked with checkbox checked\u001b[39m\u001b[22m\n\n TestingLibraryElementError: Unable to find an accessible element with the role \"checkbox\"\n\n There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole\n\n Ignored nodes: comments, script, style\n \u001b[36m<body>\u001b[39m\n \u001b[36m<div>\u001b[39m\n \u001b[36m<div\u001b[39m\n \u001b[33mdata-testid\u001b[39m=\u001b[32m\"announcement-dialog\"\u001b[39m\n \u001b[36m/>\u001b[39m\n \u001b[36m</div>\u001b[39m\n \u001b[36m</body>\u001b[39m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[0m \u001b[90m 164 |\u001b[39m )\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 165 |\u001b[39m\u001b[22m\n\u001b[2m \u001b[31m\u001b[1m>\u001b[22m\u001b[2m\u001b[39m\u001b[90m 166 |\u001b[39m \u001b[36mconst\u001b[39m checkbox \u001b[33m=\u001b[39m screen\u001b[33m.\u001b[39mgetByRole(\u001b[32m\"checkbox\"\u001b[39m)\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[2m\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 167 |\u001b[39m \u001b[36mconst\u001b[39m understoodButton \u001b[33m=\u001b[39m screen\u001b[33m.\u001b[39mgetByRole(\u001b[32m\"button\"\u001b[39m\u001b[33m,\u001b[39m { name\u001b[33m:\u001b[39m \u001b[32m\"Got it\"\u001b[39m })\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 168 |\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 169 |\u001b[39m \u001b[36mawait\u001b[39m user\u001b[33m.\u001b[39mclick(checkbox)\u001b[33m;\u001b[39m\u001b[0m\u001b[22m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Object.getElementError (\u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/config.js\u001b[2m:37:19)\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:76:38\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:52:17\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:95:19\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Object.<anonymous> (\u001b[22m\u001b[2m\u001b[0m\u001b[36mtests/ui/components/shared/AnnouncementDialog.test.tsx\u001b[39m\u001b[0m\u001b[2m:166:29)\u001b[22m\u001b[2m\u001b[22m\n\n\u001b[1m\u001b[31m \u001b[1m● \u001b[22m\u001b[1mAnnouncementDialog › should toggle checkbox state when clicked\u001b[39m\u001b[22m\n\n TestingLibraryElementError: Unable to find an accessible element with the role \"checkbox\"\n\n There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole\n\n Ignored nodes: comments, script, style\n \u001b[36m<body>\u001b[39m\n \u001b[36m<div>\u001b[39m\n \u001b[36m<div\u001b[39m\n \u001b[33mdata-testid\u001b[39m=\u001b[32m\"announcement-dialog\"\u001b[39m\n \u001b[36m/>\u001b[39m\n \u001b[36m</div>\u001b[39m\n \u001b[36m</body>\u001b[39m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[0m \u001b[90m 184 |\u001b[39m )\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 185 |\u001b[39m\u001b[22m\n\u001b[2m \u001b[31m\u001b[1m>\u001b[22m\u001b[2m\u001b[39m\u001b[90m 186 |\u001b[39m \u001b[36mconst\u001b[39m checkbox \u001b[33m=\u001b[39m screen\u001b[33m.\u001b[39mgetByRole(\u001b[32m\"checkbox\"\u001b[39m)\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[2m\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 187 |\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 188 |\u001b[39m expect(checkbox)\u001b[33m.\u001b[39mnot\u001b[33m.\u001b[39mtoBeChecked()\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 189 |\u001b[39m\u001b[0m\u001b[22m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Object.getElementError (\u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/config.js\u001b[2m:37:19)\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:76:38\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:52:17\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:95:19\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Object.<anonymous> (\u001b[22m\u001b[2m\u001b[0m\u001b[36mtests/ui/components/shared/AnnouncementDialog.test.tsx\u001b[39m\u001b[0m\u001b[2m:186:29)\u001b[22m\u001b[2m\u001b[22m\n\n\u001b[1m\u001b[31m \u001b[1m● \u001b[22m\u001b[1mAnnouncementDialog › should reset checkbox state after dismissal\u001b[39m\u001b[22m\n\n TestingLibraryElementError: Unable to find an accessible element with the role \"checkbox\"\n\n There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole\n\n Ignored nodes: comments, script, style\n \u001b[36m<body>\u001b[39m\n \u001b[36m<div>\u001b[39m\n \u001b[36m<div\u001b[39m\n \u001b[33mdata-testid\u001b[39m=\u001b[32m\"announcement-dialog\"\u001b[39m\n \u001b[36m/>\u001b[39m\n \u001b[36m</div>\u001b[39m\n \u001b[36m</body>\u001b[39m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[0m \u001b[90m 206 |\u001b[39m )\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 207 |\u001b[39m\u001b[22m\n\u001b[2m \u001b[31m\u001b[1m>\u001b[22m\u001b[2m\u001b[39m\u001b[90m 208 |\u001b[39m \u001b[36mconst\u001b[39m checkbox \u001b[33m=\u001b[39m screen\u001b[33m.\u001b[39mgetByRole(\u001b[32m\"checkbox\"\u001b[39m)\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[2m\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 209 |\u001b[39m \u001b[36mawait\u001b[39m user\u001b[33m.\u001b[39mclick(checkbox)\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 210 |\u001b[39m expect(checkbox)\u001b[33m.\u001b[39mtoBeChecked()\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 211 |\u001b[39m\u001b[0m\u001b[22m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Object.getElementError (\u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/config.js\u001b[2m:37:19)\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:76:38\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:52:17\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:95:19\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Object.<anonymous> (\u001b[22m\u001b[2m\u001b[0m\u001b[36mtests/ui/components/shared/AnnouncementDialog.test.tsx\u001b[39m\u001b[0m\u001b[2m:208:29)\u001b[22m\u001b[2m\u001b[22m\n\n\u001b[1m\u001b[31m \u001b[1m● \u001b[22m\u001b[1mAnnouncementDialog › should be accessible\u001b[39m\u001b[22m\n\n TestingLibraryElementError: Unable to find an accessible element with the role \"dialog\"\n\n There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole\n\n Ignored nodes: comments, script, style\n \u001b[36m<body>\u001b[39m\n \u001b[36m<div>\u001b[39m\n \u001b[36m<div\u001b[39m\n \u001b[33mdata-testid\u001b[39m=\u001b[32m\"announcement-dialog\"\u001b[39m\n \u001b[36m/>\u001b[39m\n \u001b[36m</div>\u001b[39m\n \u001b[36m</body>\u001b[39m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[0m \u001b[90m 241 |\u001b[39m )\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 242 |\u001b[39m\u001b[22m\n\u001b[2m \u001b[31m\u001b[1m>\u001b[22m\u001b[2m\u001b[39m\u001b[90m 243 |\u001b[39m \u001b[36mconst\u001b[39m dialog \u001b[33m=\u001b[39m screen\u001b[33m.\u001b[39mgetByRole(\u001b[32m\"dialog\"\u001b[39m)\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[2m\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 244 |\u001b[39m expect(dialog)\u001b[33m.\u001b[39mtoBeInTheDocument()\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 245 |\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 246 |\u001b[39m \u001b[36mconst\u001b[39m checkbox \u001b[33m=\u001b[39m screen\u001b[33m.\u001b[39mgetByRole(\u001b[32m\"checkbox\"\u001b[39m)\u001b[33m;\u001b[39m\u001b[0m\u001b[22m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Object.getElementError (\u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/config.js\u001b[2m:37:19)\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:76:38\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:52:17\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:95:19\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Object.<anonymous> (\u001b[22m\u001b[2m\u001b[0m\u001b[36mtests/ui/components/shared/AnnouncementDialog.test.tsx\u001b[39m\u001b[0m\u001b[2m:243:27)\u001b[22m\u001b[2m\u001b[22m\n\n\u001b[1m\u001b[31m \u001b[1m● \u001b[22m\u001b[1mAnnouncementDialog › should handle keyboard navigation\u001b[39m\u001b[22m\n\n TestingLibraryElementError: Unable to find an accessible element with the role \"checkbox\"\n\n There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole\n\n Ignored nodes: comments, script, style\n \u001b[36m<body>\u001b[39m\n \u001b[36m<div>\u001b[39m\n \u001b[36m<div\u001b[39m\n \u001b[33mdata-testid\u001b[39m=\u001b[32m\"announcement-dialog\"\u001b[39m\n \u001b[36m/>\u001b[39m\n \u001b[36m</div>\u001b[39m\n \u001b[36m</body>\u001b[39m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[0m \u001b[90m 265 |\u001b[39m \u001b[90m// Tab to checkbox\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 266 |\u001b[39m \u001b[36mawait\u001b[39m user\u001b[33m.\u001b[39mtab()\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[31m\u001b[1m>\u001b[22m\u001b[2m\u001b[39m\u001b[90m 267 |\u001b[39m expect(screen\u001b[33m.\u001b[39mgetByRole(\u001b[32m\"checkbox\"\u001b[39m))\u001b[33m.\u001b[39mtoHaveFocus()\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[2m\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 268 |\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 269 |\u001b[39m \u001b[90m// Tab to button\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 270 |\u001b[39m \u001b[36mawait\u001b[39m user\u001b[33m.\u001b[39mtab()\u001b[33m;\u001b[39m\u001b[0m\u001b[22m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Object.getElementError (\u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/config.js\u001b[2m:37:19)\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:76:38\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:52:17\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:95:19\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Object.<anonymous> (\u001b[22m\u001b[2m\u001b[0m\u001b[36mtests/ui/components/shared/AnnouncementDialog.test.tsx\u001b[39m\u001b[0m\u001b[2m:267:19)\u001b[22m\u001b[2m\u001b[22m\n\n\u001b[1m\u001b[31m \u001b[1m● \u001b[22m\u001b[1mAnnouncementDialog › should handle space key on checkbox\u001b[39m\u001b[22m\n\n TestingLibraryElementError: Unable to find an accessible element with the role \"checkbox\"\n\n There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole\n\n Ignored nodes: comments, script, style\n \u001b[36m<body>\u001b[39m\n \u001b[36m<div>\u001b[39m\n \u001b[36m<div\u001b[39m\n \u001b[33mdata-testid\u001b[39m=\u001b[32m\"announcement-dialog\"\u001b[39m\n \u001b[36m/>\u001b[39m\n \u001b[36m</div>\u001b[39m\n \u001b[36m</body>\u001b[39m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[0m \u001b[90m 287 |\u001b[39m )\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 288 |\u001b[39m\u001b[22m\n\u001b[2m \u001b[31m\u001b[1m>\u001b[22m\u001b[2m\u001b[39m\u001b[90m 289 |\u001b[39m \u001b[36mconst\u001b[39m checkbox \u001b[33m=\u001b[39m screen\u001b[33m.\u001b[39mgetByRole(\u001b[32m\"checkbox\"\u001b[39m)\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[2m\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 290 |\u001b[39m \u001b[36mawait\u001b[39m user\u001b[33m.\u001b[39mclick(checkbox)\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 291 |\u001b[39m \u001b[36mawait\u001b[39m user\u001b[33m.\u001b[39mkeyboard(\u001b[32m\" \"\u001b[39m)\u001b[33m;\u001b[39m\u001b[22m\n\u001b[2m \u001b[90m 292 |\u001b[39m\u001b[0m\u001b[22m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Object.getElementError (\u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/config.js\u001b[2m:37:19)\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:76:38\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:52:17\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat \u001b[22m\u001b[2mnode_modules/@testing-library/dom/dist/query-helpers.js\u001b[2m:95:19\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Object.<anonymous> (\u001b[22m\u001b[2m\u001b[0m\u001b[36mtests/ui/components/shared/AnnouncementDialog.test.tsx\u001b[39m\u001b[0m\u001b[2m:289:29)\u001b[22m\u001b[2m\u001b[22m\n",
"name": "/Users/schwanndenkuo/Documents/personal/chabod/tests/ui/components/shared/AnnouncementDialog.test.tsx",
"startTime": 1749528569662,
"status": "failed",
"summary": ""
},
{
"assertionResults": [
{
"ancestorTitles": ["ServicePage", "Authentication and Navigation"],
"duration": 21,
"failureDetails": [],
"failureMessages": [],
"fullName": "ServicePage Authentication and Navigation should redirect to auth page when user is not authenticated",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should redirect to auth page when user is not authenticated"
},
{
"ancestorTitles": ["ServicePage", "Authentication and Navigation"],
"duration": 4,
"failureDetails": [],
"failureMessages": [],
"fullName": "ServicePage Authentication and Navigation should not redirect when session is loading",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should not redirect when session is loading"
},
{
"ancestorTitles": ["ServicePage", "Authentication and Navigation"],
"duration": 3,
"failureDetails": [],
"failureMessages": [],
"fullName": "ServicePage Authentication and Navigation should not redirect when user is authenticated",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should not redirect when user is authenticated"
},
{
"ancestorTitles": ["ServicePage", "Rendering"],
"duration": 15,
"failureDetails": [],
"failureMessages": [],
"fullName": "ServicePage Rendering should render correctly with required data",
"invocations": 1,
"location": null,
"numPassingAsserts": 8,
"retryReasons": [],
"status": "passed",
"title": "should render correctly with required data"
},
{
"ancestorTitles": ["ServicePage", "Rendering"],
"duration": 4,
"failureDetails": [],
"failureMessages": [],
"fullName": "ServicePage Rendering should show loading state initially",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should show loading state initially"
},
{
"ancestorTitles": ["ServicePage", "Rendering"],
"duration": 4,
"failureDetails": [],
"failureMessages": [],
"fullName": "ServicePage Rendering should display breadcrumb correctly",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should display breadcrumb correctly"
},
{
"ancestorTitles": ["ServicePage", "Service Management Authorization"],
"duration": 8,
"failureDetails": [],
"failureMessages": [],
"fullName": "ServicePage Service Management Authorization should show create service dialog when user is tenant owner",
"invocations": 1,
"location": null,
"numPassingAsserts": 2,
"retryReasons": [],
"status": "passed",
"title": "should show create service dialog when user is tenant owner"
},
{
"ancestorTitles": ["ServicePage", "Service Management Authorization"],
"duration": 4,
"failureDetails": [],
"failureMessages": [],
"fullName": "ServicePage Service Management Authorization should not show create service dialog when user is not tenant owner",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should not show create service dialog when user is not tenant owner"
},
{
"ancestorTitles": ["ServicePage", "Service Management Authorization"],
"duration": 4,
"failureDetails": [],
"failureMessages": [],
"fullName": "ServicePage Service Management Authorization should not show create service dialog when role is loading",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should not show create service dialog when role is loading"
},
{
"ancestorTitles": ["ServicePage", "Service Display"],
"duration": 11,
"failureDetails": [],
"failureMessages": [],
"fullName": "ServicePage Service Display should display services when available",
"invocations": 1,
"location": null,
"numPassingAsserts": 6,
"retryReasons": [],
"status": "passed",
"title": "should display services when available"
},
{
"ancestorTitles": ["ServicePage", "Service Display"],
"duration": 10,
"failureDetails": [],
"failureMessages": [],
"fullName": "ServicePage Service Display should show no services message when no services exist",
"invocations": 1,
"location": null,
"numPassingAsserts": 2,
"retryReasons": [],
"status": "passed",
"title": "should show no services message when no services exist"
},
{
"ancestorTitles": ["ServicePage", "Service Display"],
"duration": 2,
"failureDetails": [],
"failureMessages": [],
"fullName": "ServicePage Service Display should show loading message while services are loading",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should show loading message while services are loading"
},
{
"ancestorTitles": ["ServicePage", "Service Editing"],
"duration": 35,
"failureDetails": [],
"failureMessages": [],
"fullName": "ServicePage Service Editing should open edit dialog when service edit is triggered",
"invocations": 1,
"location": null,
"numPassingAsserts": 4,
"retryReasons": [],
"status": "passed",
"title": "should open edit dialog when service edit is triggered"
},
{
"ancestorTitles": ["ServicePage", "Service Editing"],
"duration": 33,
"failureDetails": [],
"failureMessages": [],
"fullName": "ServicePage Service Editing should close edit dialog when dialog close is triggered",
"invocations": 1,
"location": null,
"numPassingAsserts": 3,
"retryReasons": [],
"status": "passed",
"title": "should close edit dialog when dialog close is triggered"
},
{
"ancestorTitles": ["ServicePage", "Service Editing"],
"duration": 31,
"failureDetails": [],
"failureMessages": [],
"fullName": "ServicePage Service Editing should refresh services when edit dialog success is triggered",
"invocations": 1,
"location": null,
"numPassingAsserts": 3,
"retryReasons": [],
"status": "passed",
"title": "should refresh services when edit dialog success is triggered"
},
{
"ancestorTitles": ["ServicePage", "Service Creation"],
"duration": 16,
"failureDetails": [],
"failureMessages": [],
"fullName": "ServicePage Service Creation should refresh services when create dialog success is triggered",
"invocations": 1,
"location": null,
"numPassingAsserts": 2,
"retryReasons": [],
"status": "passed",
"title": "should refresh services when create dialog success is triggered"
},
{
"ancestorTitles": ["ServicePage", "Service Deletion"],
"duration": 18,
"failureDetails": [],
"failureMessages": [],
"fullName": "ServicePage Service Deletion should refresh services when service deletion is triggered",
"invocations": 1,
"location": null,
"numPassingAsserts": 2,
"retryReasons": [],
"status": "passed",
"title": "should refresh services when service deletion is triggered"
},
{
"ancestorTitles": ["ServicePage", "Error Handling"],
"duration": 3,
"failureDetails": [],
"failureMessages": [],
"fullName": "ServicePage Error Handling should handle tenant loading error gracefully",
"invocations": 1,
"location": null,
"numPassingAsserts": 2,
"retryReasons": [],
"status": "passed",
"title": "should handle tenant loading error gracefully"
},
{
"ancestorTitles": ["ServicePage", "Error Handling"],
"duration": 8,
"failureDetails": [],
"failureMessages": [],
"fullName": "ServicePage Error Handling should handle services loading error gracefully",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should handle services loading error gracefully"
},
{
"ancestorTitles": ["ServicePage", "Error Handling"],
"duration": 2,
"failureDetails": [],
"failureMessages": [],
"fullName": "ServicePage Error Handling should handle missing slug parameter",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should handle missing slug parameter"
},
{
"ancestorTitles": ["ServicePage", "Error Handling"],
"duration": 3,
"failureDetails": [],
"failureMessages": [],
"fullName": "ServicePage Error Handling should handle missing tenant ID for services fetch",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should handle missing tenant ID for services fetch"
},
{
"ancestorTitles": ["ServicePage", "Query Dependencies"],
"duration": 3,
"failureDetails": [],
"failureMessages": [],
"fullName": "ServicePage Query Dependencies should not fetch tenant when slug is missing",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should not fetch tenant when slug is missing"
},
{
"ancestorTitles": ["ServicePage", "Query Dependencies"],
"duration": 4,
"failureDetails": [],
"failureMessages": [],
"fullName": "ServicePage Query Dependencies should not fetch services when tenant ID is not available",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should not fetch services when tenant ID is not available"
},
{
"ancestorTitles": ["ServicePage", "Query Dependencies"],
"duration": 6,
"failureDetails": [],
"failureMessages": [],
"fullName": "ServicePage Query Dependencies should fetch services when tenant is available",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should fetch services when tenant is available"
},
{
"ancestorTitles": ["ServicePage", "User Role Integration"],
"duration": 1,
"failureDetails": [],
"failureMessages": [],
"fullName": "ServicePage User Role Integration should pass correct parameters to useTenantRole hook",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should pass correct parameters to useTenantRole hook"
},
{
"ancestorTitles": ["ServicePage", "User Role Integration"],
"duration": 2,
"failureDetails": [],
"failureMessages": [],
"fullName": "ServicePage User Role Integration should handle missing user ID",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should handle missing user ID"
},
{
"ancestorTitles": ["ServicePage", "Loading States"],
"duration": 2,
"failureDetails": [],
"failureMessages": [],
"fullName": "ServicePage Loading States should show loading when session is loading",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should show loading when session is loading"
},
{
"ancestorTitles": ["ServicePage", "Loading States"],
"duration": 2,
"failureDetails": [],
"failureMessages": [],
"fullName": "ServicePage Loading States should show loading when tenant is loading",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should show loading when tenant is loading"
},
{
"ancestorTitles": ["ServicePage", "Loading States"],
"duration": 1,
"failureDetails": [],
"failureMessages": [],
"fullName": "ServicePage Loading States should show loading when services are loading",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should show loading when services are loading"
},
{
"ancestorTitles": ["ServicePage", "Loading States"],
"duration": 9,
"failureDetails": [],
"failureMessages": [],
"fullName": "ServicePage Loading States should not show loading when all data is loaded",
"invocations": 1,
"location": null,
"numPassingAsserts": 2,
"retryReasons": [],
"status": "passed",
"title": "should not show loading when all data is loaded"
}
],
"endTime": 1749528570465,
"message": "",
"name": "/Users/schwanndenkuo/Documents/personal/chabod/tests/ui/pages/tenant/ServicePage.test.tsx",
"startTime": 1749528569687,
"status": "passed",
"summary": ""
},
{
"assertionResults": [
{
"ancestorTitles": ["MembersPage", "Authentication and Navigation"],
"duration": 14,
"failureDetails": [],
"failureMessages": [],
"fullName": "MembersPage Authentication and Navigation should redirect to auth page when user is not authenticated",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should redirect to auth page when user is not authenticated"
},
{
"ancestorTitles": ["MembersPage", "Authentication and Navigation"],
"duration": 3,
"failureDetails": [],
"failureMessages": [],
"fullName": "MembersPage Authentication and Navigation should not redirect when session is loading",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should not redirect when session is loading"
},
{
"ancestorTitles": ["MembersPage", "Authentication and Navigation"],
"duration": 14,
"failureDetails": [],
"failureMessages": [],
"fullName": "MembersPage Authentication and Navigation should not redirect when user is authenticated",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should not redirect when user is authenticated"
},
{
"ancestorTitles": ["MembersPage", "Authentication and Navigation"],
"duration": 8,
"failureDetails": [],
"failureMessages": [],
"fullName": "MembersPage Authentication and Navigation should redirect to tenant page when current user is not a member",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should redirect to tenant page when current user is not a member"
},
{
"ancestorTitles": ["MembersPage", "Authentication and Navigation"],
"duration": 4,
"failureDetails": [],
"failureMessages": [],
"fullName": "MembersPage Authentication and Navigation should redirect to not-found when tenant does not exist",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should redirect to not-found when tenant does not exist"
},
{
"ancestorTitles": ["MembersPage", "Rendering"],
"duration": 6,
"failureDetails": [],
"failureMessages": [],
"fullName": "MembersPage Rendering should show loading state while session is loading",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should show loading state while session is loading"
},
{
"ancestorTitles": ["MembersPage", "Rendering"],
"duration": 1,
"failureDetails": [],
"failureMessages": [],
"fullName": "MembersPage Rendering should show loading state while data is loading",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should show loading state while data is loading"
},
{
"ancestorTitles": ["MembersPage", "Rendering"],
"duration": 7,
"failureDetails": [],
"failureMessages": [],
"fullName": "MembersPage Rendering should render the page layout with correct props",
"invocations": 1,
"location": null,
"numPassingAsserts": 6,
"retryReasons": [],
"status": "passed",
"title": "should render the page layout with correct props"
},
{
"ancestorTitles": ["MembersPage", "Rendering"],
"duration": 5,
"failureDetails": [],
"failureMessages": [],
"fullName": "MembersPage Rendering should render member filter bar",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],