1
0
Fork 0
mirror of synced 2024-09-26 06:11:49 +12:00
Commit graph

514 commits

Author SHA1 Message Date
Dean
5ff8b03378 Merge remote-tracking branch 'origin/master' into feature/automation-row-ux-update 2024-06-25 12:05:31 +01:00
Dean
d50a8e0746 Merge remote-tracking branch 'origin/master' into feature/automation-row-ux-update 2024-06-20 10:43:33 +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
Dean
3a10c57651 Merge commit 2024-06-13 16:56:25 +01:00
Michael Drury
dcd5e7934d
Merge branch 'master' into fix/BUDI-8258-update-presence 2024-06-07 18:01:38 +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
c07d73beaf
Modernise datasource.spec.ts. 2024-06-07 16:35:46 +01: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
1a94d2dca9
wip 2024-05-29 14:21:58 +01:00
Sam Rose
7f7ed9f0cb
Move more tests out of sql.spec.ts. 2024-05-21 17:38:38 +01:00
Sam Rose
6bd984ab9c
Making progress towards deleting sql.spec.ts. 2024-05-21 11:51:42 +01:00
deanhannigan
c1874f3376
Merge branch 'master' into feature/filter-bindings 2024-05-09 14:34:07 +01:00
Peter Clement
db273bcd36
Support attachment columns in Automations (#13567)
* base work to support attachments in create / update row

* handle single attachment column

* fix tests

* pro

* fix some types

* handle case where file exists in storage

* improve attacment processing

* refactor slightly and ensure correct url is used for existing attachments

* add test

* Fixing a build issue.

* update tests

* some lint

* remove cursed backend-core test util

* addressing pr comments

* refactoring nasty automationUtils upload code

* remove uneeded check

* use basneeame for fallback filename

* add a test to ensure coverage of single attachment column type

* fail early when fetching object metadata

---------

Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
2024-05-09 14:30:56 +01:00
Dean
4c6629d15f Merge remote-tracking branch 'origin/master' into feature/filter-bindings 2024-05-09 11:05:58 +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
Dean
04588711e2 Refactored out config changes and now excluding on the affected SQS/Multiuser tests 2024-05-07 09:13:43 +01:00
Dean
8bd6599976 Merge remote-tracking branch 'origin/master' into feature/filter-bindings 2024-05-03 10:52:14 +01:00
Sam Rose
6f23877764
Correct types for application updating. 2024-05-03 09:55:55 +01:00
Dean
5e7d1169f7 Minor refactor to accomodate testing with snippets. More test cases for multiple binding types 2024-05-02 16:26:09 +01:00
Adria Navarro
e03975462e Improve tests 2024-04-19 11:09:20 +02:00
mike12345567
e90e2b214e Making sure meta.table is always available. 2024-04-17 17:36:19 +01:00
Michael Drury
2efbd6726c Removing meta from test API, it cannot be supplied, it is an internal property. 2024-04-16 17:28:13 +01:00
Michael Drury
737adfdea9
Merge branch 'master' into labday/sqs 2024-04-08 17:52:09 +01:00
mike12345567
0afb697653 Merge branch 'master' of github.com:Budibase/budibase into labday/sqs 2024-04-08 16:34:31 +01:00
Sam Rose
a1567227cd
Merge branch 'master' of github.com:budibase/budibase into budi-8091-cant-rename-ms-sql-columns-incorrect-syntax-near 2024-04-08 16:11:26 +01:00
Sam Rose
7294fef252
Merge branch 'master' of github.com:budibase/budibase into budi-8091-cant-rename-ms-sql-columns-incorrect-syntax-near 2024-04-08 15:58:14 +01:00
Sam Rose
ee45efd658
Remove unused import. 2024-04-08 15:48:59 +01:00
Sam Rose
8ad0729317
Fix ViewV2API.get to hit the API instead of using the sdk. 2024-04-08 15:48:27 +01:00
Sam Rose
d2c0842c45
Fix viewV2 tests (for now) 2024-04-08 15:17:24 +01:00
Sam Rose
81cd2a1559
Attempt to fix View / ViewV2 types. 2024-04-08 14:58:48 +01:00
Sam Rose
bc072e1424
More progress on fixing up table.spec.ts. 2024-04-05 11:50:27 +01:00
Sam Rose
f80a207d28
Working towards running table.spec.ts against external datasources. 2024-04-04 17:39:35 +01:00
mike12345567
65fa317f9e Fixing yarn lock merge conflict. 2024-04-04 17:23:28 +01:00
mike12345567
d11c316572 Merge branch 'master' of github.com:Budibase/budibase into labday/sqs 2024-04-04 15:02:25 +01:00
Sam Rose
b2ef045ecf
Merge master. 2024-04-03 15:17:38 +01:00
mike12345567
4c755b3af3 Improving typing around search, there was duplicates of SearchParams and SearchResponse - which were a little different, bring all of this together under the types library. 2024-03-28 17:57:37 +00:00
Sam Rose
4183a0aeb7
Set default packages/server test timeout to 30 seconds, and unmock console.log. 2024-03-27 16:57:31 +00:00
Sam Rose
f1609e6763
Retry socket hangups. 2024-03-26 17:25:24 +00:00
Sam Rose
1eae212f83
Stop relying on config.request and create a supertest instance per request. 2024-03-26 15:41:51 +00:00
Sam Rose
e267096a0a
Merge master. 2024-03-26 10:31:47 +00:00
Sam Rose
f3e9e3d35e
Share a single globalSetup/globalTeardown. 2024-03-26 09:49:33 +00:00
Sam Rose
0dba0cebc7
Remove CouchDB container name. 2024-03-25 17:26:15 +00:00
Sam Rose
569f00316b
Merge branch 'master' of github.com:budibase/budibase into remove-jest-testcontainers 2024-03-25 17:12:11 +00:00
Sam Rose
b303592f4c
Remove content length checks. 2024-03-25 15:30:14 +00:00
Sam Rose
66cfb8eedd
Remove jest-testcontainers. 2024-03-25 15:24:14 +00:00
Michael Drury
5240c2c2ca
Merge branch 'master' into fix/BUDI-7444 2024-03-25 10:03:38 +00:00
Sam Rose
08fecca9f2
Delete query.seq.spec.ts 2024-03-22 12:00:26 +00:00
mike12345567
f4f7ac42ec Adding test cases for interpolation of SQL, confirming that the context correctly gets cleaned up before passing into bindings. 2024-03-22 11:40:44 +00:00
Sam Rose
1c13565459
Making really good progress removing the pg mocks. More to do, though. 2024-03-21 18:16:52 +00:00
Sam Rose
681c53156f
Merge master. 2024-03-20 15:52:44 +00:00
Sam Rose
ff22db3d9f
Fold MongoDB unit tests into integration tests, delete MongoDB mocks. 2024-03-20 15:42:06 +00:00
Sam Rose
217b39c232
Reenable no-unused-vars 2024-03-20 11:46:39 +00:00
Sam Rose
fec6c7d267
Fold some mocky unit tests into row.spec.ts 2024-03-15 15:57:27 +00:00
Sam Rose
ac61087379
Merge branch 'master' into reorganise-row-tests 2024-03-15 12:02:17 +00:00
deanhannigan
72a671e93b
Merge branch 'master' into feature/app-list-actions 2024-03-15 09:10:57 +00:00
Sam Rose
850fb3d4ec
Get viewV2.spec.ts running against real databases. 2024-03-14 17:11:09 +00:00
Sam Rose
76e1a4b7da
Fix type check errors. 2024-03-14 11:19:04 +00:00
Sam Rose
3da2261735
Convert view.spec.js to TypeScript, remove reliace on TestConfiguration. 2024-03-14 09:22:50 +00:00
deanhannigan
460c2573e4
Merge branch 'master' into feature/app-list-actions 2024-03-08 12:24:15 +00:00
Sam Rose
2946188ab1
Merge branch 'master' into enforce-example-com-emails-in-tests 2024-03-06 17:15:43 +00:00
Sam Rose
aa20088274
Fix tests. 2024-03-06 16:57:29 +00:00
Sam Rose
4b24fb7c68
Merge master. 2024-03-06 14:59:39 +00:00
Dean
136eeefc26 Merge remote-tracking branch 'origin/master' into feature/app-list-actions 2024-03-05 16:24:14 +00:00
Dean
320b443ca4 Feedback changes. Permission change for app delete from GLOBAL_BUILDER to BUILDER. Minor updates to quota behaviour for apps. 2024-03-05 16:23:39 +00:00
Sam Rose
f1decee010
Get test passing. 2024-03-05 14:37:06 +00:00
Sam Rose
aa124524d4
Add a simpler test. 2024-03-05 10:05:05 +00:00
Sam Rose
13563d18dc
Write a failing test. 2024-03-05 09:20:20 +00:00
Sam Rose
9d8c18337d
Type role controller. 2024-03-04 16:42:41 +00:00
Dean
41b55c28b7 Merge remote-tracking branch 'origin/master' into feature/app-list-actions 2024-03-04 15:13:47 +00:00
Dean
3c684d8cb5 Further refactoring of the tests to bring them up to date 2024-03-04 15:11:26 +00:00
Dean
5f27e3a742 Refactored app duplicate tests 2024-03-04 12:20:34 +00:00
Dean
42893c1218 Merge remote-tracking branch 'origin/master' into feature/app-list-actions 2024-03-04 10:00:03 +00:00
Sam Rose
143daa153c
Fix ViewV2 tests. 2024-03-04 09:38:53 +00:00
Sam Rose
89a03af92a
Fix table test. 2024-03-04 09:20:32 +00:00
Sam Rose
594cd5ee56
Fix permissions tests. 2024-03-01 17:40:10 +00:00
Sam Rose
37a10857df
Migrate ViewV2API 2024-03-01 17:35:51 +00:00
Sam Rose
7fa5dbeec9
Migrate UserAPI 2024-03-01 17:17:38 +00:00
Sam Rose
149d2c0b29
Migrate ScreenAPI 2024-03-01 17:14:30 +00:00
Sam Rose
f91db6d985
Migrate RowAPI.search 2024-03-01 17:13:46 +00:00
Sam Rose
c0907d37ef
Migrate RowAPI.bulkImport 2024-03-01 17:12:46 +00:00
Sam Rose
02ac338c3f
deleteMany -> bulkDelete 2024-03-01 17:11:19 +00:00
Sam Rose
a4e212c0d8
Migrate RowAPI.exportRows 2024-03-01 17:10:49 +00:00
Sam Rose
376bb9c105
Migrate RowAPI.fetch 2024-03-01 17:04:35 +00:00
Sam Rose
a98948150d
Migrate RowAPI.delete 2024-03-01 17:03:34 +00:00
Sam Rose
4efafaeeaf
Migrate RowAPI.patch 2024-03-01 16:40:47 +00:00
Sam Rose
58b1c2bca6
Migrate RowAPI.validate 2024-03-01 16:39:57 +00:00
Sam Rose
a639ba91d3
Migrate RowAPI.save 2024-03-01 16:38:31 +00:00
Sam Rose
5d42804020
Migrate some of RowAPI, WIP 2024-03-01 15:20:07 +00:00
Sam Rose
16e9c5ff4e
Migrate QueryAPI 2024-03-01 14:33:18 +00:00
Sam Rose
f5f81a5fb0
Fix tests. 2024-03-01 13:59:55 +00:00
Sam Rose
46bec3c515
Migrate PermissionAPI 2024-02-29 17:33:36 +00:00
Sam Rose
1a2a77fc91
Migrate LegacyViewAPI 2024-02-29 15:59:03 +00:00
Sam Rose
4fbe03bbda
Migrate DatasourceAPI. 2024-02-29 15:50:18 +00:00
Sam Rose
5163434b08
Convert BackupAPI. 2024-02-29 14:33:09 +00:00
Sam Rose
6b306266b5
Only show stack traces if you ask for them. 2024-02-29 11:09:39 +00:00
Sam Rose
8488ff4144
Print stack traces from inside request handler. 2024-02-29 09:19:14 +00:00
Sam Rose
e309282ff7
Fix type checks. 2024-02-28 17:46:16 +00:00
Sam Rose
d9cffa1878
Migrate AttachmentAPI. 2024-02-28 17:43:39 +00:00