Commit Graph
100 Commits
Author SHA1 Message Date
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
Aaro KoivukangasandAaro Koivukangas f42bc4e084 [Lint] Fix 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas e37ec1f9d7 [E2E] Fix broken access tests 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 56fda867c2 [E2E] Fix tests with newPage 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 58f2d3068e [E2E][Users] Acually login as basic-user 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 4dca1ab199 [Lint] Disable lint rule inside e2e 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas a3da0313b4 [E2E] Fix e2e tests broken by curriculum change 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 29f38ff0cc [DegreeProgrammeOverview][StudyTracks] Fix incorrect formatting on NA percentage values 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 836628a22f [DegreeProgrammeOverview] Fix missing empty years without stats 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 0d0169bd87 [ComponentTests] Fix tests that broke because of curriculum changing 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 2132a6bd70 [GithubActions] Disable db image updating for a while 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 2eeb9b0bd0 [DockerCompose] Add host to db healthchecks to wait for initdb scripts to run 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 25c14aac0f [Playwright] Migrate Course_statistics 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas c7cdb60d1d [E2E+GithubActions] Migrated Routes + added it to github 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 06659916d3 [GithubActions] Install only firefox for playwright 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 0871ca9b91 [GithubActions] Enable docker image caching if running inside ubuntu-latest 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 1b87eb02e8 [GithubActions] Add variable to change the running environment in workflows 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 6f53e9cb78 [GithubActions] Move playwright-e2e to the correct directory 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 5054468710 [Updater] Change "weekly" to first schedule programmes, as that takes ages 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 65b69e0a92 [GithubActions] Change skip_db_update to be a string, not a boolean 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 8215747238 [Lint] Don't include node types, just ignore playwright config 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 4d9ae22248 [GithubActions] Change to use relative paths 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas a5c617a9a7 [GithubActions] Run all tests on pull requests, but don't update dbs 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 2c5347fe15 [Playwright] Remove cypress files 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas a6ebad58a7 [Lint] Add @types/node to fix lint error 2026-08-09 01:48:41 +03:00
885611f00f [Lint] Ignore default export in playwright.config (oxlint)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-09 01:48:41 +03:00
4587d66ac2 [Playwright] Fix lint errors in e2e tests and plugins
- Converted loops to Promise.all where appropriate
- Removed inferrable types and unused async params
- Converted Cypress plugins to named export

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas d73f3b5101 [Playwright] Remove unused file 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 944bde4295 [GithubActions] Add playwright tests to actions 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas a47aed615e [Playwright][E2E] Fix flaky test 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 44ca967cdb [Scripts] Move playwright scripts to the correct place 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 90aaf3686f [Playwright][Config] Change better values for ci 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 91ae0f37a3 [Playwright] Remove cypress files from e2e 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 24a6522757 [Playwright] Migrate Population statistics 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 08fc18aab5 [Playwright] Finish Degree programme overview migration 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas fca3c6d1c5 [Playwright] Migrate more of Degree programme overview 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas b0db467c64 [Playwright] Migrate part of Degree programme overview 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas ccc811d55b [Playwright][Commands] Add checkTableStats 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas a070df939b [Playwright] Set better timeout defaults 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 77e6c7f554 [Playwright] Migrate Teachers to playwright 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 312f817694 [Lint] Remove comment 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas b95fa9b7ed [Playwright][Users] Migrate Users tests 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas 17cdcc0800 [Playwright] Change js to ts 2026-08-09 01:48:41 +03:00
Aaro KoivukangasandAaro Koivukangas d0b85c0722 [Playwright] Change playwright to under e2e 2026-08-09 01:48:41 +03:00
Aaro Koivukangas 773998c9b9 [E2E] Skip broken tests, enable again when migrated to playwright 2026-07-28 14:31:17 +03:00
Aaro Koivukangas 15bcc7b30d [GithubActions][UpdaterUpdate] Scale workers down to 3 2026-07-27 14:35:17 +03:00
Aaro Koivukangas 1c845dd967 [GithubActions][UpdaterUpdate] Change npm to plain docker compose logs 2026-07-27 14:20:03 +03:00
Aaro Koivukangas 97fbed26a9 [GithubActions] Scale sis-updater-worker to 5 when running updater updates 2026-07-27 14:07:08 +03:00
Aaro Koivukangas 349948ed52 [GithubActions] Add docker compose teardown to action 2026-07-27 13:55:05 +03:00
Aaro Koivukangas 2983c7ae15 [GithubActions] Remove cypress cache action, disable pull docker image action 2026-07-27 13:35:03 +03:00
Aaro Koivukangas 58bbf10e60 [GithubActions] Add runner environment as a variable + move staging to self-hosted 2026-07-27 13:29:58 +03:00
Aaro Koivukangas 8e4bf19b1d [GithubActions] Typo fix 2026-07-27 13:23:17 +03:00
Aaro Koivukangas 5b12edadc9 [GithubActions] Handle github context properly 2026-07-27 13:15:38 +03:00
Aaro Koivukangas e8e4d095b6 [E2E][DegreeProgrammeOverview] Add cancelled column to tests 2026-07-27 12:56:06 +03:00
Aaro Koivukangas 6115357a7c [Backend][Populations] Don't filter population's students' credits and enrollments by start date by default 2026-07-26 22:02:52 +03:00
Aaro Koivukangas 2672ac8b63 [GithubActions] Use correct github variable name 2026-07-26 21:38:07 +03:00
Aaro Koivukangas b9c536c99b [GithubActions] Enable (again again) self-hosted 2026-07-26 21:35:23 +03:00
Aaro Koivukangas 1e350ed4be [Shared][UnitTests] Add vitest config for even faster unit tests 2026-07-26 16:36:25 +03:00
Aaro Koivukangas 75a65693d4 [GithubActions] Typo fix 2026-07-26 16:26:12 +03:00
Aaro Koivukangas 4b03769a50 [GithubActions] Use correct syntax for variables 2026-07-26 16:25:33 +03:00
Aaro Koivukangas 8b51804962 [GithubActions] Remove unit tests from pull docker action 2026-07-26 16:20:57 +03:00
Aaro Koivukangas 092def09ea [GithubActions] Add unit tests as a low level dependency 2026-07-26 16:19:43 +03:00
Aaro Koivukangas b9667dbd12 [GithubActions] Typo fix 2026-07-26 16:13:42 +03:00
Aaro Koivukangas 301085b566 [GithubActions] Enable image caching when not using self-hosted runners 2026-07-26 16:12:53 +03:00
Aaro Koivukangas 22a4ae17f6 [GithubActions] Change (yet again) back to gh runners 2026-07-26 16:10:32 +03:00
Aaro Koivukangas dc062cd349 [Backend][Utils] Add tests for hasFullAccessToStudentData 2026-07-26 16:00:32 +03:00
Aaro Koivukangas 513981674a [Backend][Utils] Add unit tests for parseDateRangeFromParams 2026-07-26 16:00:10 +03:00
Aaro Koivukangas 771cf5ef81 [GithubActions] Try to move cypress videos to writeable location 2026-07-26 14:33:17 +03:00
Aaro Koivukangas 13fb1e11ba [ServiceTests] Use global year <-> yearCode helper 2026-07-26 14:31:30 +03:00
Aaro Koivukangas caa28c2b19 [Shared][UnitTests] Add tests for year <-> yearCode helper functions 2026-07-26 14:31:05 +03:00
Aaro Koivukangas a8a1c06c2e [Shared][UnitTests] Add unit tests to shared 2026-07-26 14:30:21 +03:00
Aaro Koivukangas 3cecd7d20b [GithubActions] Disable cypress image caching, no need 2026-07-26 13:17:52 +03:00
Aaro Koivukangas ed5cb01c70 [GithubActions] Enable self-hosted runner again 2026-07-26 13:16:34 +03:00
Aaro Koivukangas 433ec96264 [E2E] Fix broken e2e test numbers 2026-07-25 16:16:48 +03:00
Aaro Koivukangas 40be964e71 [Backend][StudyProgramme] Add missing type to function 2026-07-25 16:16:35 +03:00
Aaro Koivukangas b1ee1d206f [GithubActions][E2E] Remove --user 1001 flag from e2e, possibly breaking tests 2026-07-25 14:40:37 +03:00
Aaro Koivukangas 97099ebb5d [GithubActions] Use correct check for cache hit 2026-07-25 14:18:22 +03:00
Aaro Koivukangas a728f86927 [GithubActions] More syntax error fixes 2026-07-25 14:15:22 +03:00
Aaro Koivukangas e916e8b378 [GithubActions] Syntax error fix 2026-07-25 14:12:53 +03:00