Commit Graph
1653 Commits
Author SHA1 Message Date
RegularmuteandGitHub bf4a51ee89 Merge pull request #217 from Ohtuilmo/feature/209-bar_group_name
group assignment indicator and tests for it
2024-03-22 21:51:50 +02:00
Antti Aarnio 8616e1d83a fixed typo in a text specific to logged in students that are not assigned to any group 2024-03-22 20:47:21 +02:00
Antti Aarnio 6220f97b5a fixed some code styling & uniformity mistakes 2024-03-22 20:22:24 +02:00
RedFoxFinn | AnttiandGitHub 572e4dc712 Merge pull request #220 from Ohtuilmo/fix/time_logs_form_front_validation
Fix/time logs form front validation
2024-03-22 14:53:32 +02:00
regularmute 87593e23ff refactor TimeLogForm to not need states for error status of fields
Also refactor an if-else clause to be more intuitive.
2024-03-22 14:20:32 +02:00
Mikko AhroandGitHub 8f2fcd6639 Merge pull request #216 from Ohtuilmo/feature/more-sprint-validation
More sprint validation for backend
2024-03-22 13:31:27 +02:00
vejolandGitHub 1a7cc245f7 Merge pull request #218 from Ohtuilmo/feature/update-seeders
Feature/update seeders
2024-03-22 13:29:57 +02:00
vejolandGitHub 3215cba608 Merge pull request #219 from Ohtuilmo/remove-import-scripts
Remove unnecessary import-scripts and their  dependencies
2024-03-22 13:13:45 +02:00
Iida Lassila 3737e9246e Remove unnecessary import-scripts and their dependencies 2024-03-22 12:08:29 +02:00
Ismo MehdiandAntti Aarnio 03af528693 Show only added sprints in time log page Sprint Selector 2024-03-22 12:06:18 +02:00
imhlasandGitHub 52b89fd001 Merge pull request #214 from Ohtuilmo/feature/show-only-added-sprints-in-sprint-selector
Show only added sprints in time log page Sprint Selector
2024-03-22 11:17:01 +02:00
Antti Aarnio ec0ed71f3a fixed tests unrelated to developed feature by adding the missing login functions for tests 2024-03-22 10:50:19 +02:00
Iida Lassila 73f17dd1c2 Eslint fixes 2024-03-22 10:41:03 +02:00
Iida Lassila a76292f30e Fix tests 2024-03-21 15:12:39 +02:00
Iida Lassila 23341e95dc Add npm script for running only old seederfiles 2024-03-21 15:12:38 +02:00
Iida Lassila 381548fad1 Add new seeders 2024-03-21 15:12:38 +02:00
Iida Lassila 26ef20e30e Add new seeders 2024-03-21 15:12:38 +02:00
Iida Lassila 22fded8a54 Update seeder storage configuration 2024-03-21 15:12:37 +02:00
Antti Aarnio 3ac0f92f09 modified group indicator tests 2024-03-20 17:37:09 +02:00
Antti Aarnio 6613529298 group assignment indicator and tests for it 2024-03-20 12:31:25 +02:00
Joonas Somero b6b283e89d Adjust error messaging 2024-03-19 17:03:21 +02:00
Joonas Somero e136ec29e8 Add to sprint validation
- sprint number must be the successor of the latest sprint

  - sprint must start after the latest sprint has ended
2024-03-19 16:48:11 +02:00
Joonas Somero 3db0898f53 Adjust error handling 2024-03-19 16:47:59 +02:00
regularmute 846d0273cc adjust language and referred elements in timelog tests to fit changes
During the merge, some element names and test name phrasing changed,
so this commit will adjust some tests to fit the rest of the file.
2024-03-19 16:03:45 +02:00
regularmute 58689efab4 remove deprecated test that reappeared when merging 2024-03-19 16:02:29 +02:00
Ismo Mehdi 0153e0a2f8 Show only added sprints in time log page Sprint Selector 2024-03-19 15:58:19 +02:00
regularmute 10f7ce9ef8 move sprint deletion to the end of timelog testing to fit merged edits
As a result of the merge, tests from one branch fail because sprints
are deleted before running the tests. This is simply fixed by moving
the sprint deletion to the end of testing.
2024-03-19 15:45:17 +02:00
regularmute 0799ed54f3 validate timelog-form's time and description fields
Set states to keep track of whether or not the specific fields have
errors, and what error message they should display.

Add separate validation function that is checked upon submitting the
form.

Add appropriate properties for the time and description fields to
adjust their behavior avvording to possible errors.
2024-03-19 15:29:05 +02:00
regularmute 5f86865cbf create initial tests for front-end timelogs form validation 2024-03-19 15:27:36 +02:00
RegularmuteandGitHub 1258d50bdf Merge pull request #212 from Ohtuilmo/feature/test-time-logs-and-sprints
Add tests for time logs and sprints, fix time logs current sprint logic
2024-03-19 15:16:13 +02:00
Ismo Mehdi dd9e037136 Fix TimeLogsPage current sprint logic, add tests for time logs and sprints 2024-03-19 14:33:41 +02:00
Ismo Mehdi 1adba3f3d6 Disable eslint for specs 2024-03-19 14:07:26 +02:00
RegularmuteandGitHub b2bd978e49 Merge pull request #210 from Ohtuilmo/fix/time_logs_validation
Fix/time logs validation
2024-03-19 11:39:40 +02:00
RegularmuteandGitHub 402ac1cfe9 fix typo in timeLogs.spec.js 2024-03-19 11:28:18 +02:00
miahro 1ed3e77df9 add e2e tests for timeLogs validation backend message to front 2024-03-19 11:00:20 +02:00
miahro 698da9bfbe add succcess messages to timeLogsPage 2024-03-19 08:53:53 +02:00
miahro 52e696ec15 time logs validation: handle back error messages at front 2024-03-18 19:18:07 +02:00
miahro be293c5dec entry date within sprint validation in backend 2024-03-18 18:42:45 +02:00
regularmuteandmiahro ff1a069e7e create test file for time logs, test form is hidden with 0 sprints 2024-03-18 18:42:45 +02:00
Mikko AhroandGitHub 2a1b7fd8d9 Merge pull request #195 from Ohtuilmo/feature/disable-timelog-form-for-non-current-sprints
Select current sprint by default in TimeLogsPage, Disable TimeLogForm for non-current sprints
2024-03-18 18:39:49 +02:00
Ismo Mehdi 4839c044bf Select current sprint by default in TimeLogsPage, disable TimeLogForm for non-current sprints 2024-03-18 15:59:29 +02:00
vejolandGitHub 6409921858 Merge pull request #190 from Ohtuilmo/fix/readme-ci-badge
Fix CI badge to point right workflow file
2024-03-18 13:51:03 +02:00
vejolandGitHub 1f740bca39 Merge pull request #186 from Ohtuilmo/fix/loading-handling
Fix/refactor loading handling, add isCustomerReviewPage() check to App.js
2024-03-18 13:50:45 +02:00
Ismo Mehdi 6c3ae08b4a Fix/refactor loading handling, add isCustomerReviewPage to App.js
Move initializeMyGroup() from App.js to SprintsDashboard.js and TimeLogsPage.js
2024-03-18 12:54:17 +02:00
Ismo MehdiandGitHub f7b06c72e5 Merge pull request #179 from Ohtuilmo/fix/bug_sprint_deletion
fix bug in spring deletion
2024-03-18 12:51:37 +02:00
Vesa Jolkkonen 030834b03f Fix CI badge to point right workflow file 2024-03-18 11:47:43 +02:00
Ismo MehdiandGitHub 8ad13e6487 Merge pull request #188 from Ohtuilmo/fix/github-actions
Fix GitHub Actions issue with Cypress Record Key
2024-03-17 16:47:22 +02:00
Vesa Jolkkonen d587397a79 Add secret inheritance for test action 2024-03-17 16:25:05 +02:00
RegularmuteandGitHub ae86020268 Merge pull request #187 from Ohtuilmo/test_bug/185-topicListPage
debugging potentially flaky test
2024-03-16 18:04:41 +02:00
Antti Aarnio 69ba004ace test debugging 2024-03-16 17:14:05 +02:00