Commit Graph

87 Commits

Author SHA1 Message Date
Pedro Silva 1765e10995 Remove toString 2022-12-09 18:10:17 +00:00
Pedro Silva d390fe7d8d Rename users methods 2022-12-09 18:00:13 +00:00
Pedro Silva fbf50f0ddf Remove explicit toString 2022-12-09 17:52:33 +00:00
Pedro Silva b995575189 Add partial user type 2022-12-09 17:49:45 +00:00
Pedro Silva 6d87a38ab3 Changes to types and user generation 2022-12-09 17:34:59 +00:00
Pedro Silva 4467d2b005 Remove duplicated assertions 2022-12-06 18:20:02 +00:00
Pedro Silva c03ee6a613 Fix names 2022-12-06 16:16:07 +00:00
Pedro Silva d2a8923d0d Add tests for Roles 2022-12-06 16:14:00 +00:00
Pedro Silva 895c29d45f Add Tests for changes to user information/roles 2022-12-05 17:54:40 +00:00
Pedro Silva 0034bbbe2d Record generated users passwords in test context 2022-12-02 19:04:23 +00:00
Pedro Silva c0c8262561 Add generic login method 2022-12-02 18:59:08 +00:00
Pedro Silva 1c0767f549 Add users with all roles 2022-12-02 18:42:56 +00:00
Pedro Silva b9186cac9d Add tests for user management 2022-11-30 11:02:11 +00:00
Pedro Silva 7f8e093a52 Add verification 2022-11-28 22:13:07 +00:00
Pedro Silva cb2b861032 Add User endpoints 2022-11-22 16:52:56 +00:00
mike12345567 0d13a77409 Some minor updates after running qa-core tests, found some issues that likely exists before context update. 2022-11-17 16:30:38 +00:00
mike12345567 b5472f882b Some updates for currentapp.spec.js test case. 2022-11-15 17:35:17 +00:00
Rory Powell bcc9374e77 Merge pull request #8684 from Budibase/test-updates
Fail pro scripts on error, unify TS versions, update test and coverage configs, use pro source mappings
2022-11-15 16:09:20 +00:00
Rory Powell 9973f2e161 Bump jest and ts-jest to be consistent across backend packages to fix CI issue, test config updates 2022-11-14 22:55:47 +00:00
Rory Powell 5da699e27c Fail pro scripts on error, unify TS versions, update test and coverage configs, use pro source mappings 2022-11-14 13:29:46 +00:00
Pedro Silva e583349565 Remove logic from endpoint methods 2022-11-10 09:45:02 +00:00
Pedro Silva 4fde16d55b Fix duplicated name failure 2022-11-09 17:05:05 +00:00
Pedro Silva 604260f622 Add test for AppPackage 2022-11-09 16:05:15 +00:00
Pedro Silva c53e5ed886 Improve stability of tests 2022-11-08 18:06:53 +00:00
Pedro Silva a3cdb8eb83 Move assertion to endpoint definition 2022-11-07 15:48:24 +00:00
mike12345567 19669575e4 Fixing issue with self host build - import of backend-core changes mean that loading the public API files can require setup of backend-core, making it so that the JWT Strategy doesn't need to be setup to load backend-core. 2022-11-01 12:59:10 +00:00
Pedro Silva b9bd007a0b Add missing test to app flow 2022-10-28 16:48:29 +01:00
Rory Powell 9face50a07 Fix build failure around PouchDB type 2022-10-25 09:02:55 +01:00
mike12345567 724a23da2c Merge branch 'develop' of github.com:Budibase/budibase into feature/app-backups 2022-10-24 16:51:53 +01:00
mike12345567 e1dca87507 Fixing test case. 2022-10-21 18:52:39 +01:00
Pedro Silva 664c2af408 Fix some tests after merge 2022-10-20 17:48:05 +01:00
Pedro Silva ec958f3804 Merge branch 'develop' into api-tests-tables 2022-10-20 17:37:46 +01:00
Pedro Silva d3337a0219 Improvement from PR comments 2022-10-20 15:31:10 +01:00
Pedro Silva 2a4eedcf38 Fix EOF 2022-10-19 10:42:57 +01:00
Pedro Silva f328280cb1 Requested changes 2022-10-19 10:35:00 +01:00
Pedro Silva bbd42b4db3 Remove unecessary const 2022-10-18 17:34:19 +01:00
Pedro Silva 814670cbed Add operations on rows and columns 2022-10-18 17:29:13 +01:00
Pedro Silva eb1e85fb46 Add Table endpoints 2022-10-17 18:20:40 +01:00
Pedro Silva 7053472347 Fix extra declarations 2022-10-13 15:18:36 +01:00
Pedro Silva 185d55a3f4 Refactor create app 2022-10-13 14:58:23 +01:00
Mitch-Budibase 9eb0714033 Small changes based on PR feedback
As per some of the comments on the PR:
- Renaming createScreen & deleteScreen to create & delete as they are on the screens namespace
- Updating a test within create.spec.js (applications) for when a screen is generated
- Improvements to the current screens tests (removing unnecessary `expect` lines & updating the for loop for the create screens test)
2022-10-12 17:48:33 +01:00
Mitch-Budibase 3c25763bd9 Merge branch 'develop' into api-screens 2022-10-12 16:53:47 +01:00
Rory Powell 6e083c85a4 Fix linting 2022-10-12 10:25:02 +01:00
Pedro Silva 4090dd2dfe Add types for Responses 2022-10-11 16:47:02 +01:00
Pedro Silva 07359370e6 Fix Identation 2022-10-11 16:24:43 +01:00
Pedro Silva dd914d31db Remove Test and fix types 2022-10-11 16:21:05 +01:00
Pedro Silva 8ce7ca1bb2 Add types for response 2022-10-11 15:08:08 +01:00
Pedro Silva 2f5ab092fe Add test for appDefinition 2022-10-11 15:06:04 +01:00
Mitch-Budibase b301adbd88 API Screens - Updating create screen test
The create screen tests will now create a screen with each available role type
- The types are: BASIC, POWER, ADMIN, PUBLIC
2022-10-10 17:44:19 +01:00
Mitch-Budibase 6aa0d41eb2 API Screens - Fetch screens test
Additional test to fetch screens.
- To confirm the screen was created i am checking `routes`
- It will then confirm the route with the screen exists - in this case the route is `/test` (as determined when the screen is created)
2022-10-10 17:27:55 +01:00