Commit Graph

341 Commits

Author SHA1 Message Date
Rory Powell ccf98580d6 Merge branch 'develop' into tests/offline-license 2023-07-25 11:24:09 +01:00
Rory Powell 6aac59c248 Add ignore to offline licensing test 2023-07-25 11:12:36 +01:00
Rory Powell 13b30baa26 Merge pull request #11235 from Budibase/feature/offline-license
Offline Licensing
2023-07-24 11:25:51 +01:00
Mitch-Budibase d4b7ac9c98 Generate guid to replace encodeURIComponent
Removing encodeURIComponent(accountId) in favour of generating a guid
2023-07-21 17:45:17 +01:00
Mitch-Budibase aeda2a143e Update accounts.cloud.internal.spec.ts
We use a randomly generated string for the accountId.

It would seem that when an accountId includes a percentage sign (%) at the end, that issues arise (400 returned instead of 404 in this case).

I have included a encodeURIComponent for the accountId after it has been generated
2023-07-21 13:30:56 +01:00
Rory Powell 8fb796bdb3 Remove 'nightly' from test discord notification 2023-07-20 15:31:19 +01:00
Rory Powell 0d08a38ec7 Merge branch 'feature/offline-license' into tests/offline-license 2023-07-20 12:28:51 +01:00
Rory Powell e2a7927973 Lint + update ci test command 2023-07-20 10:52:28 +01:00
Rory Powell f641341dac Merge branch 'account-api-tests' of github.com:Budibase/budibase into account-api-tests 2023-07-20 09:23:04 +01:00
Rory Powell 8f2d8a7b64 Update test commands to ignore cloud specific tests in CI 2023-07-20 09:21:38 +01:00
Mitch-Budibase 9f30851613 Merge branch 'account-api-tests' of https://github.com/Budibase/budibase into account-api-tests 2023-07-19 17:31:49 +01:00
Mitch-Budibase ec5203f775 PR changes 2023-07-19 17:31:33 +01:00
Rory Powell f9b54d6de4 Update test commands to use dedicated environments: ci / prod / qa 2023-07-19 17:30:16 +01:00
Rory Powell 6631c2644d Fixing merge issue 2023-07-19 17:18:37 +01:00
Mitch-Budibase ecf75a9685 lint 2023-07-19 15:42:12 +01:00
Mitch-Budibase 7eb65ed347 Merge branch 'develop' into account-api-tests 2023-07-19 15:21:50 +01:00
Mitch-Budibase b01c800d08 Updating comments 2023-07-19 15:18:02 +01:00
Rory Powell e7d304d4cf Add swc transformer to make tests start faster 2023-07-18 21:15:44 +01:00
Rory Powell 4dc558d3e9 Restructure account tests to test signup and deletion as a single flow 2023-07-18 21:15:13 +01:00
Rory Powell 944b6e0baa Update account api clients to consistently handle status code handling and return types 2023-07-18 21:14:07 +01:00
Rory Powell c5337c652a Remove no longer needed `LOG_CONTEXT` setting on logger module, update qa-core to disable pino logger via env var, add configurable jest timeout via env var 2023-07-18 21:13:17 +01:00
Mitch-Budibase ea91605e2f Updates to account endpoint API testing 2023-07-18 13:48:23 +01:00
Rory Powell ea52013503 Offline licensing integration tests 2023-07-15 00:12:18 +01:00
Rory Powell 278f6f8df3 Update account search tests / add email to state 2023-07-14 15:23:22 +01:00
Rory Powell f45a439b26 Add state helpers for isolating account deletion test 2023-07-14 15:03:51 +01:00
Mitch-Budibase fa94b8b9fc Changes for Account API Testing 2023-07-14 14:24:01 +01:00
Rory Powell 6f7ef18084 Add account password login integration with global setup 2023-07-13 12:48:44 +01:00
Mitch-Budibase d8d4686e01 Account Portal API Testing 2023-07-13 12:36:50 +01:00
Martin McKeaveney de083e8751 set global retry times 2023-07-10 10:18:49 +01:00
Michael Drury e4c5e67514 Revert "Add more tests for user settings" 2023-07-03 14:10:18 +01:00
Michael Drury 223e0e555a Merge branch 'develop' of github.com:Budibase/budibase into test/qa-18-api-automation-testing-permissionsuser-settings 2023-07-03 10:31:25 +01:00
mike12345567 4428678ebd Quick fix for QA-core tests, when encrypt is undefined for MS-SQL, it defaults to true, need to be aware of this so can set trustServerCertificate correctly. Also fixing the naming of a test. 2023-06-30 12:05:18 +01:00
mike12345567 7b6246ee59 Fixes discovered by MS-SQL validator tests in QA-core, fixing custom ports being used (not default) and allowing the use of self signed certificates. Also updating an error message in line with Peters changes. 2023-06-29 16:09:25 +01:00
Peter Clement a70fc32408 fix sql error message for qa-core 2023-06-29 09:58:26 +01:00
Adria Navarro 3b1915c705 Add comments 2023-06-22 12:59:23 +01:00
Adria Navarro 48b1f26e86 Remove versioning from snapshot to prevent test issues across instances 2023-06-22 12:58:11 +01:00
Adria Navarro 55e38725db Add pg_dump to single dockerfile 2023-06-22 11:29:32 +01:00
Adria Navarro a5ae0e5a3f Add pg_dump to server dockerfile 2023-06-22 11:13:20 +01:00
Adria Navarro 6b049cbcda Remove qa-core package-lock.json 2023-06-21 17:05:49 +01:00
Adria Navarro c4a2e2814a Update tests 2023-06-21 11:47:53 +01:00
Adria Navarro bedddc15aa Test foreign keys 2023-06-21 10:53:32 +01:00
Michael Drury 73209454db Merge pull request #10967 from Budibase/fix/app-url-failure
Quick fix for integration test intermittent failure
2023-06-20 12:52:49 +01:00
Adria Navarro cdd15fd75f Merge pull request #10953 from Budibase/budi-7115-sql-schema-export
BUDI-7115 - Sql schema export
2023-06-20 11:57:46 +01:00
mike12345567 b712136a6b There was a chance or URL overlap - removing this chance. 2023-06-20 09:56:58 +01:00
mike12345567 289a75fc9a Few minor updates to the integration suite to make it easier to decipher what is happening under the hood, as well as making it easier to log from these (where there is no pino logging available, importing backend-core breaks things). Also added a new script which can be used to get local environment setup as needed to run qa-core tests. Finally, xdescribe for the failing test until can work out what is wrong with MongoDB installation in QA environment. 2023-06-19 18:28:38 +01:00
Adria Navarro 718fe1efc6 Implement mssql and tests 2023-06-19 17:56:12 +01:00
Adria Navarro e21dca5582 Implement and test mysql sql dump 2023-06-19 17:56:12 +01:00
Adria Navarro 702f59a90e Improve tests 2023-06-19 17:56:12 +01:00
Adria Navarro c30c9b319d Test not exporting data 2023-06-19 17:56:12 +01:00
Adria Navarro c605ecdf0c Test export with database 2023-06-19 17:56:11 +01:00
Adria Navarro c27573a9fb Add basic test 2023-06-19 17:56:11 +01:00
Pedro Silva e6cc94be4f Merge branch 'develop' into test/qa-18-api-automation-testing-permissionsuser-settings 2023-06-15 14:04:35 +01:00
Rory Powell 395ba2c129 Force exit qa-core 2023-06-14 15:43:57 +01:00
Adria Navarro d8f9c73193 Fix tests 2023-06-13 10:50:02 +01:00
Adria Navarro fa34a95e14 Fix broken qa-core test 2023-06-13 10:04:53 +01:00
mike12345567 d0d3e33606 Fixing linting. 2023-06-12 16:29:41 +01:00
Pedro Silva 698bbb18d1 Merge branch 'develop' into test/qa-18-api-automation-testing-permissionsuser-settings 2023-06-12 15:50:38 +01:00
Rory Powell 7bd7cdcdcf Fix qa-core global teardown 2023-06-12 15:08:22 +01:00
Rory Powell 25fc792d24 Fix qa-core teardown 2023-06-09 21:04:24 +01:00
Rory Powell b1287d6a9f Update qa test notify script to be env aware 2023-06-09 21:04:24 +01:00
Pedro Silva 0aa3e19d09 Add verifications 2023-06-09 12:44:31 +01:00
Pedro Silva 410d8700e4 Add more tests for user settings 2023-06-05 18:42:44 +01:00
Pedro Silva ace2d8c2e1 Merge pull request #10736 from Budibase/test/qa-20-Add-relationship-tests-to-datasources
Test/qa 20 add relationship tests to datasources
2023-05-31 15:57:36 +01:00
Pedro Silva 8f09c07f46 Fix assertion 2023-05-30 18:48:33 +01:00
Pedro Silva 8b2737baa9 Remove temp command to only run datasource tests 2023-05-30 18:31:45 +01:00
Pedro Silva 91a8888890 Add teardown logic for multitenancy 2023-05-30 15:08:37 +01:00
Pedro Silva 8ee3f083e8 Merge branch 'develop' into test/qa-20-Add-relationship-tests-to-datasources 2023-05-30 09:50:20 +01:00
Pedro Silva 0498ad6e54 Add test for relationship creation for MySQL 2023-05-22 17:44:21 +01:00
Adria Navarro 8487447376 Merge branch 'develop' into chore/esbuild 2023-05-22 15:06:15 +02:00
Adria Navarro 2d2d50a5df Merge branch 'develop' into chore/esbuild 2023-05-18 11:34:11 +02:00
Pedro Silva 06e7430ab8 Merge branch 'develop' into tests/qa-22-improve-qa-core-boilerplate 2023-05-17 21:34:44 +01:00
Pedro Silva eff22c4e74 Remove type casting any from test methods 2023-05-17 21:32:50 +01:00
Adria Navarro 04a28c761b Merge branch 'develop' into feature/datasource-conns 2023-05-17 15:23:23 +02:00
mike12345567 f3785892a9 Merge branch 'develop' of github.com:Budibase/budibase into chore/esbuild 2023-05-17 12:45:28 +01:00
Adria Navarro 02fc795d98 Rename nightly.spec to integration.spec 2023-05-17 13:00:08 +02:00
Adria Navarro eb46037344 Rename validator integration tests 2023-05-17 12:59:20 +02:00
Adria Navarro 79bc2afeca Run validators nightly 2023-05-17 12:04:06 +02:00
Adria Navarro 4f3139a47b Merge branch 'develop' into feature/datasource-conns 2023-05-17 12:00:56 +02:00
Adria Navarro a96af7cf40 Change the nightly tests to be more explicit 2023-05-17 11:33:37 +02:00
Adria Navarro a2e22bda71 Merge pull request #10618 from Budibase/budi-6932/check_elastic
Check elastic search connection settings
2023-05-17 10:16:16 +02:00
Adria Navarro ed8550b271 Fix tests asserts 2023-05-17 10:14:13 +02:00
Adria Navarro d2877fff6e Update tests to check new formats 2023-05-17 09:57:43 +02:00
Adria Navarro 860a1ee271 Test invalid config 2023-05-17 09:44:55 +02:00
Adria Navarro 6b2e6f7bcb Test happy path 2023-05-17 09:38:59 +02:00
Pedro Silva b6267e0f96 Fix failing table test 2023-05-16 19:07:05 +01:00
Michael Drury 18d2c33839 Merge pull request #10583 from Budibase/budi-6932/verify_redis
Implement redis connection verification
2023-05-15 17:22:32 +01:00
Michael Drury fbc3697c8c Merge pull request #10546 from Budibase/budi-6932/verify_mysql
Implement mysql connection verification
2023-05-15 17:13:32 +01:00
Michael Drury 9e6f22653b Merge pull request #10550 from Budibase/budi-6932/verify_couchdb
Implement couchdb connection verification
2023-05-15 17:12:54 +01:00
Michael Drury 3ef204cf7b Merge pull request #10553 from Budibase/budi-6932/verify_mssql
Implement MSSQL connection verification
2023-05-15 17:12:05 +01:00
Michael Drury f9fd3d942a Merge pull request #10554 from Budibase/budi-6932/verify_mongo
Implement mongo connection verification
2023-05-15 17:11:37 +01:00
Michael Drury 001e8757e8 Merge pull request #10555 from Budibase/budi-6932/verify_arango
Implement arango connection verification
2023-05-15 17:11:12 +01:00
Michael Drury 328514afdd Merge pull request #10588 from Budibase/budi-6932/verify_s3
Implement S3 connection verification
2023-05-15 17:10:38 +01:00
Adria Navarro 3933a3881b Test dynamodb connection 2023-05-15 17:58:09 +02:00
Adria Navarro 79b30942f6 Clean code 2023-05-15 17:52:10 +02:00
Adria Navarro d893fdf6cf Test wrong endpoint 2023-05-15 17:40:40 +02:00
Adria Navarro 1e505791c0 Implement s3 checks 2023-05-15 17:37:28 +02:00
Adria Navarro 1c39946103 Clean code 2023-05-15 17:01:25 +02:00
Adria Navarro 5cd3f676ac Fix import 2023-05-15 16:53:55 +02:00
Adria Navarro 47d8701578 Move files 2023-05-15 16:53:32 +02:00
Adria Navarro fad57db634 Implement the check as part of the integration 2023-05-15 16:48:40 +02:00