Commit Graph

48 Commits

Author SHA1 Message Date
Sam Rose 1c23509839
Integrate Elasticsearch as a test datasource. 2025-02-25 14:58:52 +00:00
mike12345567 96f149a96d PR comments. 2024-12-12 11:29:19 +00:00
mike12345567 07c24c16a4 Updating CI and adding postgres legacy to test suite fully. Also fixing a schema export issue. 2024-12-10 18:00:49 +00:00
Sam Rose 2d776e1db6
Fix lint. 2024-12-05 11:00:12 +00:00
Sam Rose 2750b806c2
Remove focus test. 2024-12-05 10:51:38 +00:00
Sam Rose 48c106276d
Implement a test that exports an external schema, then reimports it, asserting the tables match. 2024-12-05 10:47:03 +00:00
Sam Rose e9242dfd11
Fix MySQL options column imports that have commas or other type names in them. 2024-12-03 12:12:38 +00:00
mike12345567 66ade79ff9 Updating rest of test cases. 2024-11-18 17:55:40 +00:00
Sam Rose 6801ade481
Convert rowAction.spec.ts to datasourceDescribe 2024-11-06 16:51:40 +00:00
mike12345567 a9acc7f87b Adding expect function to allow undefined. 2024-08-09 13:39:47 +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
Sam Rose 3b603bdd35
Fix datasource.spec.ts tests. 2024-08-06 14:35:36 +01:00
Sam Rose 00970d5db3
Fix lint. 2024-08-06 14:35:36 +01:00
Sam Rose e5ae064d2c
Fix tables showing up multiple times for Oracle in the datasource info endpoint. 2024-08-06 14:35:36 +01:00
Sam Rose a451b6eb3c
Add Oracle to datasource.spec.ts. 2024-08-06 09:58:02 +01:00
Sam Rose a38dc3d163
Fix datasource.spec.ts's reliance on the node-fetch mock. 2024-08-01 12:45:37 +01:00
Adria Navarro 9371f9913e Types 2024-07-30 18:14:54 +02: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 2be14deb01 Add test 2024-04-26 13:26:14 +02:00
Adria Navarro 1aad2ee6d2 Fix after renames 2024-04-26 12:23:11 +02:00
mike12345567 1af0eaae93 PR comment. 2024-04-19 12:36:05 +01:00
Adria Navarro 16d2c06b8a Add constraints and extra fields 2024-04-19 12:40:39 +02:00
Adria Navarro 1685568089 Improve and fix test 2024-04-19 12:38:57 +02:00
Adria Navarro 1732e14353 Add extra fields 2024-04-19 11:12:52 +02:00
Adria Navarro e03975462e Improve tests 2024-04-19 11:09:20 +02:00
Adria Navarro a1b91da40f Add basic fetch schema test 2024-04-19 10:40:16 +02:00
Sam Rose 08fecca9f2
Delete query.seq.spec.ts 2024-03-22 12:00:26 +00:00
Sam Rose 1f63f0bddf
Run auto fix. 2024-03-19 09:46:10 +00:00
Sam Rose a9392b2176
More types. 2024-02-28 12:13:13 +00:00
melohagan 896b879ce7
Feature/query array schema (#13118)
* Revert "Revert "Add nestedSchemaFields to RestQueryViewer (#13102)""

This reverts commit 6545af12fa.

* Revert "Revert "Dynamic schema generation for query arrays: bug fix and refactor (#13…""

This reverts commit ae4bc362c3.
2024-02-22 17:06:08 +00:00
Martin McKeaveney ae4bc362c3
Revert "Dynamic schema generation for query arrays: bug fix and refactor (#13…"
This reverts commit 0c9d13c79a.
2024-02-21 21:30:22 +00:00
melohagan 0c9d13c79a
Dynamic schema generation for query arrays: bug fix and refactor (#13082)
* Bug fix and refactor

* lint

* Refactor

* refactor

* lint

* type fixes

* Unit test fix and refactor

* refactor

* Make name option for preview, required for query

* Refactor unit tests

* Fix test

* update account-portal

* Revert "update account-portal"

This reverts commit e378f8d702.

* simplify set iteration

* comment
2024-02-21 15:33:13 +00:00
Sam Rose 8e9db069e5
Remove all uses of test.com in the code, replace them with example.com and create a lint rule to prevent this in future. 2024-02-08 16:32:14 +00:00
Adria Navarro db2c20e3ae eslint import/newline-after-import 2023-11-20 21:52:29 +01:00
Sam Rose f4fa542e86 Remove some unused fields, fix a broken spec. 2023-10-12 17:34:48 +01:00
mike12345567 76eef8d3d4 Fixing some test issues. 2023-05-22 16:25:50 +01:00
Adria Navarro 4522d6c906 Fix flaky test 2023-02-05 09:04:47 +00:00
Adria Navarro 16e53957bc Merge branch 'develop' into feature/dependencies-image 2023-01-30 18:54:05 +00:00
mike12345567 ec719b251c Adding test case for secret-value replacement, to confirm that datasources API correctly replaces secret values with the actual secret. 2023-01-27 18:27:03 +00:00
Adria Navarro Redo 9242470f6f Fix snapshots test 2023-01-26 18:20:21 +00:00
Peter Clement 9d841bc947 Server and Worker tests (#8928)
* automation unit tests

* row processor tests

* update executeQuery test

* update groups assertion

* some more worker tests

* plugin tests and tidying up

* linting

* temporarily disable group tests

* more tests

* fix import

* fix backup tests

* add pro mocks to worker

* check for app existence in import test

* test new tsconfig

* testing changes

* Pro test utils (#9020)

* Pro test utils changes

* Add test fixes

* Remove ts-ignore

Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
Co-authored-by: Rory Powell <rory.codes@gmail.com>
2022-12-12 22:02:32 +00:00