fcad-core-dragon 2.1.2 → 2.2.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitlab-ci.yml +24 -42
- package/.vscode/settings.json +0 -30
- package/CHANGELOG +9 -0
- package/artifacts/playwright-report/index.html +85 -0
- package/package.json +29 -26
- package/src/components/AppBasePage.vue +3 -8
- package/src/components/AppCompAudio.vue +3 -3
- package/src/components/AppCompInputCheckBoxNx.vue +2 -1
- package/src/components/AppCompInputDropdownNx.vue +5 -5
- package/src/components/AppCompInputRadioNx.vue +2 -1
- package/src/components/AppCompInputTextNx.vue +0 -2
- package/src/components/AppCompInputTextTableNx.vue +4 -4
- package/src/components/AppCompInputTextToFillDropdownNx.vue +4 -6
- package/src/components/AppCompInputTextToFillNx.vue +1 -24
- package/src/components/AppCompPlayBarNext.vue +6 -8
- package/src/components/AppCompQuizRecall.vue +12 -2
- package/src/components/AppCompVideoPlayer.vue +2 -1
- package/src/main.js +18 -5
- package/src/plugins/i18n.js +8 -6
- package/tests/unit/AppCompAudio.spec.js +134 -0
- package/tests/unit/AppCompCarousel.spec.js +54 -0
- package/tests/unit/AppCompNoteCredit.spec.js +58 -0
- package/tests/unit/AppCompQuizNext.spec.js +1 -3
- package/tests/unit/AppCompVideoPlayer.spec.js +92 -100
- package/tests/unit/useQuiz.spec.js +72 -0
- package/vitest.config.js +36 -22
- package/vitest.setup.js +68 -0
- package/junit-report.xml +0 -182
package/junit-report.xml
DELETED
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" ?>
|
|
2
|
-
<testsuites name="vitest tests" tests="46" failures="0" errors="0" time="3.169429509">
|
|
3
|
-
<testsuite name="tests/unit/AppBaseButton.spec.js" timestamp="2025-12-03T20:05:11.487Z" hostname="SRV-Gitlab" tests="5" failures="0" errors="0" skipped="0" time="0.131117392">
|
|
4
|
-
<testcase classname="tests/unit/AppBaseButton.spec.js" name="AppBaseButton.vue > It renders a button" time="0.05882012">
|
|
5
|
-
</testcase>
|
|
6
|
-
<testcase classname="tests/unit/AppBaseButton.spec.js" name="AppBaseButton.vue > Button has the correct type" time="0.015720066">
|
|
7
|
-
</testcase>
|
|
8
|
-
<testcase classname="tests/unit/AppBaseButton.spec.js" name="AppBaseButton.vue > Button render a correct state" time="0.020113937">
|
|
9
|
-
</testcase>
|
|
10
|
-
<testcase classname="tests/unit/AppBaseButton.spec.js" name="AppBaseButton.vue > Renders slot content properly" time="0.02276366">
|
|
11
|
-
</testcase>
|
|
12
|
-
<testcase classname="tests/unit/AppBaseButton.spec.js" name="AppBaseButton.vue > Emit event with value of the the $el when clicked" time="0.01187684">
|
|
13
|
-
</testcase>
|
|
14
|
-
</testsuite>
|
|
15
|
-
<testsuite name="tests/unit/AppCompInputCheckBoxNx.spec.js" timestamp="2025-12-03T20:05:11.489Z" hostname="SRV-Gitlab" tests="3" failures="0" errors="0" skipped="0" time="0.118534334">
|
|
16
|
-
<testcase classname="tests/unit/AppCompInputCheckBoxNx.spec.js" name="AppCompInputRadioNx.vue > renders a list of 6 checkboxes" time="0.075774746">
|
|
17
|
-
</testcase>
|
|
18
|
-
<testcase classname="tests/unit/AppCompInputCheckBoxNx.spec.js" name="AppCompInputRadioNx.vue > initially displays a single selected checkbox (checkbox #6 : cyan)" time="0.021754596">
|
|
19
|
-
</testcase>
|
|
20
|
-
<testcase classname="tests/unit/AppCompInputCheckBoxNx.spec.js" name="AppCompInputRadioNx.vue > emits enable-submit and update:modelValue events on input change" time="0.019506127">
|
|
21
|
-
</testcase>
|
|
22
|
-
</testsuite>
|
|
23
|
-
<testsuite name="tests/unit/AppCompInputDropdownNx.spec.js" timestamp="2025-12-03T20:05:11.490Z" hostname="SRV-Gitlab" tests="4" failures="0" errors="0" skipped="0" time="0.467758792">
|
|
24
|
-
<testcase classname="tests/unit/AppCompInputDropdownNx.spec.js" name="AppCompInputDropdownNx.vue > renders a list of vuetify v-select components" time="0.214814467">
|
|
25
|
-
</testcase>
|
|
26
|
-
<testcase classname="tests/unit/AppCompInputDropdownNx.spec.js" name="AppCompInputDropdownNx.vue > displays the right labels" time="0.084565078">
|
|
27
|
-
</testcase>
|
|
28
|
-
<testcase classname="tests/unit/AppCompInputDropdownNx.spec.js" name="AppCompInputDropdownNx.vue > has the right initial data to display (modelValue prop)" time="0.106591392">
|
|
29
|
-
</testcase>
|
|
30
|
-
<testcase classname="tests/unit/AppCompInputDropdownNx.spec.js" name="AppCompInputDropdownNx.vue > emits enable-submit and update:modelValue events on input change" time="0.06009774">
|
|
31
|
-
</testcase>
|
|
32
|
-
</testsuite>
|
|
33
|
-
<testsuite name="tests/unit/AppCompInputRadioNx.spec.js" timestamp="2025-12-03T20:05:11.491Z" hostname="SRV-Gitlab" tests="3" failures="0" errors="0" skipped="0" time="0.147644103">
|
|
34
|
-
<testcase classname="tests/unit/AppCompInputRadioNx.spec.js" name="AppCompInputRadioNx.vue > renders a list of 6 radio buttons" time="0.083020241">
|
|
35
|
-
</testcase>
|
|
36
|
-
<testcase classname="tests/unit/AppCompInputRadioNx.spec.js" name="AppCompInputRadioNx.vue > has the id A02_P02_Q4" time="0.035284597">
|
|
37
|
-
</testcase>
|
|
38
|
-
<testcase classname="tests/unit/AppCompInputRadioNx.spec.js" name="AppCompInputRadioNx.vue > emits enable-submit and update:modelValue events on input change" time="0.027748826">
|
|
39
|
-
</testcase>
|
|
40
|
-
</testsuite>
|
|
41
|
-
<testsuite name="tests/unit/AppCompInputTextNx.spec.js" timestamp="2025-12-03T20:05:11.492Z" hostname="SRV-Gitlab" tests="5" failures="0" errors="0" skipped="0" time="0.185895362">
|
|
42
|
-
<testcase classname="tests/unit/AppCompInputTextNx.spec.js" name="AppCompInputTextNx.vue > renders a vuetify textarea component" time="0.097669644">
|
|
43
|
-
</testcase>
|
|
44
|
-
<testcase classname="tests/unit/AppCompInputTextNx.spec.js" name="AppCompInputTextNx.vue > contains placeholder text "Écrivez ici."" time="0.026554837">
|
|
45
|
-
</testcase>
|
|
46
|
-
<testcase classname="tests/unit/AppCompInputTextNx.spec.js" name="AppCompInputTextNx.vue > has the id textArea_A02_P02_Q4" time="0.024371271">
|
|
47
|
-
</testcase>
|
|
48
|
-
<testcase classname="tests/unit/AppCompInputTextNx.spec.js" name="AppCompInputTextNx.vue > accepts some input text" time="0.019585788">
|
|
49
|
-
</testcase>
|
|
50
|
-
<testcase classname="tests/unit/AppCompInputTextNx.spec.js" name="AppCompInputTextNx.vue > emits enable-submit and update:modelValue events on input change" time="0.016004427">
|
|
51
|
-
</testcase>
|
|
52
|
-
</testsuite>
|
|
53
|
-
<testsuite name="tests/unit/AppCompInputTextTableNx.spec.js" timestamp="2025-12-03T20:05:11.493Z" hostname="SRV-Gitlab" tests="5" failures="0" errors="0" skipped="0" time="0.614624008">
|
|
54
|
-
<testcase classname="tests/unit/AppCompInputTextTableNx.spec.js" name="AppCompInputTextTableNx.vue > renders a list of vuetify v-text-field" time="0.216719223">
|
|
55
|
-
</testcase>
|
|
56
|
-
<testcase classname="tests/unit/AppCompInputTextTableNx.spec.js" name="AppCompInputTextTableNx.vue > displays a list of labels according to props received" time="0.141385495">
|
|
57
|
-
</testcase>
|
|
58
|
-
<testcase classname="tests/unit/AppCompInputTextTableNx.spec.js" name="AppCompInputTextTableNx.vue > displays the user saved answers" time="0.086800567">
|
|
59
|
-
</testcase>
|
|
60
|
-
<testcase classname="tests/unit/AppCompInputTextTableNx.spec.js" name="AppCompInputTextTableNx.vue > accepts some input text" time="0.084986931">
|
|
61
|
-
</testcase>
|
|
62
|
-
<testcase classname="tests/unit/AppCompInputTextTableNx.spec.js" name="AppCompInputTextTableNx.vue > emits enable-submit and update:modelValue events on input change" time="0.082963249">
|
|
63
|
-
</testcase>
|
|
64
|
-
</testsuite>
|
|
65
|
-
<testsuite name="tests/unit/AppCompInputTextToFillDropdownNx.spec.js" timestamp="2025-12-03T20:05:11.494Z" hostname="SRV-Gitlab" tests="3" failures="0" errors="0" skipped="0" time="0.66867566">
|
|
66
|
-
<testcase classname="tests/unit/AppCompInputTextToFillDropdownNx.spec.js" name="AppCompInputTextToFillDropdownNx.vue > renders a list of vuetify v-select components" time="0.265334782">
|
|
67
|
-
</testcase>
|
|
68
|
-
<testcase classname="tests/unit/AppCompInputTextToFillDropdownNx.spec.js" name="AppCompInputTextToFillDropdownNx.vue > has the right initial data to display (modelValue prop)" time="0.248612194">
|
|
69
|
-
</testcase>
|
|
70
|
-
<testcase classname="tests/unit/AppCompInputTextToFillDropdownNx.spec.js" name="AppCompInputTextToFillDropdownNx.vue > emits enable-submit and update:modelValue events on input change" time="0.153249249">
|
|
71
|
-
</testcase>
|
|
72
|
-
</testsuite>
|
|
73
|
-
<testsuite name="tests/unit/AppCompInputTextToFillNx.spec.js" timestamp="2025-12-03T20:05:11.495Z" hostname="SRV-Gitlab" tests="4" failures="0" errors="0" skipped="0" time="0.542162683">
|
|
74
|
-
<testcase classname="tests/unit/AppCompInputTextToFillNx.spec.js" name="AppCompInputTextToFillNx.vue > renders a paragraph with multiple vuetify v-text-field" time="0.266254499">
|
|
75
|
-
</testcase>
|
|
76
|
-
<testcase classname="tests/unit/AppCompInputTextToFillNx.spec.js" name="AppCompInputTextToFillNx.vue > displays the user saved answers" time="0.105401228">
|
|
77
|
-
</testcase>
|
|
78
|
-
<testcase classname="tests/unit/AppCompInputTextToFillNx.spec.js" name="AppCompInputTextToFillNx.vue > accepts some input text" time="0.093048312">
|
|
79
|
-
</testcase>
|
|
80
|
-
<testcase classname="tests/unit/AppCompInputTextToFillNx.spec.js" name="AppCompInputTextToFillNx.vue > emits enable-submit and update:modelValue events on input change" time="0.07593334">
|
|
81
|
-
</testcase>
|
|
82
|
-
</testsuite>
|
|
83
|
-
<testsuite name="tests/unit/AppCompQuizNext.spec.js" timestamp="2025-12-03T20:05:11.496Z" hostname="SRV-Gitlab" tests="1" failures="0" errors="0" skipped="0" time="0.127558291">
|
|
84
|
-
<testcase classname="tests/unit/AppCompQuizNext.spec.js" name="AppCompQuizNext > rend un input radio si la question est de type choix_unique" time="0.125999081">
|
|
85
|
-
</testcase>
|
|
86
|
-
</testsuite>
|
|
87
|
-
<testsuite name="tests/unit/AppCompVideoPlayer.spec.js" timestamp="2025-12-03T20:05:11.496Z" hostname="SRV-Gitlab" tests="4" failures="0" errors="0" skipped="0" time="0.150221064">
|
|
88
|
-
<testcase classname="tests/unit/AppCompVideoPlayer.spec.js" name="AppCompVideoPlayer > Validate received props" time="0.079283338">
|
|
89
|
-
<system-err>
|
|
90
|
-
[Vue warn]: Failed to resolve component: app-base-error-display
|
|
91
|
-
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
|
|
92
|
-
at <AppCompVideoPlayer vidData= {
|
|
93
|
-
id: [32m'vid1'[39m,
|
|
94
|
-
mSources: [ { type: [32m'mp4'[39m, src: [32m'exemple_video.mp4'[39m } ],
|
|
95
|
-
mSubtitles: [
|
|
96
|
-
{ label: [32m'Français'[39m, src: [32m'exemple_soustitres.vtt'[39m, srclang: [32m'fr'[39m }
|
|
97
|
-
],
|
|
98
|
-
mPoster: [32m'video_poster.jpg'[39m,
|
|
99
|
-
mTranscript: [32m'exemple_transcript.html'[39m
|
|
100
|
-
} ref="VTU_COMPONENT" >
|
|
101
|
-
at <VTUROOT>
|
|
102
|
-
[Vue warn]: Property "$pinia" was accessed during render but is not defined on instance.
|
|
103
|
-
at <AppCompVideoPlayer vidData= {
|
|
104
|
-
id: [32m'vid1'[39m,
|
|
105
|
-
mSources: [ { type: [32m'mp4'[39m, src: [32m'exemple_video.mp4'[39m } ],
|
|
106
|
-
mSubtitles: [
|
|
107
|
-
{ label: [32m'Français'[39m, src: [32m'exemple_soustitres.vtt'[39m, srclang: [32m'fr'[39m }
|
|
108
|
-
],
|
|
109
|
-
mPoster: [32m'video_poster.jpg'[39m,
|
|
110
|
-
mTranscript: [32m'exemple_transcript.html'[39m
|
|
111
|
-
} ref="VTU_COMPONENT" >
|
|
112
|
-
at <VTUROOT>
|
|
113
|
-
|
|
114
|
-
[Vue warn]: Failed to resolve component: app-base-error-display
|
|
115
|
-
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
|
|
116
|
-
at <AppCompVideoPlayer vidData= {
|
|
117
|
-
id: [32m'vid1'[39m,
|
|
118
|
-
mSources: [ { type: [32m'mp4'[39m, src: [32m'exemple_video.mp4'[39m } ],
|
|
119
|
-
mSubtitles: [
|
|
120
|
-
{ label: [32m'Français'[39m, src: [32m'exemple_soustitres.vtt'[39m, srclang: [32m'fr'[39m }
|
|
121
|
-
],
|
|
122
|
-
mPoster: [32m'video_poster.jpg'[39m,
|
|
123
|
-
mTranscript: [32m'exemple_transcript.html'[39m
|
|
124
|
-
} ref="VTU_COMPONENT" >
|
|
125
|
-
at <VTUROOT>
|
|
126
|
-
|
|
127
|
-
</system-err>
|
|
128
|
-
</testcase>
|
|
129
|
-
<testcase classname="tests/unit/AppCompVideoPlayer.spec.js" name="AppCompVideoPlayer > renders ErrorDisplay When validator returns errors" time="0.040805915">
|
|
130
|
-
<system-err>
|
|
131
|
-
[Vue warn]: Invalid prop: custom validator check failed for prop "vidData".
|
|
132
|
-
at <AppCompVideoPlayer vidData= { id: [1mnull[22m } ref="VTU_COMPONENT" >
|
|
133
|
-
at <VTUROOT>
|
|
134
|
-
|
|
135
|
-
</system-err>
|
|
136
|
-
</testcase>
|
|
137
|
-
<testcase classname="tests/unit/AppCompVideoPlayer.spec.js" name="AppCompVideoPlayer > It renders HTML video Element" time="0.013200088">
|
|
138
|
-
<system-err>
|
|
139
|
-
[Vue warn]: Property "$pinia" was accessed during render but is not defined on instance.
|
|
140
|
-
at <AppCompVideoPlayer vidData= { id: [1mnull[22m } ref="VTU_COMPONENT" >
|
|
141
|
-
at <VTUROOT>
|
|
142
|
-
|
|
143
|
-
</system-err>
|
|
144
|
-
</testcase>
|
|
145
|
-
<testcase classname="tests/unit/AppCompVideoPlayer.spec.js" name="AppCompVideoPlayer > Video Element has correct sources" time="0.014878878">
|
|
146
|
-
<system-err>
|
|
147
|
-
[Vue warn]: Property "$pinia" was accessed during render but is not defined on instance.
|
|
148
|
-
at <AppCompVideoPlayer vidData= {
|
|
149
|
-
id: [32m'vid1'[39m,
|
|
150
|
-
mSources: [ { type: [32m'mp4'[39m, src: [32m'exemple_video.mp4'[39m } ],
|
|
151
|
-
mSubtitles: [
|
|
152
|
-
{ label: [32m'Français'[39m, src: [32m'exemple_soustitres.vtt'[39m, srclang: [32m'fr'[39m }
|
|
153
|
-
],
|
|
154
|
-
mPoster: [32m'video_poster.jpg'[39m,
|
|
155
|
-
mTranscript: [32m'exemple_transcript.html'[39m
|
|
156
|
-
} ref="VTU_COMPONENT" >
|
|
157
|
-
at <VTUROOT>
|
|
158
|
-
|
|
159
|
-
</system-err>
|
|
160
|
-
</testcase>
|
|
161
|
-
</testsuite>
|
|
162
|
-
<testsuite name="tests/unit/useTimer.spec.js" timestamp="2025-12-03T20:05:11.498Z" hostname="SRV-Gitlab" tests="9" failures="0" errors="0" skipped="0" time="0.01523782">
|
|
163
|
-
<testcase classname="tests/unit/useTimer.spec.js" name="Timer class > should create a Timer instance with a unique ID" time="0.004283024">
|
|
164
|
-
</testcase>
|
|
165
|
-
<testcase classname="tests/unit/useTimer.spec.js" name="Timer class > should return a timer instance by it ID" time="0.001041552">
|
|
166
|
-
</testcase>
|
|
167
|
-
<testcase classname="tests/unit/useTimer.spec.js" name="Timer class > should throw error when a timer instance doesn`t exist" time="0.001328963">
|
|
168
|
-
</testcase>
|
|
169
|
-
<testcase classname="tests/unit/useTimer.spec.js" name="Timer class > should initialize timer at 0 seconds" time="0.000432473">
|
|
170
|
-
</testcase>
|
|
171
|
-
<testcase classname="tests/unit/useTimer.spec.js" name="Timer class > should start the timer and increment time every second" time="0.001382178">
|
|
172
|
-
</testcase>
|
|
173
|
-
<testcase classname="tests/unit/useTimer.spec.js" name="Timer class > should display time in correct format when converting to ISOformats" time="0.003260798">
|
|
174
|
-
</testcase>
|
|
175
|
-
<testcase classname="tests/unit/useTimer.spec.js" name="Timer class > should pause the timer" time="0.000603134">
|
|
176
|
-
</testcase>
|
|
177
|
-
<testcase classname="tests/unit/useTimer.spec.js" name="Timer class > should reset the timer to 0 when timer stops" time="0.000482659">
|
|
178
|
-
</testcase>
|
|
179
|
-
<testcase classname="tests/unit/useTimer.spec.js" name="Timer class > should destroy timer" time="0.000666707">
|
|
180
|
-
</testcase>
|
|
181
|
-
</testsuite>
|
|
182
|
-
</testsuites>
|