- 15 Mar, 2021 14 commits
-
-
Einar Uvsløkk authored
-
Einar Uvsløkk authored
-
Andreas N. Digernes authored
Finished resolving problems with test register page. See merge request !20
-
and authored
-
Einar Uvsløkk authored
Add boundary value test for creating a new workout See merge request !18
-
Einar Uvsløkk authored
-
Einar Uvsløkk authored
Add system test using selenium See merge request !16
-
Andreas Rimolsrønning authored
Integration test See merge request !14
-
Andreas Rimolsrønning authored
-
andrerim authored
-
Einar Uvsløkk authored
Testing/view workout See merge request !15
-
Einar Uvsløkk authored
-
Einar Uvsløkk authored
Create a base class for black box test cases, with common Selenium setup and various utility methods for interacting with the web app. The test data fixtures are also split into separate files, in order to enable sharing between various tests.
-
Einar Uvsløkk authored
Fix the UserSerializer class See merge request !10
-
- 13 Mar, 2021 2 commits
-
-
Einar Uvsløkk authored
During black box testing of FR5 (View Workout) an error related to workout permissions was discovered. Due to using wrong values when checking Coach visibility on workouts, coaches was not able to view workout details for their athletes. Unit tests are also updated to reflect the changes.
-
Einar Uvsløkk authored
Implement black box test for FR5 "View Workout" using Selenium.
-
- 12 Mar, 2021 1 commit
-
-
Einar Uvsløkk authored
During black box testing of FR5 (View Workout) a bug in the class-level validation on the UserSerializer class was discovered. When accepting a coach offer, user validation would fail, complaining about the password being None. The changes made to the initial implementation is know mostly reverted. Class-level validation is removed in favour of field-level validation for the password field. The implementation of the password validation, however, remains the same. Additionally, default values for related required fields are know declared using the `extra_kwargs` attribute. Unit tests for the UserSerializer class is also updated, to reflect the changes.
-
- 11 Mar, 2021 3 commits
-
-
Einar Uvsløkk authored
-
Einar Uvsløkk authored
-
Einar Uvsløkk authored
-
- 09 Mar, 2021 8 commits
-
-
Einar Uvsløkk authored
Update CI setup for backend See merge request !9
-
Einar Uvsløkk authored
- Include cobertura coverage report - Setup cache and share it between branches - Remove dependencies introduced to provide pg_config
-
Einar Uvsløkk authored
-
Einar Uvsløkk authored
Backend/testing/user serializers See merge request !8
-
Einar Uvsløkk authored
- Do custom validation on object-level instead of field-level - Use Django password validators to validate password - Explicitly validate request POST data when creating new users
-
Einar Uvsløkk authored
Feature/highscores rank by units See merge request !7
-
Einar Uvsløkk authored
When viewing high scores for a specific exercise, it is now also possible to rank the high score list by total units performed. - The high score list is now rendered as a table - For exercises a new column showing units performed is visble - For workouts only the score column is visible - The high score list is sorted by both score and units in the backend
-
Einar Uvsløkk authored
Honour active list view when filtering on exercise Closes #11 See merge request !6
-
- 07 Mar, 2021 1 commit
-
-
Einar Uvsløkk authored
-
- 06 Mar, 2021 4 commits
-
-
Einar Uvsløkk authored
When filtering workouts on exercise, the filter should be applied on the active workout list view. Prior to this fix, the filter was applied to all workouts regardless of what workout filter tab was selected by the user. Closes #11.
-
Einar Uvsløkk authored
The "good old copy and paste" messed up the query on element ID in workouts.js. The select element used for filtering on exercise now uses the same ID name for both workouts and highscores.
-
Einar Uvsløkk authored
Also check the response status before accessing response data. Closes #10.
-
Einar Uvsløkk authored
The label text and the id attribute of select element is also updated to better match the context. Closes #9.
-
- 05 Mar, 2021 5 commits
-
-
Einar Uvsløkk authored
Make the pg_config available on test image See merge request !5
-
Einar Uvsløkk authored
-
Einar Uvsløkk authored
The psycopg2 requirement got included in the requirements.txt file when django-heroku was added in commit 1667ceda, which in turn broke the CI pipeline.
-
Einar Uvsløkk authored
- Use django-heroku to configure backend for heroku - Use dj-database-url to configure database with DATABASE_URL - Add Procfile for backend - Add requirements.txt to repo root for heroku/python build - Move runtime.txt to repo root - Add Procfile for frontend - Add package.json to repo root for heroku/nodejs build
-
Einar Uvsløkk authored
Using pipenv to install dependencies from requirements.txt resulted in the following error (pipenv install -r requirements.txt): Unexpected syntax in …/requirements.txt. Are you sure this is a requirements.txt style file? 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte Turns out the encoding of the file got messed up somehow!? The invalid start byte is caused by the <feff> character. Running file requirements.txt reveals: requirements.txt: Little-endian UTF-16 Unicode text, with CRLF line terminators Fixed by running: iconv -f utf-16 -t utf-8 requirements.txt -o requirements.txt.new dos2unix requirements.txt.new mv requirements.txt.new requirements.txt
-
- 04 Mar, 2021 2 commits
-
-
andrerim authored
-
Andreas Rimolsrønning authored
Add profile page
😎 See merge request !4
-