1
0
Fork 0
mirror of synced 2024-06-30 03:50:37 +12:00
Commit graph

284 commits

Author SHA1 Message Date
mike12345567 3f88ed391f Upping user test cases to cover all of controller. 2021-03-09 17:09:18 +00:00
mike12345567 61110be9d0 Adding test cases for backup and integration. 2021-03-09 16:28:41 +00:00
mike12345567 daaf352b89 Adding test cases for component, templates and hosting as well as updating some existing test cases. 2021-03-09 16:07:44 +00:00
mike12345567 0c51bb7275 Updating query test to include mocked preview/execute and adding layout tests. 2021-03-09 11:56:32 +00:00
mike12345567 f1abb9194f Adding API key tests. 2021-03-08 18:18:53 +00:00
mike12345567 8a0a0dabdb Adding a query find and planning to tackle mocking out the preview and execute functionality. 2021-03-08 18:03:26 +00:00
mike12345567 039de61de3 Some fixes after testing webhooks as well as adding test cases for all webhook endpoints. 2021-03-08 15:57:19 +00:00
mike12345567 a3257d37e6 Updating routing test cases. 2021-03-08 14:49:19 +00:00
mike12345567 28a644958f linting. 2021-03-05 12:55:52 +00:00
mike12345567 67f47df718 Reducing the boilerplate needed around setting up a test case. 2021-03-05 12:11:44 +00:00
mike12345567 af3d84a1d9 Some more quick modifications to test re-factor before PR. 2021-03-05 11:24:15 +00:00
Martin McKeaveney 78c550ff30 remove variable 2021-03-04 17:55:58 +00:00
Martin McKeaveney e2a6bb935e refactor view tests 2021-03-04 17:55:24 +00:00
mike12345567 0be5eb0b98 Moving comment. 2021-03-04 17:12:44 +00:00
mike12345567 06e95e11ea Small amount more user refactoring, removing use of couchTestUtils. 2021-03-04 17:06:33 +00:00
Martin McKeaveney 41043ee6ff Merge branch 'feature/test-refactor' of https://github.com/Budibase/budibase into feature/test-refactor 2021-03-04 16:54:50 +00:00
Martin McKeaveney 50f1535f2c refactor user test 2021-03-04 16:54:44 +00:00
mike12345567 2a962b1c03 Refactoring table testcases. 2021-03-04 14:36:59 +00:00
mike12345567 eacf3387de Refactoring row test cases. 2021-03-04 13:07:33 +00:00
mike12345567 678423300d Refactoring to remove the use of the supertest, making this part of the test config. 2021-03-04 12:32:31 +00:00
mike12345567 26c63c7d9b Refactoring query tests. 2021-03-04 10:57:41 +00:00
mike12345567 f7cdced688 Switching out how headers are handled, and updating the permissions test. 2021-03-04 10:40:27 +00:00
mike12345567 f10ac0a178 Refactoring data source test cases. 2021-03-04 10:05:50 +00:00
mike12345567 79818122fd Re-writing automation tests. 2021-03-03 18:41:49 +00:00
mike12345567 f55c5dec00 Initial work on test refactoring, laying the utilities down which will be the basis of new testing framework, interacting directly with the controllers. 2021-03-03 17:52:41 +00:00
mike12345567 554b5a27c6 Linting. 2021-02-27 10:45:01 +00:00
mike12345567 0c3e287fa8 Very minor change due to issue #1204 - wasn't allowing unauthenticated requests through. 2021-02-27 10:15:05 +00:00
mike12345567 d34a9e12e2 Having the server send out _id and primaryDisplay in an object for relationships, also accepting objects and coercing them on way in. 2021-02-25 09:41:04 +00:00
Martin McKeaveney 3c3677a88e allow empty params 2021-02-23 10:06:55 +00:00
mike12345567 24a07bae41 Some major performance optimisations, found that db.find is not fast unless its indexed, there is also no point in indexing for our internal relationship searching, however we can use the allDocs call. This will likely be slow for very large calls (say 100K records) but for these sort of calls we really need to paginate anyway. 2021-02-18 13:38:57 +00:00
mike12345567 f572bc836e work in progress, enriching in the display names. 2021-02-17 18:04:21 +00:00
mike12345567 cecc8e4306 Starting with some work towards a deeper enrichment of rows. 2021-02-17 17:09:59 +00:00
mike12345567 1c66a6f2e2 Fixing test case. 2021-02-16 16:46:18 +00:00
mike12345567 c812823c3f Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-12 18:03:52 +00:00
mike12345567 da59ca30e6 Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-12 13:40:27 +00:00
mike12345567 3fd557bf08 Flipping RBAC implementation to use levels -> role for resource perms API and resource -> level -> role for full fetch (please note full fetch will only work for resources that have a custom permission in the system somewhere, everything else simply defaults to standard. 2021-02-11 18:13:09 +00:00
mike12345567 a3ae17be8e Merge branch 'master' of github.com:Budibase/budibase into rbac-ui 2021-02-11 13:01:07 +00:00
Andrew Kingston aec4939b93 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-10 18:34:45 +00:00
Martin McKeaveney 63e0e187a6 control RBAC from data section 2021-02-10 18:18:31 +00:00
mike12345567 7a2405c756 First lot of work to update the auto fields into schema. 2021-02-10 17:55:19 +00:00
mike12345567 fa921951a3 Merge branch 'master' of github.com:Budibase/budibase into feature/autocolumns 2021-02-10 16:10:55 +00:00
mike12345567 f4a503d015 WIP - start of auto columns like autonumber, createdBy, createdAt, updatedBy etc. 2021-02-10 16:10:39 +00:00
Martin McKeaveney 933969ce55 code review 2021-02-10 14:24:42 +00:00
Martin McKeaveney 1a945da513 Merge branch 'master' of https://github.com/Budibase/budibase into internal-search 2021-02-10 14:02:57 +00:00
Martin McKeaveney e599854b14 primary and secondary index fields 2021-02-09 18:49:12 +00:00
mike12345567 31d7a7a378 Adding basic permissions test which proves a public user can read from a table, but cannot write. 2021-02-09 17:24:36 +00:00
mike12345567 fee073fcfe Some more fixes after testing permissions a bit further. 2021-02-09 16:01:02 +00:00
Andrew Kingston 4c53e4bcec Fix server query tests 2021-02-09 15:24:56 +00:00
mike12345567 2103378e5c Fixing minor bug with permission add. 2021-02-09 13:14:23 +00:00
mike12345567 c8ef404560 Fixing issues with builtin roles living in the database as well as in code (easier to change in the future this way) - discovered by basic test case. 2021-02-09 13:01:45 +00:00