Commit Graph

138 Commits

Author SHA1 Message Date
Daniel Egger a3e16dc107 Fix problems 2023-10-10 15:55:46 +02:00
Christian Cueni bb50cc60e9 Fix result display 2023-10-09 11:28:37 +02:00
Daniel Egger 86cf8f44d3 Add percent for results and "Bestanden"/"Nicht Bestanden" 2023-10-05 14:06:33 +02:00
Daniel Egger 2b50c1d90f Pass `user_points` and `max_points` to edoniq test result cypress_reset 2023-10-05 09:59:43 +02:00
Daniel Egger d92b514759 Merge branch 'develop' into feature/VBV-488-import-edoniq-data 2023-10-05 09:16:49 +02:00
Livio Bieri 4b59f052bf fix: update test to match new default session 2023-10-04 21:46:18 +02:00
Daniel Egger a180c5c825 Filter appointments by course 2023-10-04 18:27:42 +02:00
Livio Bieri a3642ab996 fix: cypress test name 2023-10-03 17:33:08 +02:00
Livio Bieri 79d4246b88 chore: some tests 2023-10-02 16:22:21 +02:00
Daniel Egger 589453a8dc Remove `evaluation_grade` and set `evaluation_points` and `evaluation_passed` fields 2023-09-28 17:56:29 +02:00
Christian Cueni 7c6d448268 Change feedback order 2023-09-28 15:27:06 +02:00
Livio Bieri d646454ae9 fix: use file name in cypress tests 2023-09-28 09:43:03 +02:00
Livio Bieri dbe74f754b chore: more tests for mobile navigation 2023-09-28 09:38:48 +02:00
Livio Bieri d87f922dec chore: make tests a bit easier to read 2023-09-28 09:38:48 +02:00
Livio Bieri 5247b6061b chore: navigation tests (desktop) 2023-09-28 09:38:48 +02:00
Daniel Egger f079c0418b Readd 💩 cy.waits for pipelines... 2023-09-27 17:50:10 +02:00
Daniel Egger d303506ae7 Remove cy.wait in cypress test 2023-09-27 17:37:39 +02:00
Daniel Egger 08b99fb843 Wait for initial step in cypress test 2023-09-27 17:00:45 +02:00
Daniel Egger 825b7604c7 Does `cy.wait` help for pipelines 2023-09-27 16:30:04 +02:00
Daniel Egger b819225f10 Try to fix feedbackStudent continute button on pipelines 2023-09-27 16:10:40 +02:00
Daniel Egger 966533e13b Add feedback trainer cypress test 2023-09-26 18:48:25 +02:00
Daniel Egger c734bcdc98 Remove `it.only` 2023-09-26 16:47:31 +02:00
Daniel Egger 89e068fb09 Add cypress test for student 2023-09-26 14:34:22 +02:00
Livio Bieri f6d7f6e89e Merge remote-tracking branch 'origin/develop' into feature/VBV-515-preview
# Conflicts:
#	client/src/components/dueDates/DueDateSingle.vue
#	client/src/components/header/MainNavigationBar.vue
#	client/src/components/header/MobileMenu.vue
#	client/src/pages/cockpit/cockpitPage/CockpitDates.vue
2023-09-20 17:33:01 +02:00
Livio Bieri 326e42c99f wip: course preview poc 2023-09-16 22:27:19 +02:00
Daniel Egger dbd6b31895 Add cypress tests 2023-09-15 12:21:42 +02:00
Daniel Egger b5e9b9e355 Fix tests 2023-09-14 18:11:45 +02:00
Daniel Egger 428ac294e0 Add `--create-assignment-evaulation` cli parameter 2023-09-08 16:46:54 +02:00
Daniel Egger f357e34536 Fix cypress tests 2023-07-21 13:56:09 +02:00
Elia Bieri b970597a81 Merged in feature/VBV-451-anwesenheitskontrolle-frontend (pull request #150)
VBV-451 Anwesenheitskontrolle frontend & neues Cockpit

* Regenerate graphql types after rebase

* Fix grading progress

* Fix cypress tests

* Fix circle selection and add CourseSessionAssignment for Fahrzeug Vorbereitungsauftrag

* Use `LearningContentAssignment` explictly

* Improve type safety without `as`

* Disable feedback details button when no feedback

* Extend submission overview titles after review

* Improve attendance check state handling

* Minor translation/wording fixes


Approved-by: Daniel Egger
2023-07-20 16:22:28 +00:00
Daniel Egger e208fdabbc Change after making UUIDs 2023-07-14 17:13:21 +02:00
Daniel Egger 5ed883e83b Use UUIDs as primary key for models with user context 2023-07-14 14:37:59 +02:00
Elia Bieri 4b0a881055 Merged in feature/VBV-326-auftrag-benachrichtigungen-rebased (pull request #157)
Feature/VBV-326 auftrag benachrichtigungen rebased

* Implement notifications for assignments

# Conflicts:
#	server/vbv_lernwelt/assignment/services.py

* Add cypress test for student assignment submission

* Update django-notifications-hq

* Rework


Approved-by: Daniel Egger
2023-07-12 14:32:49 +00:00
Daniel Egger 53de79471a Change email notification test to only click once at a time 2023-06-21 16:32:58 +02:00
Daniel Egger c715a462d9 Delete notifications before test 2023-06-21 14:44:20 +02:00
Daniel Egger e6a5af56a8 Refactor cypress checkbox tests
Fix cypress circle tests

Fix cypress tests
2023-06-21 14:24:09 +02:00
Daniel Egger b86057ec03 Fix vueuse version to 10.1.0 due to strange behaviour in vueuse/router 2023-06-21 14:23:19 +02:00
Elia Bieri 2db7059461 Merged in bugfix/VBV-454-fix-cypress-pipelines (pull request #144)
Fix Cypress pipelines

* Update Cypress

* Attempt to change reload logic

* Fix it checkbox cy data

* Fix notification cypress test

* Rework notification settings saving logic
2023-06-21 11:28:40 +00:00
Elia Bieri 0336e414d5 Antoher trial 2023-06-20 15:56:44 +02:00
Elia Bieri db939c5eea Extend delay 2023-06-20 15:32:37 +02:00
Elia Bieri 3f7b27c266 Additional fixes 2023-06-20 15:13:53 +02:00
Elia Bieri fbde06f0ef Fix notification settings cypress test 2023-06-20 13:18:00 +02:00
Daniel Egger eebb37f42b Fix cypress test 2023-05-24 15:20:49 +02:00
Daniel Egger b65958bc0f Rename cypress describe text to match error text in pipelines 2023-05-24 15:20:49 +02:00
Daniel Egger bc368e7a2f Fix cypress tests 2023-05-19 14:50:41 +02:00
Daniel Egger 31dae0a5cd VBV-306: Use GraphQL for assignment code 2023-05-15 19:07:06 +02:00
Daniel Egger e130d65f37 Merged in feature/VBV-339-assignment-cypress-test (pull request #79)
Feature/VBV-339 assignment cypress test UNFINISHED

* Create assignment submission test data for cypress test

* Add first assignment trainer test

* Add first cypress test which checks DB entry with all instrumentation
2023-05-12 14:33:14 +00:00
Daniel Egger 6799e6bdda Merged in feature/fix-cypress-test (pull request #78)
Fix cypress test

* Fix cypress test
2023-05-10 11:34:16 +00:00
Elia Bieri 09d56091f1 Merged in feature/upgrade_cypress (pull request #76)
Upgrade to Cypress 12

* Upgrade cypress

* Several fixes

* Fix cypress tests


Approved-by: Daniel Egger
2023-05-10 10:16:40 +00:00
Daniel Egger 35e629f64c Add navigation cypress tests 2023-05-09 14:22:53 +02:00
Daniel Egger d1907182a3 Fix cypress tests 2023-05-09 13:46:43 +02:00
Elia Bieri e4b8d7c301 Merged in feature/VBV-291-kn-frontend-teilnehmer (pull request #56)
VBV-291 Auftrag Frontend

* Fixes in SubmissionView

* Change closing button tag

* Delete client cypress folder

* Add eslint cypress plugin

* Add Cypress tests

* Reformat de.json

* Fix type errors

* Fix cypress tests

* Add cypress commands

* Disable assignment task inputs after submission
2023-05-03 14:53:21 +00:00
Elia Bieri 1d77da83da Merged in feature/new-lc-navigation (pull request #60)
Implement new learning content navigation/layout

* Fix first part of cypress tests

* Add event bus type to fix typecheck

* Rework SelfEvaluation to support new layout

* Fix layout

* Hide lang switcher icon in lc footer

Closes https://iterativ.atlassian.net/browse/VBV-319

* Fix cypress tests

* Unregister event bus handler

* Hide ItNavigationProgress on self evaluations with
only a single step

* Last fixes

* Merged develop into feature/new-lc-navigation
2023-04-25 10:06:24 +00:00
Daniel Egger f3edfab981 Update cypress tests 2023-04-14 10:28:07 +02:00
Daniel Egger d4c846a1b9 Changes after code review 2023-04-12 16:08:16 +02:00
Daniel Egger 85a0ba1d25 Fix cypress tests 2023-04-05 18:49:06 +02:00
Daniel Egger a1fa632e2d Fix some cypress tests 2023-04-04 11:51:36 +02:00
Elia Bieri a7dcb86cfe Merged in feature/VBV-260-implement-new-learnpath (pull request #28)
Feature/VBV-260 implement new learnpath

* Fix linting problems

* Fix cypress tests

* Change various texts to gray-800

* Rework progress bar to show in progress circles

* Scroll to initial circle

* Make list view circles clickable

* Minor rework actions

* Rework

* Fix LearningPathScrollButton alignment

* Additional fix for LearningPathScrollButton alignment
2023-03-02 16:58:16 +00:00
Elia Bieri b5e4c30d40 Merged in feature/notifications (pull request #15) 2023-02-08 11:39:27 +00:00
Christian Cueni 28341131e4 Fix cypress tests 2023-01-31 11:24:59 +01:00
Christian Cueni c34d3729fc Assign users to new course 2023-01-23 09:31:10 +01:00
Christian Cueni 6c0aaaa9cf Rename Vermittler courses 2023-01-23 08:39:41 +01:00
Christian Cueni 142d0f374e Add feedback completion 2023-01-19 07:43:04 +01:00
Christian Cueni 434e911eea VBV-232: Fix mobile view 2023-01-19 07:43:04 +01:00
Daniel Egger 15b5223dc5 Fix cypress tests 2022-12-14 22:05:10 +01:00
Christian Cueni b950f11942 Update course slugs 2022-12-13 20:31:35 +01:00
Christian Cueni 4ac1c78a4f Update path name 2022-12-13 14:21:26 +01:00
Christian Cueni c7414c0714 Improve a11y, fix responsiveness for unit 2022-10-17 11:30:09 +02:00
Christian Cueni 81e65cbbda Fix test 🙄 2022-10-13 11:43:15 +02:00
Christian Cueni 0bec076378 Make things prettier 2022-10-13 11:35:58 +02:00
Christian Cueni 229a27bce2 Add medialibrary test 2022-10-13 11:28:48 +02:00
Christian Cueni 29c60d7bfb Add competence tests 2022-10-13 11:22:57 +02:00
Daniel Egger 998001df14 Fix cypress tests 2022-10-05 17:02:17 +02:00
Daniel Egger 3bd604215a Fix cypress tests 2022-09-28 17:55:47 +02:00
Daniel Egger 5663fe1a74 Try to make cypress tests less flaky 2022-09-14 16:29:41 +02:00
Daniel Egger b7eb88e4d5 Cypress tests 2022-09-14 15:52:44 +02:00
Daniel Egger 1eec54d9d8 Fix cypress tests 2022-09-02 17:50:24 +02:00
Daniel Egger d5f4b37cfe VBV-102: refactor server urls 2022-09-02 14:33:38 +02:00
Daniel Egger 26f373afe2 Add e2e test for "weiter gehts"-button 2022-08-31 18:36:10 +02:00
Daniel Egger a457a1fff3 Fix cypress tests 2022-08-31 15:32:35 +02:00
Daniel Egger 919edf1a24 Add cypress tests for circle page 2022-08-29 16:22:31 +02:00
Daniel Egger 3189e1cb7f Add cypress tests for learningPath view 2022-08-29 14:10:55 +02:00
Daniel Egger 52632708db Make cypress tests run on bitbucket 2022-08-26 18:18:32 +02:00
Daniel Egger ebce0a3a34 Cypress login with helper function 2022-08-26 15:52:34 +02:00
Daniel Egger 33757aa77e Add second cypress test 2022-08-26 15:12:03 +02:00
Daniel Egger 75a209e04f Upgrade to Cypress 10, add first login test 2022-08-26 15:06:22 +02:00
Christian Cueni 7b976a0097 Skip test 2022-04-21 08:45:15 +02:00
Daniel Egger 09b525eb15 Add cypress tests 2022-02-08 14:44:11 +01:00