Commit Graph

330 Commits

Author SHA1 Message Date
Marcus Moore 618bbc4bda Mark test as incomplete 2023-12-21 17:03:10 -08:00
Marcus Moore 8c434c7862 Implement and scaffold tests 2023-12-21 17:02:44 -08:00
Marcus Moore 7f153b32e4 Always return an array from selectValues method 2023-12-21 16:38:51 -08:00
Marcus Moore 92e3a1e69e Update variable names 2023-12-21 13:46:27 -08:00
Marcus Moore 7f0e3e288e Scaffold additional test 2023-12-21 13:43:44 -08:00
Marcus Moore 4c62e8ade9 Add guard against attempting to access property on unsaved template 2023-12-21 13:11:44 -08:00
Marcus Moore 62f8353bd7 Implement model filtering for selectValue method 2023-12-21 13:03:43 -08:00
Marcus Moore 1dd9273f70 Improve readability 2023-12-21 12:50:21 -08:00
Marcus Moore 2eeaef00e1 Improve readability 2023-12-21 12:15:00 -08:00
Marcus Moore 6fcbb108c6 Implement test for filtering out invalid models from selectValues 2023-12-21 12:02:48 -08:00
Marcus Moore 578495bab6 Update tests 2023-12-20 16:37:27 -08:00
Marcus Moore 9fcb1a2d0e Rename SavedReport to ReportTemplate 2023-12-18 12:55:48 -08:00
Marcus Moore c68a2a36fa Add test case for saving custom reports 2023-12-11 16:25:36 -08:00
Marcus Moore 89c47c1879 Add validation for saving reports 2023-12-11 16:20:36 -08:00
Marcus Moore 52028ddef2 Add authorization to saving saved reports route 2023-12-11 15:34:17 -08:00
Marcus Moore c3845f4393 Add tests around loading saved reports 2023-12-11 14:29:33 -08:00
Marcus Moore 4a0bb31866 Scaffold two more test cases 2023-12-07 11:00:26 -08:00
Marcus Moore 5041c07c7e WIP: implement restoring checkbox inputs 2023-11-30 18:15:04 -08:00
Marcus Moore 505d601488 Implement restoring date ranges 2023-11-30 17:07:39 -08:00
Marcus Moore bca7f208a6 Implement restoring select values 2023-11-30 16:57:21 -08:00
Marcus Moore 4f031149e8 Scaffold a couple test cases 2023-11-30 12:12:57 -08:00
Marcus Moore b7011d853a WIP: add methods to restore settings from saved report 2023-11-02 17:10:50 -07:00
snipe 6adaa32286 Merge pull request #13431 from marcusmoore/feature/custom-report-scoping
Removed unneeded `Company::scopeCompanyables` from `ReportsController`
2023-08-10 09:57:53 +01:00
snipe a599f0c923 Merge pull request #13434 from marcusmoore/chore/improve-test-stability
Improved test stability and messaging
2023-08-10 09:57:26 +01:00
Marcus Moore 04661d5441 Add help text to response assertion helpers 2023-08-09 17:09:31 -07:00
Marcus Moore 3a5ed031bf Escape values in response assertion helpers 2023-08-09 17:08:49 -07:00
Marcus Moore 60baaae192 Remove unused test bootstrap file 2023-08-09 16:22:58 -07:00
Marcus Moore 8508594a2f Remove old and unused Codeception test code 2023-08-09 13:32:15 -07:00
Marcus Moore e0b464dcec Merge branch 'develop' into feature/custom-report-scoping 2023-08-09 13:03:05 -07:00
snipe a6a742d8d8 Merge pull request #13407 from marcusmoore/feature/sc-23465
Added messaging to category edit page to improve clarity around when users will be emailed
2023-08-09 10:36:19 +01:00
Marcus Moore 2e632a3d2d Improve test readability 2023-08-08 17:40:02 -07:00
Marcus Moore c752e1670c Add test around company scoping in custom report 2023-08-08 17:21:39 -07:00
Marcus Moore 1405e17251 Add simple test around custom asset report response 2023-08-08 17:10:36 -07:00
Marcus Moore 3fd0853fd0 Ensure eula field enabled when not using default eula 2023-08-02 18:02:56 -07:00
Marcus Moore 896f038054 Set send email back to original value when eulas cleared 2023-08-02 17:03:56 -07:00
Marcus Moore 48979ce177 Disable send email when it should not be modified 2023-08-02 16:52:56 -07:00
Marcus Moore e12935f7fa Disable eula textarea when using global eula 2023-08-02 16:18:57 -07:00
Marcus Moore 6400034435 Improve variable name 2023-08-02 16:06:59 -07:00
Marcus Moore 269414e4f2 Automatically check the send email to user checkbox in certain conditions 2023-08-02 16:04:01 -07:00
Marcus Moore dee6ebf8e0 Scaffold component test 2023-08-02 12:58:07 -07:00
snipe c1949ffb0d Merge pull request #13319 from marcusmoore/chore/user-search-test-cases
Added test cases around user search
2023-07-18 13:27:22 +01:00
snipe 18e2ec4dad Merge pull request #13310 from marcusmoore/bug/sc-23478
Fixed the inability to load location select when editing profile
2023-07-18 13:26:30 +01:00
Marcus Moore fa0a88289a Add tests around user search
Follow up to #13311
2023-07-17 11:29:22 -07:00
Marcus Moore 346ace9444 Allow users that have permission to edit their own location to see locations in select list 2023-07-13 17:37:46 -07:00
snipe 981c3a430d Merge pull request #13301 from uberbrady/better_auto_increment_tags
Better auto increment asset-tags [FD-32892]
2023-07-13 09:49:44 +01:00
Brady Wetherington e648da9dc5 Also do a sanity-check that the normal asset autoincrementing works 2023-07-12 16:51:23 +01:00
Brady Wetherington 76191a09ed Improvements to asset_tag auto-incrementing, with auto-fixups for gaps 2023-07-12 16:39:45 +01:00
Marcus Moore 48e4ec8cf5 Guard against wiping database when running tests and test specific envs are not created 2023-07-11 12:16:37 -07:00
Marcus Moore 2abdb8a5fd Revert unneeded changes 2023-06-26 14:01:09 -07:00
Marcus Moore 7cb22d3d49 Remove incomplete tests 2023-06-26 14:00:53 -07:00