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 Koivukangas and Aaro Koivukangas
d73f3b5101
[Playwright] Remove unused file
2026-08-09 01:48:41 +03:00
Aaro Koivukangas and Aaro Koivukangas
944bde4295
[GithubActions] Add playwright tests to actions
2026-08-09 01:48:41 +03:00
Aaro Koivukangas and Aaro Koivukangas
a47aed615e
[Playwright][E2E] Fix flaky test
2026-08-09 01:48:41 +03:00
Aaro Koivukangas and Aaro Koivukangas
44ca967cdb
[Scripts] Move playwright scripts to the correct place
2026-08-09 01:48:41 +03:00
Aaro Koivukangas and Aaro Koivukangas
90aaf3686f
[Playwright][Config] Change better values for ci
2026-08-09 01:48:41 +03:00
Aaro Koivukangas and Aaro Koivukangas
91ae0f37a3
[Playwright] Remove cypress files from e2e
2026-08-09 01:48:41 +03:00
Aaro Koivukangas and Aaro Koivukangas
24a6522757
[Playwright] Migrate Population statistics
2026-08-09 01:48:41 +03:00
Aaro Koivukangas and Aaro Koivukangas
08fc18aab5
[Playwright] Finish Degree programme overview migration
2026-08-09 01:48:41 +03:00
Aaro Koivukangas and Aaro Koivukangas
fca3c6d1c5
[Playwright] Migrate more of Degree programme overview
2026-08-09 01:48:41 +03:00
Aaro Koivukangas and Aaro Koivukangas
b0db467c64
[Playwright] Migrate part of Degree programme overview
2026-08-09 01:48:41 +03:00
Aaro Koivukangas and Aaro Koivukangas
ccc811d55b
[Playwright][Commands] Add checkTableStats
2026-08-09 01:48:41 +03:00
Aaro Koivukangas and Aaro Koivukangas
a070df939b
[Playwright] Set better timeout defaults
2026-08-09 01:48:41 +03:00
Aaro Koivukangas and Aaro Koivukangas
77e6c7f554
[Playwright] Migrate Teachers to playwright
2026-08-09 01:48:41 +03:00
Aaro Koivukangas and Aaro Koivukangas
312f817694
[Lint] Remove comment
2026-08-09 01:48:41 +03:00
Aaro Koivukangas and Aaro Koivukangas
b95fa9b7ed
[Playwright][Users] Migrate Users tests
2026-08-09 01:48:41 +03:00
Aaro Koivukangas and Aaro Koivukangas
17cdcc0800
[Playwright] Change js to ts
2026-08-09 01:48:41 +03:00
Aaro Koivukangas and Aaro 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
Aaro Koivukangas
e7a8e09ed4
[GithubActions] Don't re-fetch cached data if it already exists
2026-07-25 14:11:36 +03:00
Aaro Koivukangas
035ca8f1d9
[GithubActions] Enable cypress cache action
2026-07-24 18:36:55 +03:00
Aaro Koivukangas
7cc9151e3b
[GithubActions] Change back to ubuntu-latest quickly
2026-07-24 18:03:50 +03:00
Aaro Koivukangas
41c4686a8c
[GithubActions] Fix dependencies
2026-07-24 17:30:34 +03:00
Aaro Koivukangas
ffa8a44faf
[GithubActions] Change remaining workflows to use self-hosted (excluding pr for security reasons)
2026-07-24 17:30:20 +03:00
Aaro Koivukangas
ee1a930f51
[GithubActions][E2E] Try to run e2e as non-root user
2026-07-24 17:23:41 +03:00
Aaro Koivukangas
25da52b1dd
[GithubActions] Disable cache actions, pulls are faster
2026-07-24 17:23:25 +03:00
Aaro Koivukangas
0326b21a5b
[GithubActions] Remove unnecessary dependencies from updater update action
2026-07-24 17:09:26 +03:00
Aaro Koivukangas
3e4a1cc941
[GithubActions] Try out self-hosted runners, again.
2026-07-24 16:56:23 +03:00
Aaro Koivukangas
3b629534a4
[Tests] Fix e2e and api tests to handle new calculation logic
2026-07-24 16:50:54 +03:00
Aaro Koivukangas
4fa7fb1a10
[CoursePopulation] Make course population calculations respect selected timeframe
2026-07-24 16:50:07 +03:00
Aaro Koivukangas
6e2c66045c
[Lint] Lint fix
2026-07-24 15:18:26 +03:00
Aaro Koivukangas
6fc614f679
[E2E] Add e2e tests to check that numbers match for single years
2026-07-24 15:13:47 +03:00
Aaro Koivukangas
c41f091869
[ProgrammeCourses] Make stats query respect selected years
2026-07-24 15:13:46 +03:00
Aaro Koivukangas
c6b598de25
[ProgrammeCourses] Add query params to set from and to range when querying programme courses
2026-07-24 15:13:46 +03:00
Aaro Koivukangas
4d5f6b07ab
[Utils] Add better defaults to year <-> yearCode transition
2026-07-24 15:13:45 +03:00
Aaro Koivukangas
9d2df861ba
[GithubActions] Add cache missing safeguard to e2e tests
2026-07-23 13:49:13 +03:00
Aaro Koivukangas
9b2708e989
[GithubActions] Use correct syntax
2026-07-23 13:37:06 +03:00
Aaro Koivukangas
24fe973467
[GithubActions] Add missing dependencies
2026-07-23 13:31:23 +03:00
Aaro Koivukangas
4522e9aeba
[GithubActions] Remove unnecessary job
2026-07-23 13:30:03 +03:00
Aaro Koivukangas
5ce1679462
[GithubActions] Streamline dependencies
2026-07-23 13:15:21 +03:00
Aaro Koivukangas
bde86054c7
[GithubActions] Use correct boolean checking
2026-07-23 13:08:38 +03:00
Aaro Koivukangas
5dfff69177
[GithubActions] More syntax error fixes
2026-07-23 13:01:32 +03:00
Aaro Koivukangas
349f296285
[GithubActions] Fix syntax error
2026-07-23 13:00:49 +03:00
Aaro Koivukangas
f4e822aafc
[GithubActions] Try to make docker cache more robust
2026-07-23 12:57:23 +03:00
Aaro Koivukangas
41ede1d221
[GithubActions] Add metadata to docker images
2026-07-23 12:39:43 +03:00
Aaro Koivukangas
110e9d47bc
[GithubActions] Change push variable to be a string, not a boolean
2026-07-23 12:01:08 +03:00
Aaro Koivukangas
4275a854bd
[GithubActions][E2E] Remove multispec e2e tests
2026-07-23 11:18:41 +03:00
Aaro Koivukangas
1f83e06dee
[GithubActions] Change to use buildx everywhere
2026-07-23 11:17:16 +03:00
Aaro Koivukangas
bb6e9d3317
[GithubActions][E2E] Fix error with multispec e2e tests
2026-07-23 10:23:08 +03:00
Aaro Koivukangas
af3ea08294
[E2E] Fix broken numbers
2026-07-23 10:21:35 +03:00
Aaro Koivukangas
7ea227078a
[CourseStats] Fix links to courseStats to default combineSubstitutions=true
2026-07-23 10:07:37 +03:00
Aaro Koivukangas
1c9e481dcc
[CourseStats] Fix links not updating on multiple courses selected
2026-07-23 10:07:04 +03:00
Aaro Koivukangas
b8dbc8658f
[GithubActions] Change Cypress image cache key to a more temporary one
2026-07-22 22:42:56 +03:00
Aaro Koivukangas
f78b8420ed
[BackendTests] Fix broken numbers in test
2026-07-22 22:37:43 +03:00
Aaro Koivukangas
b3d2e2e6a8
[GithubActions] Typo fix
2026-07-22 22:32:47 +03:00
Aaro Koivukangas
482f6840e0
[GithubActions] Restore accidentally deleted dependency
2026-07-22 22:31:09 +03:00
Aaro Koivukangas
b3570c72ca
[GithubActions] Also cache cypress image
2026-07-22 22:29:40 +03:00
Aaro Koivukangas
eba0fc3669
[GithubActions] Add missing shell variable to actions
2026-07-22 22:07:46 +03:00
Aaro Koivukangas
a4984a9f58
[GithubActions] Add caching to every step
2026-07-22 21:47:00 +03:00
Aaro Koivukangas
4fc3d1e1d7
[GithubActions] Check if caching would work
2026-07-22 21:34:42 +03:00
Aaro Koivukangas
feb3c43e0b
[GithubActions] Fix typo
2026-07-22 21:09:21 +03:00
Aaro Koivukangas
eb9e7b7260
[GithubActions][Cypress] Change cypress to run inside docker container
2026-07-22 21:03:41 +03:00
Aaro Koivukangas
c1472da8f5
[Cypress] Make cy.intercept intercept all requests
2026-07-22 21:03:21 +03:00
Aaro Koivukangas
199f17999b
[GithubActions] Typo fix
2026-07-22 18:08:44 +03:00
Aaro Koivukangas
8cb7a33b14
[GithubActions] Explicitly install cypress inside cypress action
2026-07-22 17:32:56 +03:00