Commit Graph

70 Commits

Author SHA1 Message Date
Rory Powell c16f731058
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 2212305f08 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 fd913a5e76 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 6d99caf2a6 Remove logic from endpoint methods 2022-11-10 09:45:02 +00:00
Pedro Silva 517893da26 Fix duplicated name failure 2022-11-09 17:05:05 +00:00
Pedro Silva d79e1543b5 Add test for AppPackage 2022-11-09 16:05:15 +00:00
Pedro Silva c2fcc23884 Improve stability of tests 2022-11-08 18:06:53 +00:00
Pedro Silva a7e4c646ea Move assertion to endpoint definition 2022-11-07 15:48:24 +00:00
mike12345567 da9eaca82a 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 9f96884980 Add missing test to app flow 2022-10-28 16:48:29 +01:00
Rory Powell 0b7ca49418 Fix build failure around PouchDB type 2022-10-25 09:02:55 +01:00
mike12345567 9a6b09e2fd Merge branch 'develop' of github.com:Budibase/budibase into feature/app-backups 2022-10-24 16:51:53 +01:00
mike12345567 49e103e8ef Fixing test case. 2022-10-21 18:52:39 +01:00
Pedro Silva 644a07c8a3 Fix some tests after merge 2022-10-20 17:48:05 +01:00
Pedro Silva 43ae4da422 Merge branch 'develop' into api-tests-tables 2022-10-20 17:37:46 +01:00
Pedro Silva 312e766414 Improvement from PR comments 2022-10-20 15:31:10 +01:00
Pedro Silva 50aaacb903 Fix EOF 2022-10-19 10:42:57 +01:00
Pedro Silva 9ee872c4ef Requested changes 2022-10-19 10:35:00 +01:00
Pedro Silva ea27fb1038 Remove unecessary const 2022-10-18 17:34:19 +01:00
Pedro Silva eae27b48b6 Add operations on rows and columns 2022-10-18 17:29:13 +01:00
Pedro Silva 5ba7100e48 Add Table endpoints 2022-10-17 18:20:40 +01:00
Pedro Silva 672a40cd35 Fix extra declarations 2022-10-13 15:18:36 +01:00
Pedro Silva 4acadbe5f7 Refactor create app 2022-10-13 14:58:23 +01:00
Mitch-Budibase 25f9a2043b 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 4e8577f47d Merge branch 'develop' into api-screens 2022-10-12 16:53:47 +01:00
Rory Powell 40d204fbb2 Fix linting 2022-10-12 10:25:02 +01:00
Pedro Silva 9094da347e Add types for Responses 2022-10-11 16:47:02 +01:00
Pedro Silva 4b916e7074 Fix Identation 2022-10-11 16:24:43 +01:00
Pedro Silva d04a20a9e6 Remove Test and fix types 2022-10-11 16:21:05 +01:00
Pedro Silva a81500e5f0 Add types for response 2022-10-11 15:08:08 +01:00
Pedro Silva db709c6a4d Add test for appDefinition 2022-10-11 15:06:04 +01:00
Mitch-Budibase 013d29475f 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 44c9ef1568 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
Mitch-Budibase 18b9f65161 Merge branch 'develop' into api-screens 2022-10-10 15:40:03 +01:00
Mitch-Budibase a620b147dd API: Screens - Add and Delete Screen
Screens API tests
- This includes adding a basic screen and deleting a screen
2022-10-10 15:39:02 +01:00
Pedro Silva d9baa5be66 Remove comment 2022-10-10 14:39:12 +01:00
Pedro Silva b59cd28b1d Fix revert test with 400 status 2022-10-10 14:24:34 +01:00
Martin McKeaveney 83f3a02d23 ensure correct revert endpoint being hit, update call to revert 2022-10-09 19:31:35 +01:00
Pedro Silva 25b72cbe2b Add tests for revert endpoint 2022-10-07 18:05:58 +01:00
Pedro Silva e343aab655 Add tests for endpoints 2022-10-07 12:19:00 +01:00
Pedro Silva 8dd309f6a5 Add missing applications endpoints 2022-10-04 17:12:38 +01:00
Pedro Silva f488e03bda Merge branch 'develop' into api-create-app 2022-10-04 16:13:58 +01:00
Pedro Silva 8403d95abb Add Sync endpoint 2022-10-04 16:11:19 +01:00
Rory Powell 86bbd73bcd Fix linting for qa-core 2022-10-04 10:59:53 +01:00
Martin McKeaveney abc3e7ddc1 remove module file 2022-10-03 10:04:15 +01:00
Martin McKeaveney 40a01977bd tidy up 2022-10-01 02:56:08 +01:00
Martin McKeaveney c7db9588ce QA Core tests for app creation 2022-10-01 02:54:51 +01:00
Martin McKeaveney 06de974ef5 create app with formdata 2022-09-30 15:35:13 +01:00
Martin McKeaveney 3b08f9f8f1 create app tests 2022-09-30 15:03:38 +01:00
Martin McKeaveney d7e1ad5898
Merge pull request #8024 from Budibase/qa/internal-api-tests
Qa/internal api tests
2022-09-29 10:20:18 +01:00