Commit Graph

263 Commits

Author SHA1 Message Date
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
Adria Navarro b8d11fa351 Test bad connections 2023-05-15 16:48:08 +02:00
Adria Navarro 901bff5399 Validate arango 2023-05-15 16:47:41 +02:00
Adria Navarro 2f9b076381 Implement the check as part of the integration 2023-05-15 16:38:42 +02:00
Adria Navarro e8fa690566 Add mongo checks 2023-05-15 16:37:20 +02:00
Adria Navarro b739e8da9c Undo 2023-05-15 16:30:43 +02:00
Adria Navarro 0557c8efcc Split tests 2023-05-15 16:30:43 +02:00
Adria Navarro fd18529135 Wait for readiness 2023-05-15 16:30:43 +02:00
Adria Navarro 32695018bf Validate and test microsoft sql 2023-05-15 16:30:43 +02:00
Adria Navarro 33988428ea Split tests 2023-05-15 13:54:32 +02:00
Adria Navarro d656edad40 Implement the check as part of the integration 2023-05-15 13:54:32 +02:00
Adria Navarro 5456866c45 Fix tests to use connection string instead of env 2023-05-15 13:54:32 +02:00
Adria Navarro e92b9a8abc Split testss 2023-05-15 13:48:20 +02:00
Adria Navarro 8a1564ef07 Implement the check as part of the integration 2023-05-15 13:48:09 +02:00
Adria Navarro 721492e76d Validate mysql 2023-05-15 13:47:48 +02:00
Adria Navarro d9a38b0908 Update import 2023-05-15 13:47:24 +02:00
Adria Navarro 1c2c00e621 Fix bool 2023-05-15 13:16:56 +02:00
Adria Navarro 99d525ad79 Move tests to qa-core 2023-05-15 13:16:56 +02:00
Pedro Silva bc1d1862b5 Merge branch 'develop' into tests/qa-22-improve-qa-core-boilerplate 2023-05-12 14:23:39 +01:00
Pedro Silva 9b8e2718ed Linting 2023-05-12 12:27:34 +01:00
Pedro Silva e792b717c5 Update qa-core/src/account-api/api/apis/LicenseAPI.ts
Co-authored-by: Rory Powell <rory.codes@gmail.com>
2023-05-12 12:16:48 +01:00
Pedro Silva 85c835e5f0 Add status check to license api 2023-05-12 11:14:00 +01:00
Pedro Silva 701e06c488 package lock update 2023-05-10 16:54:00 +01:00
Pedro Silva fc61623e32 Improve internal API classes 2023-05-10 16:53:20 +01:00
Pedro Silva 62238611bf Add base api class 2023-05-09 18:32:17 +01:00
Adria Navarro 19da68f822 Remove tsconfig references 2023-05-03 18:04:57 +01:00
Pedro Silva 796c50d3e0 Merge branch 'develop' into qa-core-datasource-api-tests 2023-04-26 15:51:47 +01:00
Pedro Silva 5226385367 Change integration count assertion 2023-04-26 15:51:25 +01:00
Rory Powell aee52af7f0 Add feature and quota overrides to qa core for cloud tests (#10417)
* Fix qa core suite

* Update package.json

* Lint
2023-04-25 20:36:27 +01:00
Adria Navarro c47ff6ccfb Merge branch 'develop' into chore/remove_package.json_dependency 2023-04-24 18:42:55 +02:00
adrinr e65225996e Revert https://github.com/Budibase/budibase/pull/10267 2023-04-20 19:04:20 +01:00
adrinr 37158594f7 Merge branch 'develop' into chore/pro_as_submodule 2023-04-18 12:21:38 +01:00
adrinr 1dcb6b32b2 Remove not required references 2023-04-17 15:54:13 +01:00
adrinr eeb0daa98a Update builds to exclude the package.json 2023-04-17 14:20:36 +01:00
Pedro Silva f104e66acf Fix type 2023-04-14 18:14:47 +01:00
Pedro Silva e20838fd42 Add rest test and fix type 2023-04-14 17:35:13 +01:00
mike12345567 2629817741 Fixing qa-core message now that sync always occurs (dev and prod). 2023-04-13 13:30:47 +01:00
Pedro Silva a8460169d1 Improvements on types, helpers and assertions 2023-04-12 18:18:28 +01:00
Pedro Silva 0562cf511c Add tests for datasources 2023-04-11 15:44:00 +01:00
Pedro Silva fe17abd7be Add postgresSQL tests 2023-04-06 14:22:21 +01:00
Rory Powell 77ffb8d86d Run integration suite in CI again / auto detect tenancy / refactors (#10209)
* qa-core-ci-fixes

* global setup and teardown wip

* Updates to logs and setup

* Remove date and console mocking

* Update CI to spin up minimal dev env

* Update readme

* Fix scopeBackend.sh

* Ensure docker services are initialised before starting worker

* Lint

* Fix admin user being created on startup (#10219)

* use regular bootstrap and build

* Lint

* Temp: re-use global setup to get around app limit in QA
2023-04-05 15:33:56 +01:00
Martin McKeaveney 1b3996420f updating host and accounts env vars 2023-04-02 21:57:28 +01:00
Martin McKeaveney cda9d8a095 lint 2023-03-31 15:33:34 +01:00
Martin McKeaveney 30d08c13ab qa-core job tidy up 2023-03-31 12:15:24 +01:00
Martin McKeaveney 90c8ae9ed3 adding json flag to nightly run so test report generated 2023-03-30 14:45:26 +01:00
Martin McKeaveney 249699859c Merge pull request #10164 from Budibase/update-qa-core-report-script
update test report script to read the right jest test file
2023-03-30 11:02:12 +01:00
Martin McKeaveney dec2570def update test report script to read the right jest test file 2023-03-30 10:55:04 +01:00
Pedro Silva 37ba34cf94 Update readme 2023-03-26 18:12:26 +01:00
Pedro Silva f8f13ed2c7 Fix logs in qa-core test runs 2023-03-26 18:05:02 +01:00
Pedro Silva 077e722862 Updade nightly command 2023-03-26 18:03:17 +01:00
Pedro Silva 46381c381d Update commands to run locally and in CI 2023-03-26 18:00:20 +01:00
Pedro Silva df4f6c3b09 Merge pull request #9963 from Budibase/api-tets-public-api-key-generation
QA-6 Api tests public api key generation
2023-03-14 15:40:36 +00:00
Pedro Silva 55214876d8 Improve tenant generation 2023-03-14 10:07:16 +00:00
Pedro Silva 1fc46002e2 Add comments 2023-03-13 18:05:46 +00:00
Pedro Silva 464a10f641 Fix Bad APIkey handling 2023-03-13 16:24:20 +00:00
Pedro Silva cf04fffdad Fix API Error handling 2023-03-13 16:22:55 +00:00
dependabot[bot] 4ad810ef1a Bump @sideway/formula from 3.0.0 to 3.0.1 in /qa-core
Bumps [@sideway/formula](https://github.com/sideway/formula) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/sideway/formula/releases)
- [Commits](https://github.com/sideway/formula/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: "@sideway/formula"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-13 09:47:40 +00:00
Pedro Silva 3a4548778c Remove unnecessary env variables from setup 2023-03-13 09:46:58 +00:00
Pedro Silva 2c20f242b4 Remove current API keys 2023-03-09 15:39:47 +00:00
Pedro Silva ca489b531f Fix Login problems 2023-03-09 15:30:27 +00:00
Pedro Silva dfff64b847 Add firstApp creation to public api tests 2023-03-02 15:17:17 +00:00
Pedro Silva 6a3fa60078 Remove Env public api key 2023-03-01 11:46:26 +00:00
Pedro Silva 655b235b76 Auth flow 2023-02-24 09:46:05 +00:00
Pedro Silva 9474d24908 Add base for multiple environment support 2023-02-23 16:32:42 +00:00
Martin McKeaveney 246f5eb5e4 bumping qa core types and backend core dependencies 2023-02-20 10:15:29 +00:00
Martin McKeaveney 0ee77aa9b0 adding test ci command to ignore local .env 2023-02-17 17:27:17 +00:00
Martin McKeaveney 9ca6aa8bbc tidy up 2023-02-15 23:43:53 +00:00
Martin McKeaveney 6b5128a0bf running API tests with reporting qa nightly tests 2023-02-15 23:38:59 +00:00
Pedro Silva 2df1d52fbd Fix expected html code 2023-02-06 17:14:42 +00:00
Pedro Silva e1d9f5d6bd Skip tests that need multiple users authenticated 2023-02-02 09:41:46 +00:00
Pedro Silva f3e0185b8d Merge branch 'develop' into api-tests-generate-tenants 2023-02-01 16:20:25 +00:00
Pedro Silva 42818c3f61 Make jest timeout longer 2023-02-01 11:08:35 +00:00
Mitch-Budibase 194772cb20 Update package.json and file addition
Updating commands within package.json

Re-adding files:
- cypress.json
- setup.js
- setup.ts
2023-01-31 18:05:53 +00:00
Pedro Silva 71db2420b5 Remove console log 2023-01-31 17:40:00 +00:00
Pedro Silva 481ad1c51d Skip failing tests 2023-01-30 12:25:47 +00:00
Pedro Silva b3f0fdc8b8 skip failed tests by redirect 2023-01-24 11:49:22 +00:00
Pedro Silva f37d6124a8 Fix error caused by prettier 2023-01-18 10:57:36 +00:00
Pedro Silva 3fb7bc22a1 Merge branch 'develop' into api-tests-generate-tenants 2023-01-18 10:49:14 +00:00
Pedro Silva 12bcf68382 Split tests to avoid free limits 2023-01-18 10:21:21 +00:00