1
0
Fork 0
mirror of synced 2024-09-21 03:43:21 +12:00
Commit graph

7741 commits

Author SHA1 Message Date
Adria Navarro
ff9d934f87 Allow filtering via allOr 2024-08-21 13:01:35 +02:00
Adria Navarro
c5476ce3b3 Test both allOr and allAnd 2024-08-21 13:00:54 +02:00
mike12345567
ff855a677a PR comments. 2024-08-20 13:27:20 +01:00
mike12345567
e941491d8c Don't check row value - always use the column or not. 2024-08-20 13:24:41 +01:00
mike12345567
8847a5b146 Disabling for old/in-memory search. 2024-08-20 13:19:58 +01:00
mike12345567
aab120b9ca Bringing back test cases. 2024-08-20 13:18:40 +01:00
mike12345567
f2beedbee6 Adding a test case for primary display columns, ignore when it has been set to a relationship, instead use another column which is valid in the table. 2024-08-20 13:14:24 +01:00
mike12345567
0d389bd8d7 Quick set of fixes, test cases assumed that multi-depth relationships were allowed, fixing this. 2024-08-20 12:31:46 +01:00
mike12345567
5435028e7d Fix for cyclic relationships, getQueryableFields allowed relationships from other tables, which can't work. 2024-08-20 12:13:37 +01:00
mike12345567
bbcb77c738 Fixing an issue where searching on a relationship column which is in a broken state would break in SQS (previously this was allowed and would return empty relationships). 2024-08-20 07:38:23 +01:00
Adria Navarro
07fe8c6c1f Many to many tests 2024-08-19 15:59:59 +02:00
Adria Navarro
27c618d263 Extra tests 2024-08-19 15:59:59 +02:00
Adria Navarro
bbf7142bd7 Handle relationships properly 2024-08-19 15:59:59 +02:00
Adria Navarro
d8462ba961 Fix tests 2024-08-19 15:59:59 +02:00
Adria Navarro
b744ec3c35 Add extra tests 2024-08-19 15:59:59 +02:00
Adria Navarro
f0a89764f2 Add basic test 2024-08-19 15:59:59 +02:00
Adria Navarro
eb2d71e980 Move getQueryableFields to utils 2024-08-19 15:59:59 +02:00
Adria Navarro
084a481821 Typo 2024-08-19 15:59:59 +02:00
Adria Navarro
09938ae442 Don't change key order on trimming 2024-08-19 15:59:59 +02:00
Adria Navarro
f53500450a Fix wrong test 2024-08-19 15:59:59 +02:00
Adria Navarro
da87c0233b Don't trim usertable 2024-08-19 15:59:59 +02:00
Adria Navarro
ce8730f176 Clean code 2024-08-19 15:59:59 +02:00
Adria Navarro
385c5f6e99 Trim unwanted columns in outputProcessing 2024-08-19 15:59:58 +02:00
Adria Navarro
1a88d9f89b Don't clean relationship query 2024-08-19 15:59:58 +02:00
Adria Navarro
08b0b6af19 Fix search relationships 2024-08-19 15:59:58 +02:00
Adria Navarro
59a164f4df Test relationships 2024-08-19 15:59:58 +02:00
Adria Navarro
ee5c4e8ed8 Don't trim prefixed keys 2024-08-19 15:59:58 +02:00
Adria Navarro
b1d78f129b Remove jest only 2024-08-19 15:59:58 +02:00
Adria Navarro
ac62fc0e29 Fix jest asserts 2024-08-19 15:59:58 +02:00
Adria Navarro
0bdb6396ed Remove unneeded test 2024-08-19 15:59:58 +02:00
Adria Navarro
48486cdaa4 Implement query 2024-08-19 15:59:58 +02:00
Adria Navarro
5b13e53a3b Fix tests 2024-08-19 15:59:58 +02:00
Adria Navarro
6fe628f804 Fix tests 2024-08-19 15:59:58 +02:00
Adria Navarro
42070dcd39 Add tests 2024-08-19 15:59:58 +02:00
Adria Navarro
728b4d363d Add removeInvalidFilters utils 2024-08-19 15:59:58 +02:00
Adria Navarro
0212f584d2 Add imports 2024-08-19 15:59:57 +02:00
Adria Navarro
331e8eb7be Add view tests 2024-08-19 15:59:18 +02:00
Adria Navarro
3acc9bde45 Extra tests 2024-08-19 15:59:18 +02:00
Adria Navarro
723dfee8c8 Add field mapping tests 2024-08-19 15:59:18 +02:00
Adria Navarro
120d5d953d Fetch only table fields and validate 2024-08-19 15:59:18 +02:00
Peter Clement
0e229c9b2e
Update automation test builder to support branching (#14387)
* add branch step definition

* update automation test builder to support branching

* rename Automation test builder

* example test

* pr comments
2024-08-15 16:07:42 +00:00
mike12345567
e32409da15 Fixing an issue with app import - old attachments which have an invalid state can cause the app to fail to import. 2024-08-15 14:25:36 +01:00
Peter Clement
f15847a40f
More automation typing in preparation for branching (#14378)
* More typing for automations

* undo test updates

* remove casting of loop step and add more types

* remove unused type

* pro

* Update types and fix ts issues

* add branching types

* remove any cast

---------

Co-authored-by: Adria Navarro <adria@budibase.com>
2024-08-14 21:39:39 +01:00
Peter Clement
37f749019d
Add more automation tests (#14369)
* Add more automation tests

* remove comment

* update assertion

* unused type

* split out query creation

* remove map
2024-08-13 14:16:55 +01:00
Sam Rose
bcefa398a4
Merge master. 2024-08-12 09:43:49 +01:00
mike12345567
28a10bf908 Another test fix (yay for this one) 2024-08-09 14:54:47 +01:00
mike12345567
3e1a0a60b4 Checking the correct operation - also typeguarding the check. 2024-08-09 14:35:13 +01:00
mike12345567
a9acc7f87b Adding expect function to allow undefined. 2024-08-09 13:39:47 +01:00
mike12345567
97919821ac Merge branch 'fix/invalid-table-schema-search' of github.com:Budibase/budibase into fix/invalid-table-schema-search 2024-08-09 13:36:46 +01:00
mike12345567
904f0dc9fd Adding jest-extended to allow use of oneOf expect, fixing for updated fetching. 2024-08-09 13:36:22 +01:00