Commit Graph

156 Commits

Author SHA1 Message Date
adrinr 1f00989109 Merge remote-tracking branch 'origin/develop' into test/9339-sqlpostgres-row-api-test-suite 2023-02-06 09:12:13 +00:00
adrinr 2f74d62232 Improve automation tests 2023-02-03 17:49:21 +00:00
adrinr 141790ef70 Fix automation timeouts 2023-02-03 16:28:29 +00:00
adrinr 8f986f7ea6 Remove long timeout 2023-02-03 14:51:50 +00:00
adrinr c747cabe73 Rename name for id 2023-02-03 12:09:56 +00:00
adrinr 7605bb46f6 Fix ts 2023-02-03 11:30:30 +00:00
adrinr 6d3117d6ac Dry 2023-02-03 11:28:27 +00:00
adrinr 3a7d413cf6 Remove isDockerisedTest 2023-02-02 10:50:20 +00:00
adrinr 7c38749131 Merge branch 'feature/dependencies-image' into test/9339-sqlpostgres-row-api-test-suite 2023-02-02 10:12:33 +00:00
adrinr aa8aa2b311 Replace faker for chance 2023-02-01 17:11:50 +00:00
adrinr 13a1b15f93 Increase timeout 2023-02-01 12:29:03 +00:00
adrinr 057ec7d540 Fix installation race conditions 2023-01-31 17:27:25 +00:00
adrinr 961c1276f8 Prepopulate dbs 2023-01-31 16:51:08 +00:00
adrinr 75b306ac17 Looking for testcontainer config 2023-01-31 11:23:26 +00:00
adrinr 49a344dfba Log as error 2023-01-31 10:30:57 +00:00
adrinr 19cdeb2631 Add more logs 2023-01-31 10:21:19 +00:00
Adria Navarro 35a92a5fad
Merge branch 'develop' into feature/dependencies-image 2023-01-30 18:54:05 +00:00
adrinr 18a0675545 Fix jest.setup 2023-01-30 18:18:23 +00:00
Rory Powell be5b8347ef Merge branch 'develop' into feature/environment-variables 2023-01-27 11:27:11 +00:00
mike12345567 d189fc82f8 Adding test cases as per PR comments. 2023-01-26 18:20:21 +00:00
Adria Navarro Redo bf0f7d5bab Fix user test 2023-01-26 18:20:21 +00:00
Adria Navarro Redo 48ee427178 Fix issues with parallel tests and self/cloud modes 2023-01-26 18:20:21 +00:00
Adria Navarro Redo 4ac3102f2a Fix automation test 2023-01-26 18:20:21 +00:00
Adria Navarro Redo 498d1776e0 Fix snapshots test 2023-01-26 18:20:21 +00:00
Adria Navarro Redo 7b935d8476 Set expected id 2023-01-26 18:20:21 +00:00
Adria Navarro Redo 5abb095f58 Use multitenancy for tests 2023-01-26 18:20:21 +00:00
mike12345567 c99b4ae3a3 Adding test cases as per PR comments. 2023-01-25 18:27:58 +00:00
Adria Navarro 1b3c7bb6f8 Wipe db before tests 2023-01-24 18:51:15 +00:00
Adria Navarro 9bdc54f0aa Remove mocks 2023-01-24 17:48:49 +00:00
Adria Navarro 730c40e6b9 tweak tests 2023-01-24 15:46:50 +00:00
Adria Navarro 359e2d1d1f Move more stuff to .env.test 2023-01-23 18:02:28 +00:00
Adria Navarro e9cd0984d9 Dry, moving env variables to a .env.test file 2023-01-23 17:41:32 +00:00
Adria Navarro 30830503c9 Set parameters 2023-01-23 16:53:34 +00:00
Adria Navarro 9225b658ae Use couchdb from docker container 2023-01-23 16:45:06 +00:00
Adria Navarro a531f2edba Update openapi specs 2023-01-20 12:12:59 +00:00
Adria Navarro f19b68e5ee Extra typings 2023-01-20 11:48:11 +00:00
Adria Navarro 616c5d7d59 Fix broken tests 2023-01-20 10:29:11 +00:00
Adria Navarro 2cd4d106e1 Change tests to use internal apis 2023-01-19 17:23:48 +00:00
Adria Navarro 2a0217abe2 Add search test 2023-01-19 11:00:51 +00:00
Adria Navarro a024a1e577 Add update test 2023-01-18 17:11:52 +00:00
Adria Navarro 029453eab5 Retrieve row test 2023-01-18 16:46:40 +00:00
Adria Navarro d91634b6d0 Fix types 2023-01-18 11:50:00 +00:00
Adria Navarro d40aef8830 More typings 2023-01-18 10:45:42 +00:00
Adria Navarro ac3905c195 Implement test 2023-01-17 17:39:59 +00:00
Adria Navarro 153eb392c2 Add basic test 2023-01-17 17:22:31 +00:00
Adria Navarro bbad666004 Delete apps on end 2023-01-17 10:28:51 +00:00
Adria Navarro e694fa4dcf Typing supertest parameters 2023-01-16 15:35:41 +00:00
mike12345567 186aeeec2d Adding the ability to store environment variables to context, to make them more easily available/re-usable, as well as exposing them to queries. 2023-01-13 19:53:46 +00:00
mike12345567 9482870d21 Merge branch 'develop' of github.com:Budibase/budibase into feature/test-image 2023-01-11 10:31:57 +00:00
Rory Powell 0b2a445a9a
Replace ts-jest with swc/jest (#9289)
- Add swc dependencies
- Add transform change to jest.config.ts
- Replace `export =` with `export default` in src code to enable code coverage to work with swc transformer
- Restructure backend-core errors package to allow for exporting error classes with ESM syntax
- Update backend-core to no longer use `export =`, export individual packages instead of replacing with `export default` for backwards compatibility
- Update event publishers to use `export default` - this was required for the `jest.spyOn` usage inside backend-core common mocks
- Restructure some jest.mock usages where declaring the jest.fn as a variable outside of the package mock threw an error
2023-01-11 09:37:37 +00:00