Sam Rose
c9fecbaa77
Fix updating rows in external tables where the primary key is an autocolumn.
2024-06-21 15:12:02 +01:00
Sam Rose
f4378bd561
Merge branch 'master' of github.com:budibase/budibase into budi-8220-support-updating-existing-rows-for-external-databases-using-2
2024-06-21 13:08:39 +01:00
mike12345567
b4910043c6
Addressing PR comments.
2024-06-21 11:27:47 +01:00
mike12345567
fead1f436a
test case is only for internal.
2024-06-20 18:53:01 +01:00
mike12345567
ae68c561f4
Test case.
2024-06-20 18:51:04 +01:00
mike12345567
86bae92ada
Refactoring search test to make it easier to find promises which aren't handled.
2024-06-20 17:13:42 +01:00
mike12345567
66ef0cb79a
Adding back SQS - wasn't causing a problem.
2024-06-20 16:05:03 +01:00
mike12345567
b6b05e08b1
Removing SQS from view test to check.
2024-06-20 15:52:56 +01:00
mike12345567
3345364675
Updating test case - not exactly sure what it was testing before, but now it definitely confirms paginated results are stable.
2024-06-20 14:36:08 +01:00
mike12345567
86d9de5a2d
Fixing view test cases, adding SQS to it and correcting the default sort order.
2024-06-19 18:57:37 +01:00
Sam Rose
602faf1c67
Add test for composite primary keys for external datasource imports.
2024-06-19 17:52:48 +01:00
mike12345567
58ec7a50b0
Implementing row counting for in-memory, also updating the in memory search function.
2024-06-19 17:51:11 +01:00
mike12345567
a97b24658f
Fixing test case, it didn't provide a primary field.
2024-06-19 15:08:22 +01:00
Michael Drury
223df424fc
Merge branch 'master' into feature/count-rows-to-return
2024-06-19 14:20:31 +01:00
mike12345567
0e5de7f16d
Test updates.
2024-06-19 13:36:34 +01:00
Sam Rose
80642100fa
Merge branch 'master' into feature/count-rows-to-return
2024-06-19 09:05:56 +01:00
mike12345567
e0d8a66fd8
Adding test cases for counting as well as some small fixes.
2024-06-18 18:44:17 +01:00
Sam Rose
e288fc8795
Disable upserting for MSSQL in bulkImport for now.
2024-06-18 18:02:20 +01:00
Sam Rose
5ac8a7d514
bulkImport upsert working everywhere excpet mssql
2024-06-18 17:43:25 +01:00
Sam Rose
335c174643
Create a failing test.
2024-06-18 16:39:35 +01:00
Peter Clement
2b96cbcad7
Expose old row binding in automations ( #13931 )
...
* expose old row through the emitter
* accidentally added oldRow to step
* fix row fetch in external datasources
* add test for new / old row comparison
* add testing for old row update event
* allow function overloading in test files
* update tests per comments
* handle event race condition
* update test data modal to account for old row output
* switch icon positioning
2024-06-18 13:45:58 +01:00
mike12345567
73013332ae
Adding countRows to search validators.
2024-06-18 11:16:21 +01:00
Sam Rose
75e79156f7
Merge branch 'master' into budi-8238-rewrite-postgresspects-to-use-knex
2024-06-17 16:45:33 +01:00
Sam Rose
903c3cf84d
Fix flake in generic-sql.spec.ts.
2024-06-17 16:17:00 +01:00
Sam Rose
c107ab937d
Remove rawQuery entirely.
2024-06-17 16:15:51 +01:00
Sam Rose
a54048e308
Solve all remaining TODOs in search.spec.ts.
2024-06-14 14:57:31 +01:00
Sam Rose
1161c185e2
Down to 0 failures.
2024-06-13 17:46:03 +01:00
Sam Rose
c01c2c7cc3
Down to 4 failures.
2024-06-13 16:23:16 +01:00
Sam Rose
746ee711ae
Down to 19 failures.
2024-06-13 14:45:43 +01:00
Sam Rose
cb6acd8c0b
Down to 71 failures.
2024-06-13 12:24:27 +01:00
Sam Rose
7e69f85e77
More progress.
2024-06-12 18:07:46 +01:00
Sam Rose
22bf0d05ad
Making progress.
2024-06-12 17:58:13 +01:00
Sam Rose
ae6539161f
Get rid of negation in predicate.
2024-06-12 17:28:03 +01:00
Sam Rose
7e4f571eb3
wip
2024-06-12 15:24:46 +01:00
Sam Rose
95f5844a44
Get in-memory searching into the search tests.
2024-06-12 15:24:46 +01:00
melohagan
f8765fb254
Don't add or remove quotas for external DB rows ( #13926 )
...
* Don't add or remove quotas for external DB rows
* update account-portal
* fix unit test
2024-06-12 13:49:37 +00:00
Sam Rose
13ec629109
Trigger server tests.
2024-06-10 15:50:04 +01:00
Sam Rose
d579972e5f
Slim down postgres.spec.ts, most of its content is tested elsewhere now across all datasources.
2024-06-10 10:59:33 +01:00
Michael Drury
dcd5e7934d
Merge branch 'master' into fix/BUDI-8258-update-presence
2024-06-07 18:01:38 +01:00
mike12345567
3cc4b71561
Fixing some issues highlighted by test case.
2024-06-07 17:59:18 +01:00
mike12345567
f76eb1b220
Merge branch 'master' of github.com:Budibase/budibase into fix/BUDI-8258-update-presence
2024-06-07 17:24:40 +01:00
mike12345567
5de2dc8382
Some test updates to make the fetchSchema tableFilter prop usable.
2024-06-07 17:13:06 +01:00
Sam Rose
85c372c4d6
Move some mysql.spec.ts and postgres.spec.ts tests into datasource.spec.ts.
2024-06-07 16:56:07 +01:00
Sam Rose
d682320371
Fix last test.
2024-06-07 16:40:25 +01:00
Sam Rose
c07d73beaf
Modernise datasource.spec.ts.
2024-06-07 16:35:46 +01:00
Adria Navarro
f4e14db22a
Add failing test
2024-06-07 10:54:14 +02:00
mike12345567
2c86ea14fd
Changing how disk cleanup is performed.
2024-06-06 15:07:06 +01:00
Sam Rose
ac53a97176
WIP
2024-06-06 14:55:07 +01:00
mike12345567
878114133c
Adding test.
2024-06-06 12:36:57 +01:00
Adria Navarro
47b77d6744
Run test only with internal tables
2024-06-04 16:46:50 +02:00
Adria Navarro
7aa6af6e13
Add tests to support existing configs
2024-06-04 16:40:09 +02:00
Adria Navarro
edd9ebc389
Tests
2024-06-04 12:33:48 +02:00
Adria Navarro
b65e9cfc80
Lint
2024-06-04 12:20:19 +02:00
Adria Navarro
1c8feaedb1
Copy change
2024-06-04 12:03:42 +02:00
Adria Navarro
44708a27ff
Merge branch 'BUDI-8282/validate-configuration' into BUDI-8282/validate-configuration-for-hidden-views
2024-06-04 11:37:54 +02:00
Adria Navarro
aefedce568
Renames
2024-06-04 11:35:09 +02:00
Adria Navarro
819cc6bebb
Fix tests
2024-06-04 11:18:33 +02:00
Adria Navarro
2d953f19cc
Clean validation message
2024-06-04 11:11:50 +02:00
Adria Navarro
9b82116c61
Copy changes
2024-06-04 10:39:56 +02:00
Adria Navarro
cc3808997c
Fix viewV2 tests
2024-06-03 13:26:49 +02:00
Adria Navarro
91c20213dc
Validate readonly
2024-06-03 12:12:04 +02:00
Adria Navarro
efc9d3399e
Validate schema
2024-06-03 12:12:04 +02:00
Adria Navarro
5912c2b129
Copy change
2024-06-03 12:12:03 +02:00
Adria Navarro
5c3973d7f9
Merge branch 'master' into feat/readonly-columns
2024-06-03 10:06:50 +02:00
Adria Navarro
6ce0b3c368
Copy change
2024-05-30 11:46:57 +02:00
Sam Rose
fb4cecc93f
Update template tests to make sure importing templates works for SQS.
2024-05-29 17:07:29 +01:00
Sam Rose
53e035fcb5
Merge branch 'master' of github.com:budibase/budibase into test-template-import
2024-05-29 16:11:57 +01:00
Adria Navarro
4b0e433c45
Prevent write readonly column
2024-05-29 15:52:22 +02:00
Adria Navarro
2d5ecb6e3e
PR comments
2024-05-29 15:50:10 +02:00
Adria Navarro
05544d3082
Simplify mock
2024-05-29 15:45:33 +02:00
Sam Rose
1a94d2dca9
wip
2024-05-29 14:21:58 +01:00
Adria Navarro
ab0bac689b
Add tests
2024-05-27 14:53:26 +02:00
Adria Navarro
9e4c575d79
Add license tests
2024-05-27 14:44:00 +02:00
Adria Navarro
422b1e2753
Fix tests
2024-05-27 14:31:45 +02:00
Adria Navarro
6d71c8c960
Merge branch 'master' into BUDI-8284/readonly-settings-columns-in-views
2024-05-27 14:16:59 +02:00
Adria Navarro
041f85886c
Ensure consistency
2024-05-27 14:16:03 +02:00
Adria Navarro
9bac192cf9
Add tests
2024-05-27 14:11:50 +02:00
Adria Navarro
3cf230e3af
Add tests
2024-05-27 13:59:39 +02:00
Adria Navarro
65d2aa50c6
Guard readonly fields
2024-05-27 13:39:43 +02:00
Adria Navarro
6acb3f6669
Validation test
2024-05-24 16:15:24 +02:00
Adria Navarro
28137f9500
Validate view schema on upsert
2024-05-24 16:07:07 +02:00
mike12345567
ae26f66cf9
Fixing a test case.
2024-05-24 12:40:58 +01:00
Sam Rose
120f240f01
Fix tests.
2024-05-23 10:43:44 +01:00
Sam Rose
a9f8a72ebd
Attempting to fix tests.
2024-05-22 18:00:32 +01:00
Sam Rose
f8fb08c72c
Merge master.
2024-05-22 17:24:29 +01:00
Sam Rose
46e310018e
Fix tests.
2024-05-22 16:57:27 +01:00
Sam Rose
7aade03ed2
Merge branch 'delete-sql-spec-ts-2' of github.com:budibase/budibase into delete-sql-spec-ts-2
2024-05-22 14:02:16 +01:00
Sam Rose
b6e3e7659c
Remove extraneous comment.
2024-05-22 14:01:59 +01:00
Sam Rose
e53dddfdf0
Merge branch 'master' into delete-sql-spec-ts-2
2024-05-22 10:35:16 +01:00
Sam Rose
7f7ed9f0cb
Move more tests out of sql.spec.ts.
2024-05-21 17:38:38 +01:00
Adria Navarro
f14e6d014c
Merge branch 'master' into budi-8195/unable-to-load-grid-when-using-external-postgres
2024-05-21 16:55:00 +02:00
Adria Navarro
a55f975489
Fix tests
2024-05-21 16:11:36 +02:00
Sam Rose
bc63a11979
Move sort stability check to search.spec.ts.
2024-05-21 14:20:05 +01:00
Sam Rose
9c9b2ff48d
Move empty object range tests out of sql.spec.ts.
2024-05-21 14:15:17 +01:00
Sam Rose
682cdfffe8
Respond to PR feedback.
2024-05-21 14:03:07 +01:00
Adria Navarro
8cf021f254
Add null row
2024-05-21 14:30:37 +02:00
Adria Navarro
6eefa1afe8
Add comment
2024-05-21 14:30:03 +02:00
Adria Navarro
7c7f88bd47
Pop on asserts
2024-05-21 13:41:46 +02:00
Adria Navarro
221c8a3f0a
Shuffle all test createRows
2024-05-21 13:31:15 +02:00
Sam Rose
6bd984ab9c
Making progress towards deleting sql.spec.ts.
2024-05-21 11:51:42 +01:00
Sam Rose
8be41da728
Merge branch 'master' of github.com:budibase/budibase into sqs-user-tests
2024-05-20 17:02:47 +01:00
Sam Rose
e2a1ab7eaf
All tests passing.
2024-05-20 17:01:52 +01:00
Adria Navarro
0b01b67661
Merge branch 'master' into budi-8195/unable-to-load-grid-when-using-external-postgres
2024-05-20 17:06:57 +02:00
Adria Navarro
7d709d0d22
Fix flaky test
2024-05-20 16:57:03 +02:00
Adria Navarro
684e360715
Add other tests
2024-05-20 16:49:38 +02:00
Adria Navarro
57e73488b5
Add tests
2024-05-20 16:34:00 +02:00
Conor Webb
3c74d29cf6
Added the ability to disable automations ( #13667 )
...
* Added disabling functionality for automations
* Removed external trigger automations that are disabled from selectable bindings
* Added new popover option for disabling automations
* Added toggle UI Inside automation screen
* Added subtle styling to automation list for disabled functionality.
* Fixed linting error
* Removed duplicate bbui import
* Fixed store function spacing
* Fixed linting issues.
* Added the requested changes to how disable is handled.
* Fixed linting issues.
* Minor UI tweaks based on feedback.
* Added logic to prevent crons type automations from running when disabled.
* Removing webhook disable, causes trigger url to be re-generated.
* Add unit test to ensure disabled automations are filtered out of the active queue
* Fixed lint issues
* Reverted disabled unit test
* Added error throw for disabled automations
* Add test for when a disabled automation gets triggered
* Added try, catch for trigger function - error handling
* Fixed linting issues
2024-05-20 15:13:08 +01:00
Sam Rose
402afa1df6
Merge master.
2024-05-20 14:19:55 +01:00
Sam Rose
c268879e94
Merge master.
2024-05-20 12:39:02 +01:00
Sam Rose
fd2e0020cd
Fix more date math problems.
2024-05-20 12:31:12 +01:00
Sam Rose
079318379d
Fix date math problem in search tests.
2024-05-20 12:23:03 +01:00
Sam Rose
1562e7b1f1
Working towards user relationship tests passing.
2024-05-20 12:05:01 +01:00
Sam Rose
941bd7a657
Merge master.
2024-05-20 12:00:39 +01:00
Sam Rose
902613d600
Working towards user relationship tests passing.
2024-05-20 12:00:08 +01:00
Dean
3019e54b92
Fix for date based binding tests
2024-05-20 11:25:48 +01:00
Dean
37dd75823f
PR feedback, signature to signature single
2024-05-17 17:04:15 +01:00
Dean
b0a65b4699
Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component
2024-05-13 16:22:19 +01:00
Dean
0589a6a730
Refactored signature from previous array implementation to the new single approach. Added support for automations
2024-05-13 16:19:02 +01:00
Dean
f696299ceb
Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component
2024-05-13 11:35:20 +01:00
Adria Navarro
e451e99f6b
Fixes
2024-05-13 12:35:01 +02:00
Adria Navarro
1732feed27
Uncomment 💩
2024-05-13 12:35:00 +02:00
Adria Navarro
fa2843b296
Improve tests
2024-05-13 12:35:00 +02:00
Adria Navarro
2833e0558e
Test deprecated_multi_user bindings
2024-05-13 12:35:00 +02:00
Adria Navarro
1fc2efd6f5
Clean
2024-05-13 12:35:00 +02:00
Adria Navarro
f7a997aaef
Update some tests
2024-05-13 12:35:00 +02:00
Adria Navarro
c130f2976c
Change test
2024-05-13 12:35:00 +02:00
Adria Navarro
c890f885e6
Merge branch 'master' into feat/budi-8123-single-user
2024-05-13 12:34:01 +02:00
Adria Navarro
ae83bb695e
Fix tests depending on date
2024-05-13 11:03:15 +02:00
Adria Navarro
d83e5e21f2
Merge branch 'master' into feat/budi-8123-single-user
2024-05-09 18:05:16 +02:00
deanhannigan
bf88090c89
Merge branch 'master' into feature/signature-field-and-component
2024-05-09 16:39:54 +01:00
Sam Rose
bfc63bd4e2
Remove the last internal.spec.ts file.
2024-05-09 16:26:08 +01:00
deanhannigan
b5bf914cd7
Merge branch 'master' into feature/signature-field-and-component
2024-05-09 14:47:14 +01:00
deanhannigan
32cce5f5c6
Merge branch 'master' into feature/filter-bindings
2024-05-09 14:24:29 +01:00
mike12345567
bf953597c7
Updating auto column test to only run against internal DB.
2024-05-09 13:18:50 +01:00
Michael Drury
6b84abda48
Merge branch 'master' into fix/disable-external-auto-columns
2024-05-09 12:57:02 +01:00
mike12345567
0a96bb9684
Disabling auto-column fieldtype and subtypes. This is not something that is currently supported through the UI, so this is not a breaking change, just making sure these type of scenarios don't actually occur as they don't work particularly well.
2024-05-09 12:44:30 +01:00
Sam Rose
30519d808a
Merge branch 'master' into remove-unneeded-jest-unmock-calls
2024-05-09 12:15:33 +01:00
Sam Rose
69c8264388
Remove src/sdk/app/rows/tests/internal.spec.ts.
2024-05-09 11:57:17 +01:00
Dean
4c6629d15f
Merge remote-tracking branch 'origin/master' into feature/filter-bindings
2024-05-09 11:05:58 +01:00
Sam Rose
b99e3794b2
Move parallel auto ID row creation test to row.spec.ts.
2024-05-09 10:58:52 +01:00
Sam Rose
033c642c12
Remove unnecessary jest.unmock calls.
2024-05-09 10:15:05 +01:00
Dean
3712e290b0
Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component
2024-05-09 09:19:00 +01:00
Sam Rose
264ce5e272
Merge branch 'master' into search-tests-boolean
2024-05-08 14:20:36 +01:00
Peter Clement
1d300c2577
Remove aws sdk global mock and update tests ( #13637 )
...
* Remove aws sdk global mock and update tests
* add awaits
* Minio healthcheck in tests.
* Bind to 127.0.0.1 instead of 0.0.0.0
* Fix port fetching for minio container.
* Actually fix port mapping this time.
* Pull minio container before running tests.
* Enable testcontainers debug logging.
* Promote minio container to always running in tests, like CouchDB.
* Remove testcontainers debug logging.
---------
Co-authored-by: Sam Rose <hello@samwho.dev>
2024-05-08 14:08:34 +01:00
deanhannigan
42a5d3d0e0
Merge branch 'master' into feature/filter-bindings
2024-05-08 10:22:45 +01:00
Dean
a29301a2fc
Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component
2024-05-08 09:43:30 +01:00
Sam Rose
3bc1e6b387
Fix behaviour of 'when filter empty' for empty and notEmpty filter types.
2024-05-07 16:46:54 +01:00
Dean
04588711e2
Refactored out config changes and now excluding on the affected SQS/Multiuser tests
2024-05-07 09:13:43 +01:00
Adria Navarro
b36d7868a4
Lint
2024-05-06 08:06:43 +02:00
Adria Navarro
569488deee
Move migration logic to backend
2024-05-06 08:06:43 +02:00