Commit graph

131 commits

Author SHA1 Message Date
C. Fuhrman
70d6d1bc56 Nom de la salle doiit être un majuscule
Supprimer des créations de socket/salle superflues
Suppression (nettoyage) des salles et socket plus robuste
diminue le bazaar de useEffect (!)
2025-02-27 15:49:09 -05:00
NouhailaAater
3855eca6c6 Fix ManageRoom tests 2025-02-27 02:17:54 -05:00
NouhailaAater
9486eacc53 Correction test ManageRoom 2025-02-24 14:32:08 -05:00
NouhailaAater
9286fe6b9c Correction socket 2025-02-22 02:04:49 -05:00
NouhailaAater
5c736f4ca0 branch 'main' into feature/add-room-collection 2025-02-22 00:24:04 -05:00
NouhailaAater
562fdfb791 ajout tests 2025-02-22 00:20:37 -05:00
C. Fuhrman
9143b5f524 Revert "Merge pull request #239 from ets-cfuhrman-pfe/revert-217-PFEH25-merge-it2main"
This reverts commit 0febb5a394, reversing
changes made to 687f5be45a.
2025-02-21 14:48:21 -05:00
C. Fuhrman
c5ae310c07 Clean up test -- fixes #212 2025-02-14 21:34:21 -05:00
C. Fuhrman
39dd02d4ea fix snapshots (testable type info) 2025-02-14 21:28:40 -05:00
C. Fuhrman
124cea1a92 Update preview tests to use unsupported questions
Also fixed several issues with the other tests, removed commented code
2025-02-14 21:24:36 -05:00
Juba.M
00aaeeeb9a
Merge branch 'main' into JubaAzul/issue230 2025-02-13 11:16:40 -05:00
JubaAzul
9c9c17cd0f Refactoriser la LiveResultTable en fonction de ses composants
Fixes #236
2025-02-12 14:01:36 -05:00
JubaAzul
b66fbc09b2 Merge branch 'JubaAzul/issue236' of https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir into JubaAzul/issue236 2025-02-07 13:37:04 -05:00
JubaAzul
3aa51900d7 Création de classes de tests. 2025-02-07 13:33:38 -05:00
Christopher (Cris) Fuhrman
80a31f5b38
Merge pull request #227 from ets-cfuhrman-pfe/JubaAzul/issue226
Some checks failed
CI/CD Pipeline for Backend / build_and_push_backend (push) Failing after 52s
CI/CD Pipeline for Nginx Router / build_and_push_nginx (push) Failing after 51s
CI/CD Pipeline for Frontend / build_and_push_frontend (push) Failing after 17s
Tests / tests (client) (push) Failing after 1m17s
Tests / tests (server) (push) Failing after 54s
[Katex] La L'affichage du tableau AVEC réponses pose problème lorsqu'il y a des équations
2025-02-07 11:08:23 -05:00
JubaAzul
3a592ef2dc Fenêtre de rétroaction n'est pas compatible avec les longues réponses
Fixes #230
2025-02-05 19:56:04 -05:00
Christopher (Cris) Fuhrman
4b7e93a199
Merge pull request #208 from ets-cfuhrman-pfe/JubaAzul/issue207
Some checks failed
CI/CD Pipeline for Backend / build_and_push_backend (push) Failing after 1m10s
CI/CD Pipeline for Nginx Router / build_and_push_nginx (push) Failing after 50s
CI/CD Pipeline for Frontend / build_and_push_frontend (push) Failing after 17s
Tests / tests (client) (push) Failing after 1m26s
Tests / tests (server) (push) Failing after 1m1s
Indiquer le numéro de la question dans l'affichage enseignant
2025-02-05 08:35:50 -05:00
JubaAzul
1aba1d6098 Indiquer le numéro de la question dans l'affichage enseignant
Fixes #207
2025-02-04 23:14:10 -05:00
JubaAzul
8edc77d217 [Katex] La L'affichage du tableau AVEC réponses pose problème lorsqu'il y a des équations
Fixes #226
2025-02-04 20:21:32 -05:00
JubaAzul
e8b1163733 L'affichage de la bonne réponse dans les rétroactions ne fonctionne plus
Fixes #218
2025-01-31 15:55:37 -05:00
C. Fuhrman
842c5956c2 new snapshots, npm audit fix 2025-01-27 12:50:36 -05:00
C. Fuhrman
55b6c41148 new test for resized images 2025-01-26 16:50:15 -05:00
C. Fuhrman
7fed2bb135 update snapshots 2025-01-26 15:43:14 -05:00
C. Fuhrman
122685b0de separate numerical answers, weight, feedback (tf and mc) snapshot updates, css 2025-01-26 15:42:31 -05:00
C. Fuhrman
c55baed45c fix template, update snapshots numerical answers (formatted stem, multiple answers with feedback) 2025-01-26 13:26:17 -05:00
C. Fuhrman
bc0d2b1f14 true false snapshots (formattedStem) 2025-01-26 12:51:15 -05:00
C. Fuhrman
688869188c update snapshots (formatted Stem) 2025-01-26 12:50:14 -05:00
C. Fuhrman
f1375d8e10 multiple choice snapshots updated 2025-01-26 12:45:10 -05:00
C. Fuhrman
7af156f726 Fix tests 2025-01-26 11:51:12 -05:00
C. Fuhrman
910b83def2 Rename 2025-01-26 09:33:42 -05:00
C. Fuhrman
bb5b2b5e61 Renames, centralize sanitize(), StemTemplate 2025-01-25 14:19:31 -05:00
C. Fuhrman
82b904ef82 Some template (snapshot) tests reveal trouble 2025-01-25 02:07:38 -05:00
C. Fuhrman
cb46a18370 Renames, passing many tests 2025-01-25 02:02:18 -05:00
C. Fuhrman
54dc6b48a6 Renames (Display), fixes 2025-01-24 16:50:01 -05:00
C. Fuhrman
8a7a444718 baby steps (getting tests running) 2025-01-24 14:51:58 -05:00
C. Fuhrman
d047c787b7 fix broken import 2025-01-23 22:43:50 -05:00
C. Fuhrman
39a7ecce31 Some tests passing (MultipleChoiceQuestionDisplay.test.ts) 2025-01-23 22:38:22 -05:00
JubaAzul
5018625693 Fix tests 2025-01-22 16:06:23 -05:00
JubaAzul
a04ec3a2e7
Merge branch 'main' into add-composant-and-snapshot-tests-for-the-EditorQuiz 2025-01-17 10:50:04 -05:00
JubaAzul
1c928c8350 Chemin absolu pour les imports 2025-01-16 12:37:07 -05:00
JubaAzul
89dd55ca8f try import react inside class 2025-01-16 12:02:13 -05:00
JubaAzul
b46e2e3985 removed import in every class, try to update react 2025-01-16 12:02:13 -05:00
JubaAzul
3eb7ef084c Include a description after the "@ts-expect-error" directive to explain why the @ts-expect-error is necessary. The description must be 3 characters or longer 2025-01-16 12:00:48 -05:00
JubaAzul
3c9b14dd9d Used "@ts-expect-error" instead of "@ts-ignore" 2025-01-16 12:00:48 -05:00
JubaAzul
15805e2e7e import react inside class for pipeline, not IDE 2025-01-16 11:59:02 -05:00
JubaAzul
159ed5fa5c removed import in every class, try to update react 2025-01-16 10:40:27 -05:00
JubaAzul
470d856afc Include a description after the "@ts-expect-error" directive to explain why the @ts-expect-error is necessary. The description must be 3 characters or longer 2025-01-15 10:40:40 -05:00
JubaAzul
8d14e49095 Used "@ts-expect-error" instead of "@ts-ignore" 2025-01-15 10:30:45 -05:00
JubaAzul
9444603a93 import react inside class for pipeline, not IDE 2025-01-15 10:27:28 -05:00
JubaAzul
f43da4c8ba Risques sécurité dangerouslySetInnerHTML()
Fixes #192
2025-01-15 09:07:56 -05:00
JubaAzul
59b7fa02e0 try import react inside class 2025-01-13 20:03:12 -05:00
JubaAzul
b834c8f06f Import react in tests classes 2025-01-13 19:47:37 -05:00
JubaAzul
f201305064 Revert node change 2025-01-13 18:47:28 -05:00
JubaAzul
12b376d606 Correciton pull 2025-01-13 18:34:25 -05:00
C. Fuhrman
50e92fb458 install eslint (client), fix errors (many) 2025-01-11 02:22:14 -05:00
Christopher (Cris) Fuhrman
e5e7f61b71
Merge pull request #184 from ets-cfuhrman-pfe/fuhrmanator/issue171
Some checks are pending
CI/CD Pipeline for Backend / build_and_push_backend (push) Waiting to run
CI/CD Pipeline for Nginx Router / build_and_push_nginx (push) Waiting to run
CI/CD Pipeline for Frontend / build_and_push_frontend (push) Waiting to run
Tests / tests (client) (push) Waiting to run
Tests / tests (server) (push) Waiting to run
Fuhrmanator/issue171
2025-01-10 23:46:01 -05:00
JubaAzul
427182e7a8 Adding snapshot tests for editor 2025-01-10 17:39:19 -05:00
C. Fuhrman
6c73cfddc9 use src/constants (abs path) so it can remap when jest runs 2025-01-10 15:46:17 -05:00
JubaAzul
ebc0c64ef4 Added tests 2025-01-10 12:39:52 -05:00
Christopher (Cris) Fuhrman
e0ac770230
Merge branch 'main' into fuhrmanator/issue78 2025-01-10 11:01:29 -05:00
C. Fuhrman
3712464873 Clean up ENV variables
Define one for SOCKET url (testing), if it's not defined socket.io defaults to window.location.host
2024-10-31 11:31:26 -04:00
C. Fuhrman
d57c61f78f Nom du dossier pour chaque quiz devrait être affiché lorsque "tous les dossiers" sont affichés
Fixes #78
Uses Cards in Material UI to display the quizzes by folder
2024-10-19 22:58:49 -04:00
C. Fuhrman
c0cc4d01e0 Fixes #133
Redesign how answers are submitted and updated (react state management)
2024-09-26 00:57:57 -04:00
C. Fuhrman
91fa75131a One StudentType that also has answers 2024-09-25 14:53:17 -04:00
C. Fuhrman
fa4b6b5bd3 User -> Student (page, tests) 2024-09-25 13:20:09 -04:00
C. Fuhrman
68d7d8c0a9 Rename UserType -> StudentType 2024-09-25 13:05:36 -04:00
C. Fuhrman
9925b7f039 Après réponse par étudiant dans mode rythme de l'enseignant, ça passe à la question suivante (sans afficher rétroaction)
Fixes #86
2024-09-24 19:56:47 -04:00
C. Fuhrman
7562898438 refactor, remove react-latex (katex should be used) 2024-09-23 15:55:37 -04:00
C. Fuhrman
fefe278d79 Actualiser l'aide pour exemples avec markdown, images, etc.
Fixes #102
2024-09-17 18:56:13 -04:00
C. Fuhrman
b502d2ab23 add test for HTML 2024-09-15 22:49:03 -04:00
C. Fuhrman
8b486cf1c8 typos (rename), remove console.log messages, document skipped tests 2024-09-15 21:56:48 -04:00
C. Fuhrman
c0e95f2a0d update react (@testing-library, etc.), fix tests, refactor 2024-09-15 21:41:24 -04:00
C. Fuhrman
8c1a2d5e61 Update latest gift 1.0.1 2024-09-15 14:26:42 -04:00
C. Fuhrman
a7862fc98d fixes #91 2024-09-15 10:56:37 -04:00
C. Fuhrman
2ad5637c92 client tests passing (several skipped) 2024-09-15 01:26:06 -04:00
C. Fuhrman
6f43720649 Remove support for <img > tag, tests passing 2024-09-15 00:34:41 -04:00
C. Fuhrman
3527643164 fix commented-out test 2024-09-14 18:33:25 -04:00
Melanie St-Hilaire
61c5437d03 retrait temporaire des tests sur les questions 2024-04-29 16:40:28 -04:00
Melanie St-Hilaire
350d6fcb5b Correction des tests et ajout des rapport 3 et 4 2024-04-25 01:01:38 -04:00
louis-antoine-etsmtl
ef0607aceb fix build issue 2024-04-09 10:28:06 -04:00
louis-antoine-etsmtl
7ddb51fdb1 ajout fichiers application 2024-03-29 20:08:34 -04:00