This repository has been archived by the owner on Jan 13, 2021. It is now read-only.
Browser features testing
Summary
- Added feature tests
- These tests assert that users manage to perform actions they intend to through a web navigator
- Enabled password resetting and improved relevant views
- Improved some views' tags hierarchy
- Fixed security issue
Complete changelog
Added
- Testing
- Dusk setup
- Unit tests
- For pages visits
- For pages accesses from home page
- For pages interactions
- Feature tests
- Perform new borrowing
- Retrieve borrowing
- Add new inventory item
- Patch inventory item
- Delete inventory item
- Patch user
- Delete user
- Factories
- Added
late
andonTime
states to borrowing factory
- Added
- Password resetting
- Added authorization for users
- Validation
- Added maximal value for borrowing guarantee
- Views
- Home view
- Added ids to buttons
- End borrowing view
- Added buttons blocking when no borrowing is selected
- Borrowings history view
- Added more selection tags
- Edit inventory view
- Changed redirection when completing action
- Edit users view
- Added more tags
- Changed redirection when modifying own role
- Passwords views
- Added header
- Home view
- TODO list
- Moved TODO items to their own file
- Added new TODO items
- Readme
- Basic use guide
Changed
- New borrowing view
- Inventory item buttons behaviour
- Password reset email
- Improved template translation
- Testing
- Made test classes attributes private
- Refactored "New borrowing" and "End borrowing" requests tests
- Misc
- Improved readability of PHP strings concatenations
Fixed
- Borrowing factory
- The start date was mutated to generate the other dates
- Views
- Borrowings history view
- "Deleted user" message wasn't in translation files
- Edit inventory view
- Fixed tags hierarchy
- Fixed "Remove genre" buttons listeners
- Borrowings history view
- Redirections
- Fixed redirections in "Reset password" and "Verification" controllers
- Security
- Prevented javascript injections when adding text to database