-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathExamSession3003232Relaunch1.txt
5009 lines (4098 loc) · 340 KB
/
ExamSession3003232Relaunch1.txt
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
/Library/Java/JavaVirtualMachines/jdk-17.0.5.jdk/Contents/Home/bin/java -ea -Didea.test.cyclic.buffer.size=1048576 -javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=49231:/Applications/IntelliJ IDEA.app/Contents/bin -Dfile.encoding=UTF-8 -classpath /Users/louandria/.m2/repository/org/junit/platform/junit-platform-launcher/1.9.0/junit-platform-launcher-1.9.0.jar:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/junit/lib/junit5-rt.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/junit/lib/junit-rt.jar:/Users/louandria/src/prog3-git-corrector/target/test-classes:/Users/louandria/src/prog3-git-corrector/target/classes:/Users/louandria/.m2/repository/org/kohsuke/github-api/1.314/github-api-1.314.jar:/Users/louandria/.m2/repository/org/apache/commons/commons-lang3/3.9/commons-lang3-3.9.jar:/Users/louandria/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.14.0/jackson-databind-2.14.0.jar:/Users/louandria/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.14.0/jackson-annotations-2.14.0.jar:/Users/louandria/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.14.0/jackson-core-2.14.0.jar:/Users/louandria/.m2/repository/commons-io/commons-io/2.8.0/commons-io-2.8.0.jar:/Users/louandria/.m2/repository/org/junit/jupiter/junit-jupiter-engine/5.9.0/junit-jupiter-engine-5.9.0.jar:/Users/louandria/.m2/repository/org/junit/platform/junit-platform-engine/1.9.0/junit-platform-engine-1.9.0.jar:/Users/louandria/.m2/repository/org/opentest4j/opentest4j/1.2.0/opentest4j-1.2.0.jar:/Users/louandria/.m2/repository/org/junit/platform/junit-platform-commons/1.9.0/junit-platform-commons-1.9.0.jar:/Users/louandria/.m2/repository/org/junit/jupiter/junit-jupiter-api/5.9.0/junit-jupiter-api-5.9.0.jar:/Users/louandria/.m2/repository/org/apiguardian/apiguardian-api/1.1.2/apiguardian-api-1.1.2.jar:/Users/louandria/.m2/repository/org/eclipse/jgit/org.eclipse.jgit/6.4.0.202211300538-r/org.eclipse.jgit-6.4.0.202211300538-r.jar:/Users/louandria/.m2/repository/com/googlecode/javaewah/JavaEWAH/1.1.13/JavaEWAH-1.1.13.jar:/Users/louandria/.m2/repository/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar com.intellij.rt.junit.JUnitStarter -ideVersion5 -junit5 school.hei.corrector.session3003232.Corrector_All_Test,canCorrect_all
[Chargement des réponses...] Nom du fichier : /answers_30-03-23_2.csv
[... Chargement des réponses] Nombre de réponses chargées : 61
[Correction d'un étudiant...] Réf étudiante : STD21044
Théorie : 4 points / 7 points
[Q4...] Analyse de la PR https://github.com/hei-school/hei-admin-ui/pull/278
PR lisible car pas trop de lignes (<100) : 2 points
[...Q4] 2 / 2 points.
[Q5...] Vérification de 07d5719 dans dev
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
... clonage réussi dans : /tmp/ExamSession-STD21044-500095569
Vérification du commit : 07d5719
... clonage réussi dans : /tmp/ExamSession-STD21044-312135226
Les tests cassés sont exécutés
> test
> cypress run-ct
ℹ 「wds」: Project is running at http://localhost:49273/webpack-dev-server/
ℹ 「wds」: webpack output is served from /__cypress/src
ℹ 「wds」: Content not from webpack is served from /private/tmp/ExamSession-STD21044-312135226
====================================================================================================
(Run Starting)
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Cypress: 9.5.4 │
│ Browser: Electron 94 (headless) │
│ Node Version: v17.9.1 (/Users/louandria/.nvm/versions/node/v17.9.1/bin/node) │
│ Specs: 1 found (__tests__/Student.cy.js) │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
────────────────────────────────────────────────────────────────────────────────────────────────────
Running: __tests__/Student.cy.js (1 of 1)
ℹ 「wdm」: wait until bundle finished: /__cypress/src/index.html
ℹ 「wdm」: Compiled with warnings.
[cypress-sonarqube-reporter] report saved to '/private/tmp/ExamSession-STD21044-312135226/dist/src/__tests__/Student.cy.js.xml'
(Results)
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Tests: 3 │
│ Passing: 0 │
│ Failing: 1 │
│ Pending: 0 │
│ Skipped: 2 │
│ Screenshots: 4 │
│ Video: false │
│ Duration: 6 seconds │
│ Spec Ran: __tests__/Student.cy.js │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
(Screenshots)
- /private/tmp/ExamSession-STD21044-312135226/cypress/screenshots/__tests__/Studen (1280x720)
t.cy.js/Student [@spec {name__tests__Student.cy.js,relativesrc__tests__Student.c
y.js,absoluteprivatetmpExamSession-STD21044-312135226src__tests__Student.cy.js}]
-- lands on profile page if succeeds (failed).png
- /private/tmp/ExamSession-STD21044-312135226/cypress/screenshots/__tests__/Studen (1280x720)
t.cy.js/Student [@spec {name__tests__Student.cy.js,relativesrc__tests__Student.c
y.js,absoluteprivatetmpExamSession-STD21044-312135226src__tests__Student.cy.js}]
-- lands on profile page if succeeds (failed) (attempt 2).png
- /private/tmp/ExamSession-STD21044-312135226/cypress/screenshots/__tests__/Studen (1280x720)
t.cy.js/Student [@spec {name__tests__Student.cy.js,relativesrc__tests__Student.c
y.js,absoluteprivatetmpExamSession-STD21044-312135226src__tests__Student.cy.js}]
-- lands on profile page if succeeds (failed) (attempt 3).png
- /private/tmp/ExamSession-STD21044-312135226/cypress/screenshots/__tests__/Studen (1280x720)
t.cy.js/Student [@spec {name__tests__Student.cy.js,relativesrc__tests__Student.c
y.js,absoluteprivatetmpExamSession-STD21044-312135226src__tests__Student.cy.js}]
-- lands on profile page if succeeds -- before each hook (failed) (attempt 4).p
ng
[cypress-sonarqube-reporter] merging all sonarqube reports from /private/tmp/ExamSession-STD21044-312135226/dist...
[cypress-sonarqube-reporter] found 1 report(s) to merge
[cypress-sonarqube-reporter] loading report /private/tmp/ExamSession-STD21044-312135226/dist/src/__tests__/Student.cy.js.xml...
[cypress-sonarqube-reporter] sonarqube reports successfully merged into '/private/tmp/ExamSession-STD21044-312135226/dist/test-reports.xml'
====================================================================================================
(Run Finished)
Spec Tests Passing Failing Pending Skipped
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ ✖ __tests__/Student.cy.js 00:06 3 - 1 - 2 │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
✖ 1 of 1 failed (100%) 00:06 3 - 1 - 2
Error(s):
[@cypress/webpack-dev-server]: removing HtmlWebpackPlugin from configuration.
Opening `/dev/tty` failed (6): Device not configured
tput: No value for $TERM and no -T specified
⚠ 「wdm」: Hash: 18bc456f3d1f27e9c009
Version: webpack 4.44.2
Time: 40779ms
Built at: 04/06/2023 6:10:31 PM
Asset Size Chunks Chunk Names
asset-manifest.json 781 bytes [emitted]
index.html 409 bytes [emitted]
runtime-main.js 36.4 KiB runtime-main [emitted] runtime-main
runtime-main.js.map 37.7 KiB runtime-main [emitted] [dev] runtime-main
static/js/0.chunk.js 29.8 KiB 0 [emitted]
static/js/0.chunk.js.map 28 KiB 0 [emitted] [dev]
static/js/1.chunk.js 1.55 KiB 1 [emitted]
static/js/1.chunk.js.map 126 bytes 1 [emitted] [dev]
static/js/main.chunk.js 3.33 KiB main [emitted] main
static/js/main.chunk.js.map 2.09 KiB main [emitted] [dev] main
static/js/spec-0.chunk.js 966 KiB spec-0 [emitted] spec-0
static/js/spec-0.chunk.js.map 280 KiB spec-0 [emitted] [dev] spec-0
static/js/vendors~spec-0.chunk.js 47.7 MiB vendors~spec-0 [emitted] vendors~spec-0
static/js/vendors~spec-0.chunk.js.map 26.6 MiB vendors~spec-0 [emitted] [dev] vendors~spec-0
Entrypoint main = runtime-main.js runtime-main.js.map static/js/main.chunk.js static/js/main.chunk.js.map
[./cypress/support/index.js] 792 bytes {1} [built]
[./node_modules/@cypress/code-coverage/support-utils.js] 4.67 KiB {0} [built]
[./node_modules/@cypress/code-coverage/support.js] 7.06 KiB {0} [built]
[./node_modules/@cypress/mount-utils/dist/index.js] 4.07 KiB {vendors~spec-0} [built]
[./node_modules/@cypress/react/dist/cypress-react.esm-bundler.js] 11.7 KiB {vendors~spec-0} [built]
[./node_modules/@cypress/webpack-dev-server/dist/aut-runner.js] 469 bytes {main} [built]
[./node_modules/@cypress/webpack-dev-server/dist/browser.js] 87 bytes {main} [built]
[./node_modules/@cypress/webpack-dev-server/dist/loader.js!./node_modules/@cypress/webpack-dev-server/dist/browser.js] 864 bytes {main} [not cacheable] [built]
[./node_modules/@react-admin/ra-enterprise/esm/src/index.js] 108 bytes {vendors~spec-0} [built]
[./node_modules/cypress-sonarqube-reporter/specTitle.js] 44 bytes {vendors~spec-0} [built]
[./node_modules/react/jsx-dev-runtime.js] 221 bytes {vendors~spec-0} [built]
[./src/App.js] 8.57 KiB {spec-0} [built]
[./src/__tests__/Student.cy.js] 2.31 KiB {spec-0} [built]
[./src/__tests__/credentials.js] 373 bytes {spec-0} [built]
[./src/__tests__/mocks/responses/index.js] 151 bytes {spec-0} [built]
+ 15070 hidden modules
WARNING in
src/__tests__/mocks/responses/payment-api.ts
Line 26:39: Expected '===' and instead saw '==' eqeqeq
src/operations/fees/ByStatusFeeList.js
Line 1:37: 'DateField' is defined but never used no-unused-vars
src/operations/profile/ProfileEdit.js
Line 17:50: Unnecessary escape character: \Z no-useless-escape
src/providers/authProvider.ts
Line 2:10: 'useNotify' is defined but never used @typescript-eslint/no-unused-vars
src/security/ConfirmForgotPassword.js
Line 3:22: 'FormControl' is defined but never used no-unused-vars
Line 3:35: 'TextField' is defined but never used no-unused-vars
src/security/ForgotPassword.js
Line 27:50: Expected '===' and instead saw '==' eqeqeq
Child HtmlWebpackCompiler:
Asset Size Chunks Chunk Names
__child-HtmlWebpackPlugin_0 4.76 KiB HtmlWebpackPlugin_0 HtmlWebpackPlugin_0
Entrypoint HtmlWebpackPlugin_0 = __child-HtmlWebpackPlugin_0
[./node_modules/html-webpack-plugin/lib/loader.js!./node_modules/@cypress/webpack-dev-server/index-template.html] 554 bytes {HtmlWebpackPlugin_0} [built]
Opening `/dev/tty` failed (6): Device not configured
tput: No value for $TERM and no -T specified
[...Q5] 3 points / 3 points
[... Correction d'un étudiant] Réf étudiante : STD21044, points obtenus : 9 points / 11 points
[Correction d'un étudiant...] Réf étudiante : STD21088
Théorie : 0 points / 7 points
[Q4...] Analyse de la PR https://github.com/hei-school/hei-admin-ui/pull/267
PR lisible car pas trop de lignes (<100) : 2 points
[...Q4] 2 / 2 points.
[Q5...] Vérification de null dans dev
... clonage réussi dans : /tmp/ExamSession-STD21088-551019969
Vérification du commit : null
... clonage réussi dans : /tmp/ExamSession-STD21088-51876035
[...Q5] org.eclipse.jgit.api.errors.InvalidRefNameException: Branch name <null> is not allowed
[... Correction d'un étudiant] Réf étudiante : STD21088, points obtenus : 2 points / 11 points
[Correction d'un étudiant...] Réf étudiante : STD21001
Théorie : 0 points / 7 points
[Q4...] Analyse de la PR https://github.com/hei-school/hei-admin-ui/pull/285
PR lisible car pas trop de lignes (<100) : 2 points
[...Q4] 2 / 2 points.
[Q5...] Vérification de null dans feat/web2HeiAdmin
... clonage réussi dans : /tmp/ExamSession-STD21001-128898709
Vérification du commit : null
... clonage réussi dans : /tmp/ExamSession-STD21001-257015840
[...Q5] org.eclipse.jgit.api.errors.InvalidRefNameException: Branch name <null> is not allowed
[... Correction d'un étudiant] Réf étudiante : STD21001, points obtenus : 2 points / 11 points
[Correction d'un étudiant...] Réf étudiante : STD21045
Théorie : 4 points / 7 points
[...Q4] java.net.MalformedURLException: Cannot invoke "String.length()" because "spec" is null
[...Q5] java.net.MalformedURLException: Cannot invoke "String.length()" because "spec" is null
[... Correction d'un étudiant] Réf étudiante : STD21045, points obtenus : 4 points / 11 points
[Correction d'un étudiant...] Réf étudiante : STD21089
Théorie : 2 points / 7 points
[...Q4] java.net.MalformedURLException: Cannot invoke "String.length()" because "spec" is null
[...Q5] java.net.MalformedURLException: Cannot invoke "String.length()" because "spec" is null
[... Correction d'un étudiant] Réf étudiante : STD21089, points obtenus : 2 points / 11 points
[Correction d'un étudiant...] Réf étudiante : STD21042
Théorie : 3 points / 7 points
[Q4...] Analyse de la PR https://github.com/hei-school/hei-admin-ui/pull/293
PR lisible car pas trop de lignes (<100) : 2 points
[...Q4] 2 / 2 points.
[Q5...] Vérification de aee1dd6 dans dev
... clonage réussi dans : /tmp/ExamSession-STD21042-78731727
Vérification du commit : aee1dd6
... clonage réussi dans : /tmp/ExamSession-STD21042-602139978
[...Q4] java.net.MalformedURLException
[...Q5] java.net.MalformedURLException
[...Q4] java.net.MalformedURLException
[...Q5] java.net.MalformedURLException
Les tests cassés sont exécutés
> test
> cypress run-ct
ℹ 「wds」: Project is running at http://localhost:49351/webpack-dev-server/
ℹ 「wds」: webpack output is served from /__cypress/src
ℹ 「wds」: Content not from webpack is served from /private/tmp/ExamSession-STD21042-602139978
====================================================================================================
(Run Starting)
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Cypress: 9.5.4 │
│ Browser: Electron 94 (headless) │
│ Node Version: v17.9.1 (/Users/louandria/.nvm/versions/node/v17.9.1/bin/node) │
│ Specs: 1 found (__tests__/Student.cy.js) │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
────────────────────────────────────────────────────────────────────────────────────────────────────
Running: __tests__/Student.cy.js (1 of 1)
ℹ 「wdm」: wait until bundle finished: /__cypress/src/index.html
ℹ 「wdm」: Compiled with warnings.
[cypress-sonarqube-reporter] report saved to '/private/tmp/ExamSession-STD21042-602139978/dist/src/__tests__/Student.cy.js.xml'
(Results)
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Tests: 3 │
│ Passing: 0 │
│ Failing: 1 │
│ Pending: 0 │
│ Skipped: 2 │
│ Screenshots: 4 │
│ Video: false │
│ Duration: 5 seconds │
│ Spec Ran: __tests__/Student.cy.js │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
(Screenshots)
- /private/tmp/ExamSession-STD21042-602139978/cypress/screenshots/__tests__/Studen (1280x720)
t.cy.js/Student [@spec {name__tests__Student.cy.js,relativesrc__tests__Student.c
y.js,absoluteprivatetmpExamSession-STD21042-602139978src__tests__Student.cy.js}]
-- lands on profile page if succeeds (failed).png
- /private/tmp/ExamSession-STD21042-602139978/cypress/screenshots/__tests__/Studen (1280x720)
t.cy.js/Student [@spec {name__tests__Student.cy.js,relativesrc__tests__Student.c
y.js,absoluteprivatetmpExamSession-STD21042-602139978src__tests__Student.cy.js}]
-- lands on profile page if succeeds (failed) (attempt 2).png
- /private/tmp/ExamSession-STD21042-602139978/cypress/screenshots/__tests__/Studen (1280x720)
t.cy.js/Student [@spec {name__tests__Student.cy.js,relativesrc__tests__Student.c
y.js,absoluteprivatetmpExamSession-STD21042-602139978src__tests__Student.cy.js}]
-- lands on profile page if succeeds (failed) (attempt 3).png
- /private/tmp/ExamSession-STD21042-602139978/cypress/screenshots/__tests__/Studen (1280x720)
t.cy.js/Student [@spec {name__tests__Student.cy.js,relativesrc__tests__Student.c
y.js,absoluteprivatetmpExamSession-STD21042-602139978src__tests__Student.cy.js}]
-- lands on profile page if succeeds -- before each hook (failed) (attempt 4).p
ng
[cypress-sonarqube-reporter] merging all sonarqube reports from /private/tmp/ExamSession-STD21042-602139978/dist...
[cypress-sonarqube-reporter] found 1 report(s) to merge
[cypress-sonarqube-reporter] loading report /private/tmp/ExamSession-STD21042-602139978/dist/src/__tests__/Student.cy.js.xml...
[cypress-sonarqube-reporter] sonarqube reports successfully merged into '/private/tmp/ExamSession-STD21042-602139978/dist/test-reports.xml'
====================================================================================================
(Run Finished)
Spec Tests Passing Failing Pending Skipped
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ ✖ __tests__/Student.cy.js 00:05 3 - 1 - 2 │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
✖ 1 of 1 failed (100%) 00:05 3 - 1 - 2
Error(s):
[@cypress/webpack-dev-server]: removing HtmlWebpackPlugin from configuration.
Opening `/dev/tty` failed (6): Device not configured
tput: No value for $TERM and no -T specified
⚠ 「wdm」: Hash: 6febe06a6b9a9b1c56cd
Version: webpack 4.44.2
Time: 41048ms
Built at: 04/06/2023 6:14:21 PM
Asset Size Chunks Chunk Names
asset-manifest.json 781 bytes [emitted]
index.html 409 bytes [emitted]
runtime-main.js 36.4 KiB runtime-main [emitted] runtime-main
runtime-main.js.map 37.7 KiB runtime-main [emitted] [dev] runtime-main
static/js/0.chunk.js 29.8 KiB 0 [emitted]
static/js/0.chunk.js.map 28 KiB 0 [emitted] [dev]
static/js/1.chunk.js 1.55 KiB 1 [emitted]
static/js/1.chunk.js.map 126 bytes 1 [emitted] [dev]
static/js/main.chunk.js 3.33 KiB main [emitted] main
static/js/main.chunk.js.map 2.09 KiB main [emitted] [dev] main
static/js/spec-0.chunk.js 964 KiB spec-0 [emitted] spec-0
static/js/spec-0.chunk.js.map 280 KiB spec-0 [emitted] [dev] spec-0
static/js/vendors~spec-0.chunk.js 47.7 MiB vendors~spec-0 [emitted] vendors~spec-0
static/js/vendors~spec-0.chunk.js.map 26.6 MiB vendors~spec-0 [emitted] [dev] vendors~spec-0
Entrypoint main = runtime-main.js runtime-main.js.map static/js/main.chunk.js static/js/main.chunk.js.map
[./cypress/support/index.js] 791 bytes {1} [built]
[./node_modules/@cypress/code-coverage/support-utils.js] 4.67 KiB {0} [built]
[./node_modules/@cypress/code-coverage/support.js] 7.06 KiB {0} [built]
[./node_modules/@cypress/mount-utils/dist/index.js] 4.07 KiB {vendors~spec-0} [built]
[./node_modules/@cypress/react/dist/cypress-react.esm-bundler.js] 11.7 KiB {vendors~spec-0} [built]
[./node_modules/@cypress/webpack-dev-server/dist/aut-runner.js] 469 bytes {main} [built]
[./node_modules/@cypress/webpack-dev-server/dist/browser.js] 87 bytes {main} [built]
[./node_modules/@cypress/webpack-dev-server/dist/loader.js!./node_modules/@cypress/webpack-dev-server/dist/browser.js] 864 bytes {main} [not cacheable] [built]
[./node_modules/@react-admin/ra-enterprise/esm/src/index.js] 108 bytes {vendors~spec-0} [built]
[./node_modules/cypress-sonarqube-reporter/specTitle.js] 44 bytes {vendors~spec-0} [built]
[./node_modules/react/jsx-dev-runtime.js] 221 bytes {vendors~spec-0} [built]
[./src/App.js] 8.55 KiB {spec-0} [built]
[./src/__tests__/Student.cy.js] 2.31 KiB {spec-0} [built]
[./src/__tests__/credentials.js] 373 bytes {spec-0} [built]
[./src/__tests__/mocks/responses/index.js] 151 bytes {spec-0} [built]
+ 15070 hidden modules
WARNING in
src/__tests__/mocks/responses/payment-api.ts
Line 26:39: Expected '===' and instead saw '==' eqeqeq
src/operations/fees/ByStatusFeeList.js
Line 1:37: 'DateField' is defined but never used no-unused-vars
src/operations/profile/ProfileEdit.js
Line 17:50: Unnecessary escape character: \Z no-useless-escape
src/providers/authProvider.ts
Line 2:10: 'useNotify' is defined but never used @typescript-eslint/no-unused-vars
src/security/ConfirmForgotPassword.js
Line 3:22: 'FormControl' is defined but never used no-unused-vars
Line 3:35: 'TextField' is defined but never used no-unused-vars
src/security/ForgotPassword.js
Line 27:50: Expected '===' and instead saw '==' eqeqeq
Child HtmlWebpackCompiler:
Asset Size Chunks Chunk Names
__child-HtmlWebpackPlugin_0 4.76 KiB HtmlWebpackPlugin_0 HtmlWebpackPlugin_0
Entrypoint HtmlWebpackPlugin_0 = __child-HtmlWebpackPlugin_0
[./node_modules/html-webpack-plugin/lib/loader.js!./node_modules/@cypress/webpack-dev-server/index-template.html] 554 bytes {HtmlWebpackPlugin_0} [built]
Opening `/dev/tty` failed (6): Device not configured
tput: No value for $TERM and no -T specified
[...Q5] 3 points / 3 points
[... Correction d'un étudiant] Réf étudiante : STD21042, points obtenus : 8 points / 11 points
[Correction d'un étudiant...] Réf étudiante : STD21087
Théorie : 2 points / 7 points
[... Correction d'un étudiant] Réf étudiante : STD21087, points obtenus : 2 points / 11 points
[Correction d'un étudiant...] Réf étudiante : STD21084
Théorie : 0 points / 7 points
[... Correction d'un étudiant] Réf étudiante : STD21084, points obtenus : 0 points / 11 points
[Correction d'un étudiant...] Réf étudiante : STD21041
Théorie : 4 points / 7 points
[Q4...] Analyse de la PR https://github.com/hei-school/hei-admin-ui/pull/299
PR lisible car pas trop de lignes (<100) : 2 points
[...Q4] 2 / 2 points.
[Q5...] Vérification de 2fc165a dans feat/web2+
... clonage réussi dans : /tmp/ExamSession-STD21041-86798544
Vérification du commit : 2fc165a
... clonage réussi dans : /tmp/ExamSession-STD21041-159388649
Les tests cassés sont exécutés
> test
> cypress run-ct
ℹ 「wds」: Project is running at http://localhost:49419/webpack-dev-server/
ℹ 「wds」: webpack output is served from /__cypress/src
ℹ 「wds」: Content not from webpack is served from /private/tmp/ExamSession-STD21041-159388649
====================================================================================================
(Run Starting)
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Cypress: 9.5.4 │
│ Browser: Electron 94 (headless) │
│ Node Version: v17.9.1 (/Users/louandria/.nvm/versions/node/v17.9.1/bin/node) │
│ Specs: 1 found (__tests__/Student.cy.js) │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
────────────────────────────────────────────────────────────────────────────────────────────────────
Running: __tests__/Student.cy.js (1 of 1)
ℹ 「wdm」: wait until bundle finished: /__cypress/src/index.html
ℹ 「wdm」: Compiled with warnings.
[cypress-sonarqube-reporter] report saved to '/private/tmp/ExamSession-STD21041-159388649/dist/src/__tests__/Student.cy.js.xml'
(Results)
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Tests: 1 │
│ Passing: 0 │
│ Failing: 1 │
│ Pending: 0 │
│ Skipped: 0 │
│ Screenshots: 4 │
│ Video: false │
│ Duration: 6 seconds │
│ Spec Ran: __tests__/Student.cy.js │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
(Screenshots)
- /private/tmp/ExamSession-STD21041-159388649/cypress/screenshots/__tests__/Studen (1280x720)
t.cy.js/Student [@spec {name__tests__Student.cy.js,relativesrc__tests__Student.c
y.js,absoluteprivatetmpExamSession-STD21041-159388649src__tests__Student.cy.js}]
-- crach with status fee PARTIALLY_PAID (failed).png
- /private/tmp/ExamSession-STD21041-159388649/cypress/screenshots/__tests__/Studen (1280x720)
t.cy.js/Student [@spec {name__tests__Student.cy.js,relativesrc__tests__Student.c
y.js,absoluteprivatetmpExamSession-STD21041-159388649src__tests__Student.cy.js}]
-- crach with status fee PARTIALLY_PAID (failed) (attempt 2).png
- /private/tmp/ExamSession-STD21041-159388649/cypress/screenshots/__tests__/Studen (1280x720)
t.cy.js/Student [@spec {name__tests__Student.cy.js,relativesrc__tests__Student.c
y.js,absoluteprivatetmpExamSession-STD21041-159388649src__tests__Student.cy.js}]
-- crach with status fee PARTIALLY_PAID (failed) (attempt 3).png
- /private/tmp/ExamSession-STD21041-159388649/cypress/screenshots/__tests__/Studen (1280x720)
t.cy.js/Student [@spec {name__tests__Student.cy.js,relativesrc__tests__Student.c
y.js,absoluteprivatetmpExamSession-STD21041-159388649src__tests__Student.cy.js}]
-- crach with status fee PARTIALLY_PAID -- before each hook (failed) (attempt 4
).png
[cypress-sonarqube-reporter] merging all sonarqube reports from /private/tmp/ExamSession-STD21041-159388649/dist...
[cypress-sonarqube-reporter] found 1 report(s) to merge
[cypress-sonarqube-reporter] loading report /private/tmp/ExamSession-STD21041-159388649/dist/src/__tests__/Student.cy.js.xml...
[cypress-sonarqube-reporter] sonarqube reports successfully merged into '/private/tmp/ExamSession-STD21041-159388649/dist/test-reports.xml'
====================================================================================================
(Run Finished)
Spec Tests Passing Failing Pending Skipped
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ ✖ __tests__/Student.cy.js 00:06 1 - 1 - - │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
✖ 1 of 1 failed (100%) 00:06 1 - 1 - -
Error(s):
[@cypress/webpack-dev-server]: removing HtmlWebpackPlugin from configuration.
Opening `/dev/tty` failed (6): Device not configured
tput: No value for $TERM and no -T specified
⚠ 「wdm」: Hash: 584ffa1da8a1a5333c1c
Version: webpack 4.44.2
Time: 40816ms
Built at: 04/06/2023 6:17:56 PM
Asset Size Chunks Chunk Names
asset-manifest.json 781 bytes [emitted]
index.html 409 bytes [emitted]
runtime-main.js 36.4 KiB runtime-main [emitted] runtime-main
runtime-main.js.map 37.7 KiB runtime-main [emitted] [dev] runtime-main
static/js/0.chunk.js 29.8 KiB 0 [emitted]
static/js/0.chunk.js.map 28 KiB 0 [emitted] [dev]
static/js/1.chunk.js 1.55 KiB 1 [emitted]
static/js/1.chunk.js.map 126 bytes 1 [emitted] [dev]
static/js/main.chunk.js 3.33 KiB main [emitted] main
static/js/main.chunk.js.map 2.09 KiB main [emitted] [dev] main
static/js/spec-0.chunk.js 966 KiB spec-0 [emitted] spec-0
static/js/spec-0.chunk.js.map 281 KiB spec-0 [emitted] [dev] spec-0
static/js/vendors~spec-0.chunk.js 47.7 MiB vendors~spec-0 [emitted] vendors~spec-0
static/js/vendors~spec-0.chunk.js.map 26.6 MiB vendors~spec-0 [emitted] [dev] vendors~spec-0
Entrypoint main = runtime-main.js runtime-main.js.map static/js/main.chunk.js static/js/main.chunk.js.map
[./cypress/support/index.js] 791 bytes {1} [built]
[./node_modules/@cypress/code-coverage/support-utils.js] 4.67 KiB {0} [built]
[./node_modules/@cypress/code-coverage/support.js] 7.06 KiB {0} [built]
[./node_modules/@cypress/mount-utils/dist/index.js] 4.07 KiB {vendors~spec-0} [built]
[./node_modules/@cypress/react/dist/cypress-react.esm-bundler.js] 11.7 KiB {vendors~spec-0} [built]
[./node_modules/@cypress/webpack-dev-server/dist/aut-runner.js] 469 bytes {main} [built]
[./node_modules/@cypress/webpack-dev-server/dist/browser.js] 87 bytes {main} [built]
[./node_modules/@cypress/webpack-dev-server/dist/loader.js!./node_modules/@cypress/webpack-dev-server/dist/browser.js] 864 bytes {main} [not cacheable] [built]
[./node_modules/@react-admin/ra-enterprise/esm/src/index.js] 108 bytes {vendors~spec-0} [built]
[./node_modules/cypress-sonarqube-reporter/specTitle.js] 44 bytes {vendors~spec-0} [built]
[./node_modules/react/jsx-dev-runtime.js] 221 bytes {vendors~spec-0} [built]
[./src/App.js] 8.57 KiB {spec-0} [built]
[./src/__tests__/Student.cy.js] 2.73 KiB {spec-0} [built]
[./src/__tests__/credentials.js] 373 bytes {spec-0} [built]
[./src/__tests__/mocks/responses/index.js] 151 bytes {spec-0} [built]
+ 15070 hidden modules
WARNING in
src/__tests__/Student.cy.js
Line 5:80: 'studentNameToBeCheckedMock' is defined but never used no-unused-vars
src/__tests__/mocks/responses/payment-api.ts
Line 26:39: Expected '===' and instead saw '==' eqeqeq
src/operations/fees/ByStatusFeeList.js
Line 1:37: 'DateField' is defined but never used no-unused-vars
src/operations/profile/ProfileEdit.js
Line 17:50: Unnecessary escape character: \Z no-useless-escape
src/providers/authProvider.ts
Line 2:10: 'useNotify' is defined but never used @typescript-eslint/no-unused-vars
src/security/ConfirmForgotPassword.js
Line 3:22: 'FormControl' is defined but never used no-unused-vars
Line 3:35: 'TextField' is defined but never used no-unused-vars
src/security/ForgotPassword.js
Line 27:50: Expected '===' and instead saw '==' eqeqeq
Child HtmlWebpackCompiler:
Asset Size Chunks Chunk Names
__child-HtmlWebpackPlugin_0 4.76 KiB HtmlWebpackPlugin_0 HtmlWebpackPlugin_0
Entrypoint HtmlWebpackPlugin_0 = __child-HtmlWebpackPlugin_0
[./node_modules/html-webpack-plugin/lib/loader.js!./node_modules/@cypress/webpack-dev-server/index-template.html] 554 bytes {HtmlWebpackPlugin_0} [built]
Opening `/dev/tty` failed (6): Device not configured
tput: No value for $TERM and no -T specified
[...Q5] 3 points / 3 points
[... Correction d'un étudiant] Réf étudiante : STD21041, points obtenus : 9 points / 11 points
[Correction d'un étudiant...] Réf étudiante : STD21082
Théorie : 2 points / 7 points
[Q4...] Analyse de la PR https://github.com/hei-school/hei-admin-ui/pull/260
[...Q4] java.lang.RuntimeException: Trop de lignes modifiées (>100) : le reviewer aurait rejeté votre PR sans la lire
[Q5...] Vérification de 0783a06 dans fix-formatting
... clonage réussi dans : /tmp/ExamSession-STD21082-205837475
Vérification du commit : 0783a06
... clonage réussi dans : /tmp/ExamSession-STD21082-983697189
> test
> cypress run-ct
ℹ 「wds」: Project is running at http://localhost:49475/webpack-dev-server/
ℹ 「wds」: webpack output is served from /__cypress/src
ℹ 「wds」: Content not from webpack is served from /private/tmp/ExamSession-STD21082-983697189
====================================================================================================
(Run Starting)
[...Q4] java.net.MalformedURLException: no protocol:
[...Q5] java.net.MalformedURLException: no protocol:
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Cypress: 9.5.4 │
│ Browser: Electron 94 (headless) │
│ Node Version: v17.9.1 (/Users/louandria/.nvm/versions/node/v17.9.1/bin/node) │
│ Specs: 1 found (__tests__/Student.cy.js) │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
────────────────────────────────────────────────────────────────────────────────────────────────────
Running: __tests__/Student.cy.js (1 of 1)
ℹ 「wdm」: wait until bundle finished: /__cypress/src/index.html
Dev-server compilation failed. We can not run tests if dev-server can not compile and emit assets, please make sure that all syntax errors resolved before running cypress.
./src/operations/profile/ProfileShow.js 901:35-50
"export 'CustomDateField' was not found in '../utils'
at HarmonyImportSpecifierDependency._getErrors (/private/tmp/ExamSession-STD21082-983697189/node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js:109:11)
at HarmonyImportSpecifierDependency.getErrors (/private/tmp/ExamSession-STD21082-983697189/node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js:68:16)
at Compilation.reportDependencyErrorsAndWarnings (/private/tmp/ExamSession-STD21082-983697189/node_modules/webpack/lib/Compilation.js:1463:22)
at /private/tmp/ExamSession-STD21082-983697189/node_modules/webpack/lib/Compilation.js:1258:10
at AsyncSeriesHook.eval [as callAsync] (eval at create (/private/tmp/ExamSession-STD21082-983697189/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:24:1)
at AsyncSeriesHook.lazyCompileHook (/private/tmp/ExamSession-STD21082-983697189/node_modules/tapable/lib/Hook.js:154:20)
at Compilation.finish (/private/tmp/ExamSession-STD21082-983697189/node_modules/webpack/lib/Compilation.js:1253:28)
at /private/tmp/ExamSession-STD21082-983697189/node_modules/webpack/lib/Compiler.js:672:17
at _done (eval at create (/private/tmp/ExamSession-STD21082-983697189/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:11:1)
at eval (eval at create (/private/tmp/ExamSession-STD21082-983697189/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:34:22)
at /private/tmp/ExamSession-STD21082-983697189/node_modules/react-dev-utils/ModuleNotFoundPlugin.js:114:15
at /private/tmp/ExamSession-STD21082-983697189/node_modules/webpack/lib/Compilation.js:1185:12
at /private/tmp/ExamSession-STD21082-983697189/node_modules/webpack/lib/Compilation.js:1097:9
at processTicksAndRejections (node:internal/process/task_queues:78:11)
@ ./src/operations/profile/index.js
@ ./src/App.js
@ ./src/__tests__/Student.cy.js
@ ./node_modules/@cypress/webpack-dev-server/dist/loader.js!./node_modules/@cypress/webpack-dev-server/dist/browser.js
@ ./node_modules/@cypress/webpack-dev-server/dist/browser.js
Error: Dev-server compilation failed. We can not run tests if dev-server can not compile and emit assets, please make sure that all syntax errors resolved before running cypress.
./src/operations/profile/ProfileShow.js 901:35-50
"export 'CustomDateField' was not found in '../utils'
at HarmonyImportSpecifierDependency._getErrors (/private/tmp/ExamSession-STD21082-983697189/node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js:109:11)
at HarmonyImportSpecifierDependency.getErrors (/private/tmp/ExamSession-STD21082-983697189/node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js:68:16)
at Compilation.reportDependencyErrorsAndWarnings (/private/tmp/ExamSession-STD21082-983697189/node_modules/webpack/lib/Compilation.js:1463:22)
at /private/tmp/ExamSession-STD21082-983697189/node_modules/webpack/lib/Compilation.js:1258:10
at AsyncSeriesHook.eval [as callAsync] (eval at create (/private/tmp/ExamSession-STD21082-983697189/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:24:1)
at AsyncSeriesHook.lazyCompileHook (/private/tmp/ExamSession-STD21082-983697189/node_modules/tapable/lib/Hook.js:154:20)
at Compilation.finish (/private/tmp/ExamSession-STD21082-983697189/node_modules/webpack/lib/Compilation.js:1253:28)
at /private/tmp/ExamSession-STD21082-983697189/node_modules/webpack/lib/Compiler.js:672:17
at _done (eval at create (/private/tmp/ExamSession-STD21082-983697189/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:11:1)
at eval (eval at create (/private/tmp/ExamSession-STD21082-983697189/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:34:22)
at /private/tmp/ExamSession-STD21082-983697189/node_modules/react-dev-utils/ModuleNotFoundPlugin.js:114:15
at /private/tmp/ExamSession-STD21082-983697189/node_modules/webpack/lib/Compilation.js:1185:12
at /private/tmp/ExamSession-STD21082-983697189/node_modules/webpack/lib/Compilation.js:1097:9
at processTicksAndRejections (node:internal/process/task_queues:78:11)
@ ./src/operations/profile/index.js
@ ./src/App.js
@ ./src/__tests__/Student.cy.js
@ ./node_modules/@cypress/webpack-dev-server/dist/loader.js!./node_modules/@cypress/webpack-dev-server/dist/browser.js
@ ./node_modules/@cypress/webpack-dev-server/dist/browser.js
at EventEmitter.<anonymous> (/Users/louandria/Library/Caches/Cypress/9.5.4/Cypress.app/Contents/Resources/app/packages/server/lib/modes/run-ct.js:10:7)
at EventEmitter.emit (node:events:406:35)
at EventEmitter.<anonymous> (/Users/louandria/Library/Caches/Cypress/9.5.4/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/dev-server.js:16:17)
at EventEmitter.emit (node:events:394:28)
at ChildProcess.<anonymous> (/Users/louandria/Library/Caches/Cypress/9.5.4/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/util.js:19:22)
at ChildProcess.emit (node:events:394:28)
at emit (node:internal/child_process:920:12)
at processTicksAndRejections (node:internal/process/task_queues:84:21)
Error(s):
[@cypress/webpack-dev-server]: removing HtmlWebpackPlugin from configuration.
Opening `/dev/tty` failed (6): Device not configured
tput: No value for $TERM and no -T specified
[...Q5] 0 points / 3 points
[... Correction d'un étudiant] Réf étudiante : STD21082, points obtenus : 2 points / 11 points
[Correction d'un étudiant...] Réf étudiante : STD21081
Théorie : 4 points / 7 points
[... Correction d'un étudiant] Réf étudiante : STD21081, points obtenus : 4 points / 11 points
[Correction d'un étudiant...] Réf étudiante : STD21006
Théorie : 2 points / 7 points
[Q4...] Analyse de la PR https://github.com/hei-school/hei-admin-ui/pull/266
[...Q4] java.lang.RuntimeException: Trop de lignes modifiées (>100) : le reviewer aurait rejeté votre PR sans la lire
[Q5...] Vérification de 76a0d1e dans style/feeProviders
... clonage réussi dans : /tmp/ExamSession-STD21006-674528174
Vérification du commit : 76a0d1e
... clonage réussi dans : /tmp/ExamSession-STD21006-234638562
Les tests cassés sont exécutés
> test
> cypress run-ct
ℹ 「wds」: Project is running at http://localhost:49503/webpack-dev-server/
ℹ 「wds」: webpack output is served from /__cypress/src
ℹ 「wds」: Content not from webpack is served from /private/tmp/ExamSession-STD21006-234638562
====================================================================================================
(Run Starting)
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Cypress: 9.5.4 │
│ Browser: Electron 94 (headless) │
│ Node Version: v17.9.1 (/Users/louandria/.nvm/versions/node/v17.9.1/bin/node) │
│ Specs: 1 found (__tests__/Student.cy.js) │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
────────────────────────────────────────────────────────────────────────────────────────────────────
Running: __tests__/Student.cy.js (1 of 1)
ℹ 「wdm」: wait until bundle finished: /__cypress/src/index.html
ℹ 「wdm」: Compiled with warnings.
[cypress-sonarqube-reporter] report saved to '/private/tmp/ExamSession-STD21006-234638562/dist/src/__tests__/Student.cy.js.xml'
(Results)
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Tests: 3 │
│ Passing: 0 │
│ Failing: 1 │
│ Pending: 1 │
│ Skipped: 1 │
│ Screenshots: 4 │
│ Video: false │
│ Duration: 6 seconds │
│ Spec Ran: __tests__/Student.cy.js │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
(Screenshots)
- /private/tmp/ExamSession-STD21006-234638562/cypress/screenshots/__tests__/Studen (1280x720)
t.cy.js/Student [@spec {name__tests__Student.cy.js,relativesrc__tests__Student.c
y.js,absoluteprivatetmpExamSession-STD21006-234638562src__tests__Student.cy.js}]
-- can list fees (failed).png
- /private/tmp/ExamSession-STD21006-234638562/cypress/screenshots/__tests__/Studen (1280x720)
t.cy.js/Student [@spec {name__tests__Student.cy.js,relativesrc__tests__Student.c
y.js,absoluteprivatetmpExamSession-STD21006-234638562src__tests__Student.cy.js}]
-- can list fees (failed) (attempt 2).png
- /private/tmp/ExamSession-STD21006-234638562/cypress/screenshots/__tests__/Studen (1280x720)
t.cy.js/Student [@spec {name__tests__Student.cy.js,relativesrc__tests__Student.c
y.js,absoluteprivatetmpExamSession-STD21006-234638562src__tests__Student.cy.js}]
-- can list fees (failed) (attempt 3).png
- /private/tmp/ExamSession-STD21006-234638562/cypress/screenshots/__tests__/Studen (1280x720)
t.cy.js/Student [@spec {name__tests__Student.cy.js,relativesrc__tests__Student.c
y.js,absoluteprivatetmpExamSession-STD21006-234638562src__tests__Student.cy.js}]
-- can list fees -- before each hook (failed) (attempt 4).png
[cypress-sonarqube-reporter] merging all sonarqube reports from /private/tmp/ExamSession-STD21006-234638562/dist...
[cypress-sonarqube-reporter] found 1 report(s) to merge
[cypress-sonarqube-reporter] loading report /private/tmp/ExamSession-STD21006-234638562/dist/src/__tests__/Student.cy.js.xml...
[cypress-sonarqube-reporter] sonarqube reports successfully merged into '/private/tmp/ExamSession-STD21006-234638562/dist/test-reports.xml'
====================================================================================================
(Run Finished)
Spec Tests Passing Failing Pending Skipped
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ ✖ __tests__/Student.cy.js 00:06 3 - 1 1 1 │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
✖ 1 of 1 failed (100%) 00:06 3 - 1 1 1
Error(s):
[@cypress/webpack-dev-server]: removing HtmlWebpackPlugin from configuration.
Opening `/dev/tty` failed (6): Device not configured
tput: No value for $TERM and no -T specified
⚠ 「wdm」: Hash: 34e8b1fc2f29fe664c4d
Version: webpack 4.44.2
Time: 40697ms
Built at: 04/06/2023 6:20:38 PM
Asset Size Chunks Chunk Names
asset-manifest.json 781 bytes [emitted]
index.html 409 bytes [emitted]
runtime-main.js 36.4 KiB runtime-main [emitted] runtime-main
runtime-main.js.map 37.7 KiB runtime-main [emitted] [dev] runtime-main
static/js/0.chunk.js 29.8 KiB 0 [emitted]
static/js/0.chunk.js.map 28 KiB 0 [emitted] [dev]
static/js/1.chunk.js 1.55 KiB 1 [emitted]
static/js/1.chunk.js.map 126 bytes 1 [emitted] [dev]
static/js/main.chunk.js 3.33 KiB main [emitted] main
static/js/main.chunk.js.map 2.09 KiB main [emitted] [dev] main
static/js/spec-0.chunk.js 963 KiB spec-0 [emitted] spec-0
static/js/spec-0.chunk.js.map 280 KiB spec-0 [emitted] [dev] spec-0
static/js/vendors~spec-0.chunk.js 47.7 MiB vendors~spec-0 [emitted] vendors~spec-0
static/js/vendors~spec-0.chunk.js.map 26.6 MiB vendors~spec-0 [emitted] [dev] vendors~spec-0
Entrypoint main = runtime-main.js runtime-main.js.map static/js/main.chunk.js static/js/main.chunk.js.map
[./cypress/support/index.js] 791 bytes {1} [built]
[./node_modules/@cypress/code-coverage/support-utils.js] 4.67 KiB {0} [built]
[./node_modules/@cypress/code-coverage/support.js] 7.06 KiB {0} [built]
[./node_modules/@cypress/mount-utils/dist/index.js] 4.07 KiB {vendors~spec-0} [built]
[./node_modules/@cypress/react/dist/cypress-react.esm-bundler.js] 11.7 KiB {vendors~spec-0} [built]
[./node_modules/@cypress/webpack-dev-server/dist/aut-runner.js] 469 bytes {main} [built]
[./node_modules/@cypress/webpack-dev-server/dist/browser.js] 87 bytes {main} [built]
[./node_modules/@cypress/webpack-dev-server/dist/loader.js!./node_modules/@cypress/webpack-dev-server/dist/browser.js] 864 bytes {main} [not cacheable] [built]
[./node_modules/@react-admin/ra-enterprise/esm/src/index.js] 108 bytes {vendors~spec-0} [built]
[./node_modules/cypress-sonarqube-reporter/specTitle.js] 44 bytes {vendors~spec-0} [built]
[./node_modules/react/jsx-dev-runtime.js] 221 bytes {vendors~spec-0} [built]
[./src/App.js] 8.57 KiB {spec-0} [built]
[./src/__tests__/Student.cy.js] 2.31 KiB {spec-0} [built]
[./src/__tests__/credentials.js] 373 bytes {spec-0} [built]
[./src/__tests__/mocks/responses/index.js] 151 bytes {spec-0} [built]
+ 15070 hidden modules
WARNING in
src/__tests__/mocks/responses/payment-api.ts
Line 26:39: Expected '===' and instead saw '==' eqeqeq
src/operations/fees/ByStatusFeeList.js
Line 1:37: 'DateField' is defined but never used no-unused-vars
src/providers/authProvider.ts
Line 2:10: 'useNotify' is defined but never used @typescript-eslint/no-unused-vars
src/security/ConfirmForgotPassword.js
Line 3:22: 'FormControl' is defined but never used no-unused-vars
Line 3:35: 'TextField' is defined but never used no-unused-vars
src/security/ForgotPassword.js
Line 27:50: Expected '===' and instead saw '==' eqeqeq
Child HtmlWebpackCompiler:
Asset Size Chunks Chunk Names
__child-HtmlWebpackPlugin_0 4.76 KiB HtmlWebpackPlugin_0 HtmlWebpackPlugin_0
Entrypoint HtmlWebpackPlugin_0 = __child-HtmlWebpackPlugin_0
[./node_modules/html-webpack-plugin/lib/loader.js!./node_modules/@cypress/webpack-dev-server/index-template.html] 554 bytes {HtmlWebpackPlugin_0} [built]
Missing coverage entries in G:\ylan\Hei-Ui\hei-admin-ui\src\operations\payments\PaymentList.js 0
Missing coverage entries in G:\ylan\Hei-Ui\hei-admin-ui\src\operations\profile\ProfileEdit.js 0
Missing coverage entries in G:\ylan\Hei-Ui\hei-admin-ui\src\operations\profile\ProfileEdit.js 1
Missing coverage entries in G:\ylan\hei-admin-ui\src\gen\haClient\api.ts 115
Missing coverage entries in G:\ylan\hei-admin-ui\src\gen\haClient\common.ts 22
Missing coverage entries in G:\ylan\hei-admin-ui\src\gen\haClient\common.ts 23
Missing coverage entries in G:\ylan\hei-admin-ui\src\gen\haClient\common.ts 24
Missing coverage entries in G:\ylan\hei-admin-ui\src\gen\haClient\common.ts 25
Missing coverage entries in G:\ylan\hei-admin-ui\src\gen\haClient\common.ts 26
Missing coverage entries in G:\ylan\hei-admin-ui\src\operations\fees\FeeShow.js 1
Missing coverage entries in G:\ylan\hei-admin-ui\src\providers\studentProvider.ts 1
Opening `/dev/tty` failed (6): Device not configured
tput: No value for $TERM and no -T specified
[...Q5] 3 points / 3 points
[... Correction d'un étudiant] Réf étudiante : STD21006, points obtenus : 5 points / 11 points
[Correction d'un étudiant...] Réf étudiante : STD21007
Théorie : 2 points / 7 points
[Q4...] Analyse de la PR https://github.com/hei-school/hei-admin-ui/pull/279
PR lisible car pas trop de lignes (<100) : 2 points
[...Q4] 2 / 2 points.
[Q5...] Vérification de f29d6f2 dans refactor/test
... clonage réussi dans : /tmp/ExamSession-STD21007-750941858
Vérification du commit : f29d6f2
... clonage réussi dans : /tmp/ExamSession-STD21007-241592499
Les tests cassés sont exécutés
> test
> cypress run-ct
[...Q4] java.net.MalformedURLException: Cannot invoke "String.length()" because "spec" is null
[...Q5] java.net.MalformedURLException: Cannot invoke "String.length()" because "spec" is null
ℹ 「wds」: Project is running at http://localhost:49571/webpack-dev-server/
ℹ 「wds」: webpack output is served from /__cypress/src
ℹ 「wds」: Content not from webpack is served from /private/tmp/ExamSession-STD21007-241592499
====================================================================================================
(Run Starting)
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Cypress: 9.5.4 │
│ Browser: Electron 94 (headless) │
│ Node Version: v17.9.1 (/Users/louandria/.nvm/versions/node/v17.9.1/bin/node) │
│ Specs: 1 found (__tests__/Student.cy.js) │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
────────────────────────────────────────────────────────────────────────────────────────────────────
Running: __tests__/Student.cy.js (1 of 1)
ℹ 「wdm」: wait until bundle finished: /__cypress/src/index.html
ℹ 「wdm」: Compiled with warnings.
[cypress-sonarqube-reporter] report saved to '/private/tmp/ExamSession-STD21007-241592499/dist/src/__tests__/Student.cy.js.xml'
(Results)
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Tests: 1 │
│ Passing: 0 │
│ Failing: 1 │
│ Pending: 0 │
│ Skipped: 0 │
│ Screenshots: 4 │
│ Video: false │
│ Duration: 6 seconds │
│ Spec Ran: __tests__/Student.cy.js │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
(Screenshots)
- /private/tmp/ExamSession-STD21007-241592499/cypress/screenshots/__tests__/Studen (1280x720)
t.cy.js/Student [@spec {name__tests__Student.cy.js,relativesrc__tests__Student.c
y.js,absoluteprivatetmpExamSession-STD21007-241592499src__tests__Student.cy.js}]
-- can list fees (failed).png
- /private/tmp/ExamSession-STD21007-241592499/cypress/screenshots/__tests__/Studen (1280x720)
t.cy.js/Student [@spec {name__tests__Student.cy.js,relativesrc__tests__Student.c
y.js,absoluteprivatetmpExamSession-STD21007-241592499src__tests__Student.cy.js}]
-- can list fees (failed) (attempt 2).png
- /private/tmp/ExamSession-STD21007-241592499/cypress/screenshots/__tests__/Studen (1280x720)
t.cy.js/Student [@spec {name__tests__Student.cy.js,relativesrc__tests__Student.c
y.js,absoluteprivatetmpExamSession-STD21007-241592499src__tests__Student.cy.js}]
-- can list fees (failed) (attempt 3).png
- /private/tmp/ExamSession-STD21007-241592499/cypress/screenshots/__tests__/Studen (1280x720)
t.cy.js/Student [@spec {name__tests__Student.cy.js,relativesrc__tests__Student.c
y.js,absoluteprivatetmpExamSession-STD21007-241592499src__tests__Student.cy.js}]
-- can list fees -- before each hook (failed) (attempt 4).png
[cypress-sonarqube-reporter] merging all sonarqube reports from /private/tmp/ExamSession-STD21007-241592499/dist...
[cypress-sonarqube-reporter] found 1 report(s) to merge
[cypress-sonarqube-reporter] loading report /private/tmp/ExamSession-STD21007-241592499/dist/src/__tests__/Student.cy.js.xml...
[cypress-sonarqube-reporter] sonarqube reports successfully merged into '/private/tmp/ExamSession-STD21007-241592499/dist/test-reports.xml'
====================================================================================================
(Run Finished)
Spec Tests Passing Failing Pending Skipped
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ ✖ __tests__/Student.cy.js 00:06 1 - 1 - - │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
✖ 1 of 1 failed (100%) 00:06 1 - 1 - -
Error(s):
[@cypress/webpack-dev-server]: removing HtmlWebpackPlugin from configuration.
Opening `/dev/tty` failed (6): Device not configured
tput: No value for $TERM and no -T specified
⚠ 「wdm」: Hash: cbaa34043380a3e048c6
Version: webpack 4.44.2
Time: 41213ms
Built at: 04/06/2023 6:26:14 PM
Asset Size Chunks Chunk Names
asset-manifest.json 781 bytes [emitted]
index.html 409 bytes [emitted]
runtime-main.js 36.4 KiB runtime-main [emitted] runtime-main
runtime-main.js.map 37.7 KiB runtime-main [emitted] [dev] runtime-main
static/js/0.chunk.js 29.8 KiB 0 [emitted]
static/js/0.chunk.js.map 28 KiB 0 [emitted] [dev]
static/js/1.chunk.js 1.55 KiB 1 [emitted]
static/js/1.chunk.js.map 126 bytes 1 [emitted] [dev]
static/js/main.chunk.js 3.33 KiB main [emitted] main
static/js/main.chunk.js.map 2.09 KiB main [emitted] [dev] main
static/js/spec-0.chunk.js 966 KiB spec-0 [emitted] spec-0
static/js/spec-0.chunk.js.map 280 KiB spec-0 [emitted] [dev] spec-0
static/js/vendors~spec-0.chunk.js 47.7 MiB vendors~spec-0 [emitted] vendors~spec-0
static/js/vendors~spec-0.chunk.js.map 26.6 MiB vendors~spec-0 [emitted] [dev] vendors~spec-0
Entrypoint main = runtime-main.js runtime-main.js.map static/js/main.chunk.js static/js/main.chunk.js.map
[./cypress/support/index.js] 792 bytes {1} [built]
[./node_modules/@cypress/code-coverage/support-utils.js] 4.67 KiB {0} [built]
[./node_modules/@cypress/code-coverage/support.js] 7.06 KiB {0} [built]
[./node_modules/@cypress/mount-utils/dist/index.js] 4.07 KiB {vendors~spec-0} [built]
[./node_modules/@cypress/react/dist/cypress-react.esm-bundler.js] 11.7 KiB {vendors~spec-0} [built]
[./node_modules/@cypress/webpack-dev-server/dist/aut-runner.js] 469 bytes {main} [built]
[./node_modules/@cypress/webpack-dev-server/dist/browser.js] 87 bytes {main} [built]
[./node_modules/@cypress/webpack-dev-server/dist/loader.js!./node_modules/@cypress/webpack-dev-server/dist/browser.js] 864 bytes {main} [not cacheable] [built]
[./node_modules/@react-admin/ra-enterprise/esm/src/index.js] 108 bytes {vendors~spec-0} [built]
[./node_modules/cypress-sonarqube-reporter/specTitle.js] 44 bytes {vendors~spec-0} [built]
[./node_modules/react/jsx-dev-runtime.js] 221 bytes {vendors~spec-0} [built]
[./src/App.js] 8.57 KiB {spec-0} [built]
[./src/__tests__/Student.cy.js] 2.31 KiB {spec-0} [built]
[./src/__tests__/credentials.js] 373 bytes {spec-0} [built]
[./src/__tests__/mocks/responses/index.js] 151 bytes {spec-0} [built]
+ 15070 hidden modules
WARNING in
src/__tests__/mocks/responses/payment-api.ts
Line 26:39: Expected '===' and instead saw '==' eqeqeq
src/operations/fees/ByStatusFeeList.js
Line 1:37: 'DateField' is defined but never used no-unused-vars
src/operations/profile/ProfileEdit.js
Line 17:50: Unnecessary escape character: \Z no-useless-escape
src/providers/authProvider.ts
Line 2:10: 'useNotify' is defined but never used @typescript-eslint/no-unused-vars
src/security/ConfirmForgotPassword.js
Line 3:22: 'FormControl' is defined but never used no-unused-vars
Line 3:35: 'TextField' is defined but never used no-unused-vars
src/security/ForgotPassword.js
Line 27:50: Expected '===' and instead saw '==' eqeqeq
Child HtmlWebpackCompiler:
Asset Size Chunks Chunk Names
__child-HtmlWebpackPlugin_0 4.76 KiB HtmlWebpackPlugin_0 HtmlWebpackPlugin_0
Entrypoint HtmlWebpackPlugin_0 = __child-HtmlWebpackPlugin_0
[./node_modules/html-webpack-plugin/lib/loader.js!./node_modules/@cypress/webpack-dev-server/index-template.html] 554 bytes {HtmlWebpackPlugin_0} [built]
Opening `/dev/tty` failed (6): Device not configured
tput: No value for $TERM and no -T specified
[...Q5] 3 points / 3 points
[... Correction d'un étudiant] Réf étudiante : STD21007, points obtenus : 7 points / 11 points
[Correction d'un étudiant...] Réf étudiante : STD21048
Théorie : 4 points / 7 points
[... Correction d'un étudiant] Réf étudiante : STD21048, points obtenus : 4 points / 11 points
[Correction d'un étudiant...] Réf étudiante : STD21004
Théorie : 4 points / 7 points
[Q4...] Analyse de la PR https://github.com/hei-school/hei-admin-ui/pull/298
[...Q4] java.lang.RuntimeException: Trop de lignes modifiées (>100) : le reviewer aurait rejeté votre PR sans la lire
[Q5...] Vérification de null dans feat/examen
... clonage réussi dans : /tmp/ExamSession-STD21004-979991516
Vérification du commit : null
... clonage réussi dans : /tmp/ExamSession-STD21004-396950759
[...Q5] org.eclipse.jgit.api.errors.InvalidRefNameException: Branch name <null> is not allowed
[... Correction d'un étudiant] Réf étudiante : STD21004, points obtenus : 4 points / 11 points
[Correction d'un étudiant...] Réf étudiante : STD21005
Théorie : 0 points / 7 points