Commit Graph
100 Commits
Author SHA1 Message Date
Aaro KoivukangasandAaro Koivukangas cc4ca02b7a [ApiTests][CourseYearlyStats] Fix tests to handle CU changes 2026-09-21 15:24:21 +03:00
Aaro KoivukangasandAaro Koivukangas 11bda04e56 [CourseStats] Remove credittypecode filtering 2026-09-21 15:24:21 +03:00
Aaro Koivukangas c24f2c65b0 [Filters][Grade] Acually fix the error 2026-09-01 12:25:45 +03:00
Aaro Koivukangas f8f5c4ba32 [Filters][Grade] Fix No grade option not working 2026-09-01 11:42:55 +03:00
Aaro Koivukangas b84c2c1e9e [E2E][CourseStats] Fix test numbers 2026-08-24 21:48:56 +03:00
Aaro Koivukangas e99119a868 [AI] Add suggestion to ask about db 2026-08-24 17:09:46 +03:00
Aaro Koivukangas d1c3baeac4 [CourseStats][Attempts] Count attempts properly finally 2026-08-24 17:09:21 +03:00
Aaro Koivukangas fa0f88b9af [ApiTests][CourseYearlyStats] Add tests for attempts 2026-08-24 16:25:19 +03:00
Aaro Koivukangas 9a53ec4b56 [ApiTests][CourseYearlyStats] Move student tests to new directory 2026-08-24 16:24:58 +03:00
Aaro Koivukangas a328268b53 [AI] Remove mention of cypress 2026-08-21 18:31:30 +03:00
Aaro Koivukangas b60b5ac804 [E2E][CourseStats] Update e2e tests to match updated data 2026-08-21 18:31:09 +03:00
Aaro Koivukangas b540419ea6 [ApiTests] Split the one massive courseyearlystats test file into multiple smaller ones 2026-08-21 18:07:22 +03:00
Aaro Koivukangas d41acb17d8 [UnitTests] Don't use backend type in shared 2026-08-21 17:54:57 +03:00
Aaro Koivukangas 66b1a40649 [CourseStats] Change to use yearCodeToYear util 2026-08-21 17:47:14 +03:00
Aaro Koivukangas 9364d7c7ca [CourseStatistics] Fix attempt calculations 2026-08-21 17:47:14 +03:00
Aaro Koivukangas 8a867f0b4c [UnitTests][parseCredit] Add parseCredit tests and refactor helpers to have correct types 2026-08-21 17:47:14 +03:00
Aaro Koivukangas 1b8eb0dbf5 [UnitTests] Move helpers to shared and change paths to use @ in backend tests 2026-08-21 17:47:14 +03:00
Aaro Koivukangas 9202c5d32c [UnitTests][CourseStatistics] Add unit tests with sequelize mocking to test getCreditsForCourses 2026-08-21 17:47:13 +03:00
Aaro Koivukangas 504b88a779 [Faculty] Add older doctoral programmes back to facultystats 2026-08-21 08:21:24 +03:00
Aaro Koivukangas 799674e763 [ApiTests] Add courseyearlytest for upcoming changes 2026-08-20 18:54:15 +03:00
Aaro Koivukangas 5de455da20 [E2E] Fix broken e2e test 2026-08-20 12:48:03 +03:00
Aaro Koivukangas 00feec055c [CourseStatistics] Change the location where barchart direction is done, previous breaks attempts 2026-08-20 12:47:48 +03:00
Aaro Koivukangas bf54702cd7 [CourseStats] Fix barchart years direction 2026-08-20 12:18:32 +03:00
Aaro Koivukangas b710a6b671 [GithubActions] Add 15 minute timeout to all actions to stop hanging 2026-08-20 10:53:33 +03:00
Aaro Koivukangas 2dd17ca6c8 [AI] Update agents.md to include a ban from accessing the db + claude settings to enforce that 2026-08-20 10:42:16 +03:00
Aaro Koivukangas a316476877 [UnitTests] Add transferredToProgrammeFilter tests 2026-08-20 10:06:46 +03:00
Aaro Koivukangas 53c33e631e [UnitTests] Add tagsFilter tests 2026-08-20 10:04:35 +03:00
Aaro Koivukangas d904afd07c [UnitTests] Add studyTrackFilter tests 2026-08-20 10:01:10 +03:00
Aaro Koivukangas bf6a4837df [UnitTests] Add studyRightTypeFilter tests 2026-08-20 09:58:36 +03:00
Aaro Koivukangas 0a0651d61a [UnitTests] Add studyRightStatusFilter tests 2026-08-20 09:45:15 +03:00
Aaro Koivukangas 7df8a26448 [UnitTests] Add studentNumberFilter tests 2026-08-20 09:36:37 +03:00
Aaro Koivukangas a5b2293ea8 [UnitTests] Add startYearAtUniFilter tests 2026-08-20 09:32:21 +03:00
Aaro Koivukangas 8ecbe5d4dc [UnitTests] Add programmeFilter tests 2026-08-20 09:30:27 +03:00
Aaro Koivukangas a4135cbace [UnitTests] Add hetuFilter tests 2026-08-19 20:24:51 +03:00
Aaro Koivukangas b362c7bf81 [UnitTests] Add graduatedFromProgrammeFilter tests 2026-08-19 20:23:18 +03:00
Aaro Koivukangas 0dfaf66274 [UnitTests] Add gradeFilter tests 2026-08-19 20:14:24 +03:00
Aaro Koivukangas faa18693d3 [UnitTests] Add genderFilter tests 2026-08-19 20:09:03 +03:00
Aaro Koivukangas 57d4ad661b [UnitTests] Add enrolmentStatusFilter tests 2026-08-19 20:03:34 +03:00
Aaro Koivukangas 81996a0130 [UnitTests] Add dateFilter tests 2026-08-19 19:58:15 +03:00
Aaro Koivukangas 70e13b1722 [UnitTests] Add curriculumPeriodFilter tests 2026-08-19 19:58:15 +03:00
Aaro Koivukangas 5e913a911b [UnitTests] Add creditsEarnedFilter tests 2026-08-19 19:58:10 +03:00
Aaro Koivukangas 76d19e4411 [UnitTests] Add courseFilter tests 2026-08-19 19:46:32 +03:00
Aaro Koivukangas 6249612e7a [UnitTests] Add citizenshipFilter tests 2026-08-19 19:40:03 +03:00
Aaro Koivukangas 5c2f477794 [UnitTests] Add a mock to window.localStorage so that filter tests don't fail if using useLanguage 2026-08-19 19:39:05 +03:00
Aaro Koivukangas 1430923ec4 [UnitTests] Add ageFilter tests 2026-08-19 19:29:35 +03:00
Aaro Koivukangas 06fda57dae [UnitTests] Add admissionTypeFilter tests 2026-08-19 19:26:28 +03:00
Aaro Koivukangas 8e8a99fe10 [UnitTests] Move multiple factories to helper file 2026-08-19 19:05:11 +03:00
Aaro Koivukangas d069d9675e [UnitTests][Filters][Hops] Add hops filter unit tests 2026-08-19 18:27:26 +03:00
Aaro Koivukangas 36631faf4d [Filters][Hops] Fix study right logic when student has a cancelled study right 2026-08-19 17:24:39 +03:00
Aaro Koivukangas 13b3996a11 [GithubActions] Remove unused configurations 2026-08-19 14:16:18 +03:00
Aaro Koivukangas e91523b268 [Scripts] Update db script to it's final form 2026-08-19 14:16:00 +03:00
Aaro Koivukangas 230b9fd076 [Scripts] Add menus to db script 2026-08-19 12:15:58 +03:00
Aaro Koivukangas e17465150b [E2E] Fix broken e2e test 2026-08-19 10:50:02 +03:00
Aaro Koivukangas c75202c1ef [DoctoralProgrames] Change credit limit to 30cr 2026-08-19 10:07:47 +03:00
Aaro Koivukangas 50f9fe29e1 [DoctoralProgrammes] Count DP*** as new programmes 2026-08-19 10:06:13 +03:00
Aaro Koivukangas c16ad83477 [Tests] Add api and unit tests for Custom population related features 2026-08-18 10:26:06 +03:00
Aaro Koivukangas 2449dc521f [CustomPopulation] Added option to make population with programmes 2026-08-18 10:23:12 +03:00
Aaro Koivukangas 7d3b7b8227 [Frontend][UnitTests] Migrate frontend unit tests to vitest 2026-08-14 14:03:21 +03:00
Aaro Koivukangas 1da147503b [Winston] Remove winston-gelf-transporter override from package.jsons 2026-08-14 13:47:33 +03:00
Aaro Koivukangas cf003fd593 [Winston] Remove loggers to old server that will be deleted 2026-08-14 13:45:09 +03:00
Aaro Koivukangas 0456b32bf2 [Scripts] Remove jami from logs 2026-08-14 13:14:49 +03:00
Aaro Koivukangas 96d058d877 [UnitTests][CriteriaProgress] Add tests for getProgressCriteria 2026-08-14 13:14:49 +03:00
Aaro Koivukangas d2788a13d8 [CriteriaProgress][Substitutions] Remove the last instance of substitutions!!!!! 2026-08-14 13:14:49 +03:00
Aaro Koivukangas a3244ca95c [Precommit] Format lintstaged file 2026-08-13 09:33:16 +03:00
Aaro Koivukangas 5dea5e1cb8 [Banners] Fix not being able to delete the last character 2026-08-11 11:47:25 +03:00
Aaro Koivukangas c81e5ee1e5 [GithubActions] Trigger staging + pull requests when lint rules are changed 2026-08-11 10:30:03 +03:00
Aaro Koivukangas abec1552d0 [Backend][DB] Add sensible values to db connections + use var DB_MAX_CONNECTIONS 2026-08-10 16:17:23 +03:00
Aaro Koivukangas 53ef3c1edc [Lint] Add lint rule also for Date.now() 2026-08-10 15:22:08 +03:00
Aaro Koivukangas 418f039d92 [GithubActions][E2E] Trigger actions if e2e has changed 2026-08-10 15:02:02 +03:00
Aaro Koivukangas a0383aaae8 [E2E] Fix custom population test 2026-08-10 14:59:48 +03:00
Aaro Koivukangas 6030176457 [GithubActions] Remove docker image caching because layers now fixed 2026-08-10 13:52:15 +03:00
Aaro Koivukangas 5b36c162a4 [Scripts] Add db script to handle db update 2026-08-10 13:35:02 +03:00
Aaro Koivukangas ec8c426056 [Docker] Add a docker compose file to easily build all new test dbs 2026-08-10 10:22:00 +03:00
Aaro Koivukangas f22b16295c [Docker][DBs] Add a dockerfile to update test dbs (without adding layers) 2026-08-10 10:20:48 +03:00
Aaro Koivukangas 0b0f52ba3f [Vibe] Add a compact AGENTS.md 2026-08-10 10:18:44 +03:00
Aaro Koivukangas f7d6c6f5a7 [Readme] Update readme to match new e2e changes 2026-08-10 10:18:01 +03:00
Aaro Koivukangas 6a4c099024 [Prettier] Remove prettier, using oxfmt 2026-08-10 10:17:38 +03:00
Aaro Koivukangas 18cc8cef05 [Meta] Remove unused .vscode directory 2026-08-10 10:16:19 +03:00
Aaro KoivukangasandAaro Koivukangas 5ed3408ee7 [Cypress] Acually remove cypress entirely 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas f5da3920d2 [E2E][NumbersMatch] Increase test timeout 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas e75a521284 [RIP][Cypress] Wave goodbye to cypress o7, you will not be missed 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas d25e950d8a [Playwright] Migrate Numbers match 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas cc1ad91b58 [Playwright] Migrate Completed courses 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas ff84e574d6 [Playwright] Migrate students 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 0832dbfe67 [Playwright] Migrate filter tests 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 62bb09e0b5 [E2E][Meta] Change to use better mock date 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 7c5148646c [Playwright] Migrate Custom population 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 6724ec6406 [Playwright] Migrate Study guidance groups 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 82cfb8ece4 [Playwright] Migrate language center view 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas c23db2cd89 [Playwright] Migrate Faculty statistisc 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 2d2344e0c5 [E2E] Fix tests to match mocked date 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas c3b8a8e224 [Playwright] Mock date in helper functions 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 4e9358e69e [GithubActions] Move university tests from cypress to playwright 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas ecaafd3c89 [Lint] Add new lint rule to check backend uses only now() and not new Date() 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas a30b78f74d [Playwright] Migrate university tests 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 1666cad7cc [E2E] Add mocked backend time to init e2e command 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 35f500af0f [TestNowHeader] Add small tests for the x-test-now header 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas ce04b19145 [Meta] Add test header to mock current date 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 701209ed4c [E2E][CourseStatistics] Fix check order 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas f6cc05aa5d [GithubActions] Rename cypress test 2026-08-09 01:48:41 +03:00