Commit Graph
100 Commits
Author SHA1 Message Date
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
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