1
0
Fork 0
mirror of synced 2024-09-21 20:01:32 +12:00
Commit graph

365 commits

Author SHA1 Message Date
Adria Navarro
3ee555e72a Fix js tests 2024-02-12 12:50:23 +01:00
Adria Navarro
8651a836a5 Fix exports 2024-02-12 12:34:39 +01:00
Adria Navarro
f1b31b4119 Export type 2024-02-12 11:03:08 +01:00
Sam Rose
7a012f1f4b
Add tests for create queries. 2024-02-05 16:49:21 +00:00
Sam Rose
7cceb04ca2
Basic Postgres and Mongo query testcases. 2024-02-05 11:43:40 +00:00
Sam Rose
669b0743ac
Typing improvements around automation loop tests. 2024-01-30 10:00:44 +00:00
Adria Navarro
1024bd1dbf Lint 2024-01-30 09:23:28 +01:00
Adria Navarro
9da9935c95 Types 2024-01-29 23:25:12 +01:00
Adria Navarro
7394a7cd64 Smart typing 2024-01-29 23:19:07 +01:00
Adria Navarro
ff75fbf99e Convert query.sec.spec.ts to ts 2024-01-29 22:57:20 +01:00
Adria Navarro
f3f6e0c41b Fix tests 2024-01-29 15:43:35 +01:00
Adria Navarro
f1e90b8b01 Remove last controller.row usages 2024-01-26 11:24:32 +01:00
Adria Navarro
39d0382a56 Remove controller.datasource usages 2024-01-26 11:11:54 +01:00
Adria Navarro
12a08c6864 Import specific controllers 2024-01-26 11:07:06 +01:00
Adria Navarro
9592f25b66 Use api calls for getRow/s test helper 2024-01-26 11:01:16 +01:00
Adria Navarro
b3a59dfa7f Use api calls for createRow test helper 2024-01-26 11:00:03 +01:00
Adria Navarro
ce81248e66 Use api calls for getTable test helper 2024-01-26 10:58:46 +01:00
Adria Navarro
c0581e41d3 Renames 2024-01-26 10:57:35 +01:00
Adria Navarro
da9f367962 Use api calls for updateTable test helper 2024-01-26 10:57:05 +01:00
Adria Navarro
cb53d31833 Renames 2024-01-26 10:56:38 +01:00
Adria Navarro
a555734519 Use api calls for createExternalTable test helper 2024-01-26 10:52:35 +01:00
mike12345567
1fa319ac9f Add throw functionality to get more information about errors occurring during tests. 2024-01-24 14:11:24 +00:00
Peter Clement
601ec35549 rename instance of trigger step to triggerAutomationRun 2024-01-15 10:00:37 +00:00
Peter Clement
72c2f6577c fix tests oncemore 2024-01-11 15:41:41 +00:00
Peter Clement
021eb58ea7 fix tests 2024-01-11 14:13:59 +00:00
Peter Clement
9c22bee324 type fix 2024-01-11 11:39:04 +00:00
Peter Clement
e99a7672a7 test and pr comments 2024-01-05 16:12:31 +00:00
Adria Navarro
2a92263df5 Add tests 2023-12-14 10:07:46 +01:00
Sam Rose
614a659032
Merge branch 'master' of github.com:budibase/budibase into budi-7664-sqs-self-host-ui-for-detecting-lack-of-sqs-support 2023-12-12 14:44:08 +00:00
Sam Rose
c50e8fd05b
Split withEnv, so the core env isn't touched in it. 2023-12-11 17:43:56 +00:00
Sam Rose
867d68d429
Cleanup. 2023-12-11 17:25:38 +00:00
Sam Rose
e0243b495c
Fix tests. 2023-12-11 17:20:00 +00:00
mike12345567
33b7e4d5d2 Some final refactoring, using proper jwt lib rather than requiring (proper typing). 2023-12-05 16:28:19 +00:00
Adria Navarro
083ff0b7c7 Fix tests typing 2023-12-04 09:23:01 +01:00
Adria Navarro
db2c20e3ae eslint import/newline-after-import 2023-11-20 21:52:29 +01:00
Michael Drury
c511f621d3
Merge branch 'master' into more-db-typing-improvements 2023-11-08 18:50:39 +00:00
Sam Rose
e3a4c34f8d
Pass types through context callbacks. 2023-11-08 16:17:24 +00:00
mike12345567
4dc6b1eeda Merge branch 'master' of github.com:Budibase/budibase into fix/11972-external-relationship-formulas 2023-11-08 14:41:53 +00:00
Sam Rose
d146df5f73
Convert user.spec.js to user.spec.ts 2023-11-08 11:53:00 +00:00
Sam Rose
0633a3de65
WIP 2023-11-08 10:03:22 +00:00
mike12345567
68a3e030c2 Adding test case to check that relationships can be used in external table formulas. 2023-11-07 18:34:51 +00:00
Sam Rose
f21addeb71
Add another test to make sure relationships are cleared when asked. 2023-11-06 17:34:30 +00:00
Sam Rose
e316124d6e
Add a test for the user column migration bug fix we did last night. 2023-11-03 11:42:39 +00:00
mike12345567
88cc8a19ee Resetting timekeeper and resetting pro back to normal. 2023-10-31 11:19:53 +00:00
mike12345567
2b96de3c30 Merge branch 'master' of github.com:Budibase/budibase into fix/backups-remove-automation-logs 2023-10-31 10:38:07 +00:00
Michael Drury
9643d9c0e2
Merge branch 'master' into feature/budi-7607-migrate-user-relationship-columns-to-the-new-user-column 2023-10-30 17:41:44 +00:00
mike12345567
41d99f6a58 Updating app backup exports to not include automation logs as these bloat the backups. 2023-10-30 17:41:08 +00:00
Sam Rose
af59039d1c
Add tests for attachment processing endpoint. 2023-10-30 16:46:27 +00:00
Michael Drury
c0a9b0a678
Merge branch 'master' into feature/budi-7607-migrate-user-relationship-columns-to-the-new-user-column 2023-10-27 13:36:52 +01:00
mike12345567
854ff47e1c Final fix - removing external from create table (internal). 2023-10-26 18:36:07 +01:00
mike12345567
e12cef305a Fixing export. 2023-10-26 18:34:21 +01:00
mike12345567
983091e901 Fix for tests - row.spec.ts needs to pick correct table create. 2023-10-26 18:21:06 +01:00
mike12345567
d0f989597a Updating tests to be more consistent in how they pick to create an internal or external table. 2023-10-26 17:27:54 +01:00
mike12345567
19eaafd946 Fixing some test cases. 2023-10-26 16:32:34 +01:00
melohagan
9616e8e551
Custom role navigation links (#12056)
* Refactor routing unit tests

* Filter out higher level roles in preview

* unit test

* Refactor

---------

Co-authored-by: Michael Drury <me@michaeldrury.co.uk>
2023-10-26 15:28:12 +00:00
mike12345567
ed0670a008 Major update to make the table.type always 'table' and then adding a new sourceType which states what source the table came from, external or internal. Don't want to keep using a type that should be static as two different things. 2023-10-26 13:19:09 +01:00
mike12345567
455b26bac9 Making sure the source ID is always set when creating a table - the frontend expects this to be set for every table so making the type represent this correctly. 2023-10-25 19:00:25 +01:00
Sam Rose
78afba63de
Emit table updates to the builder socket, and some minor refactoring. 2023-10-25 11:03:35 +01:00
Sam Rose
febfab0927
Fix tests/types. 2023-10-23 10:48:10 +01:00
Sam Rose
9dd16381a7
Merge base branch. 2023-10-23 09:52:17 +01:00
Sam Rose
a3ad8780de
Implement many-to-many user column migrations. 2023-10-19 17:28:55 +01:00
Sam Rose
6ae5451fdf
Create failing test. 2023-10-18 16:56:55 +01:00
mike12345567
cef71ff708 Adding test cases for navbar update. 2023-10-13 18:03:10 +01:00
Sam Rose
c76e110350 Add BulkImportResponse as a type after merging Adri's type changes. 2023-10-11 16:58:24 +01:00
Sam Rose
123f96db12 Pull origin, resolve merge conflicts. 2023-10-11 16:49:34 +01:00
Sam Rose
a0e9abb95b Responding to PR feedback. 2023-10-11 16:45:02 +01:00
Adria Navarro
248c44ac2a Fix relationship field metadata 2023-10-11 12:55:23 +02:00
Adria Navarro
40226c5c3a Fix more types 2023-10-10 18:54:57 +02:00
Adria Navarro
8c99ac3f9b Test search 2023-09-28 10:00:25 +02:00
Adria Navarro
a87e3dd0fc Extra tests 2023-09-28 10:00:25 +02:00
mike12345567
e916178046 Adding test case for new endpoint and covering public, builder and normal roles. 2023-09-27 15:46:04 +01:00
mike12345567
85887d0371 Adding test case for app import functionality. 2023-09-20 18:25:34 +01:00
Adria Navarro
d1e1ad4930 Revert TestConfiguration changes 2023-09-13 16:33:04 +02:00
Adria Navarro
9c6e880479 Fix update datasource test helper 2023-09-13 15:03:21 +02:00
Adria Navarro
142fb18c17 Fix tests 2023-09-13 14:09:48 +02:00
Adria Navarro
6bae382d81 Fix tests 2023-09-13 12:23:59 +02:00
Adria Navarro
cf74f19381 Use test api 2023-09-13 10:13:54 +02:00
Adria Navarro
4d12ee53da LegacyView test api 2023-09-13 09:59:17 +02:00
Adria Navarro
14259c82f3 Use test api 2023-09-13 09:57:41 +02:00
Adria Navarro
b5e6b42db2 Reuse tables 2023-09-12 20:40:00 +02:00
Adria Navarro
458de1282e Use api for testing 2023-09-12 20:17:21 +02:00
Adria Navarro
f0872c1fa3 Improve api 2023-09-12 19:59:37 +02:00
Adria Navarro
fccb2f625c Use configs 2023-09-12 19:39:40 +02:00
Adria Navarro
3843581e56 Unify 2023-09-12 19:31:58 +02:00
Adria Navarro
cb762cc336 Use api for testing 2023-09-12 19:03:30 +02:00
Adria Navarro
b63b61655b Fixes 2023-09-08 15:54:27 +02:00
Adria Navarro
9e799c6b93 Legacy views tests 2023-09-08 10:43:19 +02:00
Adria Navarro
e2b8226de1 Merge branch 'develop' into BUDI-7367/ds_plus_row_unittest 2023-09-08 09:11:27 +02:00
Adria Navarro
1c8060272d Fix import 2023-09-06 01:49:54 +02:00
Adria Navarro
14303c9eb0 Extend test create api 2023-09-05 11:41:30 +02:00
Adria Navarro
e4479ee522 Use docker utils helpers 2023-09-04 19:05:04 +02:00
Adria Navarro
8931309669 Datasource test api 2023-09-04 18:53:32 +02:00
Adria Navarro
cb6977a18b Create non-plus datasource 2023-09-04 17:01:49 +02:00
Adria Navarro
122cd843ab Type ds in testconfiguration 2023-09-04 16:25:34 +02:00
Adria Navarro
900c773ce9 Renamings 2023-09-04 12:17:37 +02:00
Adria Navarro
cefb57d78a Merge branch 'develop' into views-v2-frontend 2023-08-30 15:12:56 +02:00
Andrew Kingston
a22fc8d208 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-24 12:07:23 +01:00
Adria Navarro
12be5a3d83 Setuo init pro mocks 2023-08-24 11:47:51 +02:00
Adria Navarro
972cc9916b Add inheritance tests 2023-08-24 09:39:38 +02:00
Adria Navarro
e4feb64fe5 Use extracted functions 2023-08-22 12:19:20 +03:00