1
0
Fork 0
mirror of synced 2024-09-19 10:48:30 +12:00
Commit graph

273 commits

Author SHA1 Message Date
Adria Navarro
624dc5ff26 Merge branch 'develop' into BUDI-7189/split_fields_and_ui 2023-08-01 11:59:18 +02:00
Adria Navarro
c425194a85 Check schemas on patch 2023-08-01 11:38:36 +02:00
Adria Navarro
b528257bbe Change viewrequest to accept schema 2023-08-01 10:45:00 +02:00
Adria Navarro
3335c86a84 Delete row from view 2023-07-31 16:14:14 +02:00
Adria Navarro
d1ad443d18 Patch 2023-07-31 15:41:13 +02:00
Adria Navarro
eaa7d9bf81 trimViewRowInfo middleware and api test 2023-07-31 12:03:03 +02:00
Adria Navarro
77c2ce590c Use test api for patch 2023-07-26 13:55:02 +02:00
Adria Navarro
783e8a5b08 Change url to include the id 2023-07-25 19:34:52 +02:00
Adria Navarro
9235afb5d9 Test updating v1 2023-07-25 15:49:32 +02:00
Adria Navarro
2412056292 Update basic test 2023-07-25 15:34:25 +02:00
Adria Navarro
76d32b40fd Merge pull request #11286 from Budibase/BUDI-7189/create_view_schema_endpoint
Return schema from table endpoint
2023-07-24 15:42:03 +01:00
Adria Navarro
3f2fa1a8dc Remove view endpoint 2023-07-24 15:17:04 +02:00
Adria Navarro
22dd218b1a Fetch schema 2023-07-24 15:17:04 +02:00
Adria Navarro
46cb7c7117 Table tests to ts 2023-07-24 15:17:04 +02:00
Adria Navarro
f3f0ee0959 Return view schema endpoint 2023-07-24 15:17:04 +02:00
Adria Navarro
1760980aad Allow overriding default sort 2023-07-24 15:16:31 +02:00
Adria Navarro
56e6d48ec7 Remove :tableid from view create 2023-07-24 15:15:44 +02:00
Adria Navarro
6d973ce99a Infer table on search 2023-07-24 15:15:44 +02:00
Adria Navarro
36b82681ff Remove tableid from remove view url 2023-07-24 15:15:44 +02:00
Adria Navarro
ac0ae34808 Fix search 2023-07-24 15:15:44 +02:00
Adria Navarro
d6121d1504 Remove fetch view 2023-07-24 15:15:44 +02:00
Adria Navarro
56ee61d76c Remove get from delete tests 2023-07-24 15:15:44 +02:00
Adria Navarro
76f89e10d3 Create/delete, save to table 2023-07-24 15:15:44 +02:00
Adria Navarro
b82876b147 Remove view fetch logic 2023-07-24 15:15:44 +02:00
Adria Navarro
ebd93eb109 Persist queries on crud views 2023-07-24 15:15:43 +02:00
Adria Navarro
6809bb4510 Use api for view search tests 2023-07-24 15:15:43 +02:00
Adria Navarro
2feb22ef64 Use api for viewv2 tests 2023-07-24 15:15:43 +02:00
Adria Navarro
8478816eef Clean 2023-07-24 15:15:43 +02:00
Adria Navarro
a42f6753de Clean 2023-07-24 15:15:43 +02:00
Adria Navarro
e71d883dfd Change status codes 2023-07-24 15:15:43 +02:00
Adria Navarro
1e6a65d4e9 Extract viewapi to its own file 2023-07-24 15:15:43 +02:00
Adria Navarro
7140df6ed3 Better typing responses 2023-07-24 15:15:43 +02:00
Adria Navarro
5731b26079 Namespacing 2023-07-24 15:15:43 +02:00
Adria Navarro
f7452aa7fa Extract test utils 2023-07-24 15:15:43 +02:00
Adria Navarro
7f3de5d40e Move view code to test config 2023-07-24 15:15:43 +02:00
Adria Navarro
81e847daeb Rename tests 2023-07-24 15:15:43 +02:00
Adria Navarro
85aa105972 Type row tests 2023-07-13 12:17:24 +02:00
Michael Drury
f7cdf5f2bc Merge pull request #11001 from Budibase/feature/custom-role-readable-ids
Custom roles - readable IDs
2023-06-27 16:17:08 +01:00
mike12345567
4d2aa2a67b PR comments. 2023-06-27 12:45:00 +01:00
mike12345567
47260f23bf PR comments. 2023-06-27 10:01:06 +01:00
mike12345567
7e79c827a7 Test fixes, as well as issue discovered by test around _id generation and event triggering. 2023-06-26 19:10:04 +01:00
mike12345567
3eff4d85d0 Adding a test case for the removal of automation logs from app sync, as well as adding to the publish/sync filter a check to not carry over automation logs. 2023-06-26 18:52:15 +01:00
mike12345567
ced1dd95c7 Updating roles tests to make sure ID always valid. 2023-06-26 16:35:16 +01:00
Peter Clement
986348f511 sync automation tests 2023-05-23 15:55:25 +01:00
Michael Drury
42c37eea46 Merge pull request #10276 from Budibase/labday/automation-plugins
Automation step plugins
2023-04-18 17:33:25 +01:00
mike12345567
23e99ca4b7 Adding group and user tests for user sync. 2023-04-12 19:59:05 +01:00
mike12345567
ac37d00f69 Updating plugins to have a SDK, which can be used for automation action retrieval as well as datasources. 2023-04-11 16:37:26 +01:00
Michael Drury
1c7c06e983 Bulk of the automation plugin system, supporting custom plugins. 2023-04-10 23:48:54 +01:00
Rory Powell
976b3a55ca Update logging to support dd trace attributes (#10086)
* Update logging middleware to integrate with pino for console logging

* Remove elastic apm references, use updated core middlewares

* Remove redundant LOG_LEVEL definitions

* Remove no longer needed jest logging overrides

* lint

* Backwards compat between console log helpers and pino

* Configurable DISABLE_HTTP_LOGGING

* Don't log 4xx as errors

* Remove redundant ENABLE_4XX_HTTP_LOGGING

* Cleanup migrations and event logging

* Improve bb-alert logging

* Add DISABLE_HTTP_LOGGING to helm chart

* Add ops endpoints for testing

* Disable http logging in dev

* Backwards compatible tracing implementation

* Naming update on http logging env var

* lint

* Update packages/backend-core/src/environment.ts

Co-authored-by: Adria Navarro <adria@revityapp.com>

* Merge

* Lint

* Fix console.warn failing mock by replacing with alerts mock instead

* Lint

---------

Co-authored-by: Adria Navarro <adria@revityapp.com>
2023-04-04 15:08:46 +01:00
Adria Navarro
cfb93063b2 Merge pull request #10153 from Budibase/budi-6803-delete-users-when-group-removed
BUDI-6803 - Remove users that should not be there anymore when syncGlobalUsers
2023-03-31 13:15:11 +02:00
adrinr
48b964378b Remove all app cookie references (not really needed anymore) 2023-03-31 09:01:40 +01:00
adrinr
4cb6b99982 Types 2023-03-29 16:42:55 +01:00
mike12345567
cf5316ec8d General fixes for open handles, attempting to find and close all issues in server which are stopping shutdown of Jest suite. 2023-03-27 19:38:49 +01:00
mike12345567
82286d519f Fixing some issues with test cases. 2023-03-21 17:27:31 +00:00
Rory Powell
e116941750 Rotatable secrets (#9982)
* Rotatable secrets

* Set new api encryption key var

* Lint

* Use fallback keys instead of array

* Point api encryption key to dedicated value

* Add API_ENCRYPTION_KEY to cli

* Lint + add api encryption key to env files
2023-03-13 15:02:59 +00:00
Martin McKeaveney
26660b12fb PR comments 2023-03-06 10:33:49 +00:00
Rory Powell
4e1bebe897 Server flaky tests fixes - improving tenancy config 2023-02-23 13:43:27 +00:00
Rory Powell
a57f0c9dea Merge branch 'develop' into rory/february 2023-02-20 09:57:17 +00:00
Rory Powell
cc7eb64a3b Rename LOG_4XX to ENABLE_4XX_HTTP_LOGGING and enable by default 2023-02-13 14:39:24 +00:00
Rory Powell
0e3a17ab18 Merge pull request #9669 from Budibase/budi-6558-configurable-test-log-levels-and-common
Configurable test log levels and common error handling
2023-02-13 14:31:43 +00:00
Rory Powell
ae9979929a Enable higher concurrency and resiliency in worker tests 2023-02-13 11:57:30 +00:00
Rory Powell
5cd6cb166a Configurable test log levels and common error handling 2023-02-13 11:53:01 +00:00
mike12345567
7def2059f7 Updating test case which has been occasionally throwing 409 issues. 2023-02-10 18:29:29 +00:00
Rory Powell
c05b063f10 Bump CI default unit test timeout to 10s 2023-02-09 09:19:31 +00:00
Mateus Badan de Pieri
89bad2d45a Merge branch 'develop' into tests/environment-variables 2023-02-07 16:15:57 +00:00
adrinr
452147c308 Cleanup tests 2023-02-07 12:45:41 +00:00
adrinr
9bb1a2fa18 Merge remote-tracking branch 'origin/develop' into test/9339-sqlpostgres-row-api-test-suite 2023-02-06 09:12:13 +00:00
adrinr
4cab97b8ab Improve automation tests 2023-02-03 17:49:21 +00:00
adrinr
4a8db61b6b Fix automation timeouts 2023-02-03 16:28:29 +00:00
adrinr
83f8e6ef2c Remove long timeout 2023-02-03 14:51:50 +00:00
adrinr
2e29ac9ec7 Rename name for id 2023-02-03 12:09:56 +00:00
adrinr
4b4b9cce08 Fix ts 2023-02-03 11:30:30 +00:00
adrinr
5d58fc5948 Dry 2023-02-03 11:28:27 +00:00
adrinr
a80fc4aaa8 Remove isDockerisedTest 2023-02-02 10:50:20 +00:00
adrinr
4eb0c07953 Merge branch 'feature/dependencies-image' into test/9339-sqlpostgres-row-api-test-suite 2023-02-02 10:12:33 +00:00
adrinr
c7d0a077be Replace faker for chance 2023-02-01 17:11:50 +00:00
adrinr
1d8c27bdc4 Increase timeout 2023-02-01 12:29:03 +00:00
adrinr
2ab3680538 Fix installation race conditions 2023-01-31 17:27:25 +00:00
adrinr
abdd658012 Prepopulate dbs 2023-01-31 16:51:08 +00:00
mike12345567
263d588191 Environment variable test base. 2023-01-31 15:27:16 +00:00
adrinr
dd2a05fdcb Looking for testcontainer config 2023-01-31 11:23:26 +00:00
adrinr
2b8190418c Log as error 2023-01-31 10:30:57 +00:00
adrinr
9536111811 Add more logs 2023-01-31 10:21:19 +00:00
Adria Navarro
16e53957bc Merge branch 'develop' into feature/dependencies-image 2023-01-30 18:54:05 +00:00
adrinr
08a2e77871 Fix jest.setup 2023-01-30 18:18:23 +00:00
Rory Powell
da2c809a09 Merge branch 'develop' into feature/environment-variables 2023-01-27 11:27:11 +00:00
mike12345567
b38399cb74 Adding test cases as per PR comments. 2023-01-26 18:20:21 +00:00
Adria Navarro Redo
b94546b1a1 Fix user test 2023-01-26 18:20:21 +00:00
Adria Navarro Redo
33f1628000 Fix issues with parallel tests and self/cloud modes 2023-01-26 18:20:21 +00:00
Adria Navarro Redo
6a4fe1d5e6 Fix automation test 2023-01-26 18:20:21 +00:00
Adria Navarro Redo
9242470f6f Fix snapshots test 2023-01-26 18:20:21 +00:00
Adria Navarro Redo
a54c1a1647 Set expected id 2023-01-26 18:20:21 +00:00
Adria Navarro Redo
067462f458 Use multitenancy for tests 2023-01-26 18:20:21 +00:00
mike12345567
697cd8b4ea Adding test cases as per PR comments. 2023-01-25 18:27:58 +00:00
Adria Navarro
6259ffad3b Wipe db before tests 2023-01-24 18:51:15 +00:00
Adria Navarro
9371f19419 Remove mocks 2023-01-24 17:48:49 +00:00
Adria Navarro
26fa3bd484 tweak tests 2023-01-24 15:46:50 +00:00
Adria Navarro
d1d8ce3611 Move more stuff to .env.test 2023-01-23 18:02:28 +00:00
Adria Navarro
d6f0e5b1ec Dry, moving env variables to a .env.test file 2023-01-23 17:41:32 +00:00
Adria Navarro
98aa60879f Set parameters 2023-01-23 16:53:34 +00:00