1
0
Fork 0
mirror of synced 2024-08-08 22:58:24 +12:00
Commit graph

44 commits

Author SHA1 Message Date
Martin McKeaveney
e991846808 add stripe dep to qa core 2024-01-11 16:51:18 +00:00
Adria Navarro
e7bcabf1d2 Merge branch 'master' into BUDI-7580/account_portal_submodule 2023-11-27 20:48:32 +01:00
mike12345567
e4bc6a5fc7 Attempting to fix QA-core inconsistencies in CI - disabling rate limiting during test runs for public API. 2023-11-08 18:41:15 +00:00
Adria Navarro
004e0a5f11 Update jest 2023-11-06 14:24:33 +01:00
Mitch-Budibase
e05821d6d7 License Management Test
This test retrieves plans, creates checkout session, and updates license

Essential changes have been made to linkStripeCustomer & updatePlan functions to support the test

Modified "test:self:ci" to include 'licensing' instead of 'license'
Modified environment.ts to include STRIPE_SECRET_KEY
2023-10-31 18:16:58 +00:00
Mitch-Budibase
570eaa8e53 Update package.json + remove license.manage.spec.ts
Update package.json
- Updating "test:self:ci"
- Now includes license. Needed to prevent license tests from running where an account portal is not setup

Removing license.manage.spec.ts
- This will be included in another PR
- Work required to finish this test
- Removing so the license activation test can be merged
2023-10-24 17:22:49 +01:00
Adria Navarro
02ab0a134e Update ts to 5.x 2023-09-22 18:17:19 +02:00
Adria Navarro
f691987e65 Update node types 2023-09-07 11:21:41 +02:00
Adria Navarro
6d5eef4e42 Update 2023-07-28 17:11:48 +02:00
Adria Navarro
7dd28d471a Update swc/core in qa-core 2023-07-28 17:11:48 +02:00
Adria Navarro
5f1565886f Unify jest 2023-07-28 17:11:48 +02:00
Rory Powell
8f2d8a7b64 Update test commands to ignore cloud specific tests in CI 2023-07-20 09:21:38 +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
e7d304d4cf Add swc transformer to make tests start faster 2023-07-18 21:15:44 +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
Rory Powell
395ba2c129 Force exit qa-core 2023-06-14 15:43:57 +01:00
Adria Navarro
04a28c761b Merge branch 'develop' into feature/datasource-conns 2023-05-17 15:23:23 +02:00
Adria Navarro
02fc795d98 Rename nightly.spec to integration.spec 2023-05-17 13:00:08 +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
99d525ad79 Move tests to qa-core 2023-05-15 13:16:56 +02: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
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
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
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
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
Rory Powell
9973f2e161 Bump jest and ts-jest to be consistent across backend packages to fix CI issue, test config updates 2022-11-14 22:55:47 +00:00
Rory Powell
5da699e27c Fail pro scripts on error, unify TS versions, update test and coverage configs, use pro source mappings 2022-11-14 13:29:46 +00:00
Martin McKeaveney
65c70cca4c QA Core tests for app creation 2022-10-01 02:54:51 +01:00
Martin McKeaveney
d5455bdc50 create app with formdata 2022-09-30 15:35:13 +01:00
Martin McKeaveney
44ac18afb8 use environment variables in jest run 2022-09-28 18:31:23 +01:00
Martin McKeaveney
d2e71b32e6 setting up internal API with auth 2022-09-28 18:21:05 +01:00
Martin McKeaveney
e06afeb194 adding startup script for local 2022-09-25 23:43:37 +01:00
Martin McKeaveney
d6c8527340 tidy up 2022-09-15 20:09:23 +01:00
Martin McKeaveney
bc090f5f9d better tests and cleaner import for server 2022-09-15 19:51:11 +01:00
Martin McKeaveney
fdbe429581 complete refactor and total type safety of test suite - making use of OpenAPI types throughout 2022-09-15 00:58:08 +01:00
Martin McKeaveney
c3f15b5af2 QA Core repo, and Jest API tests running end to end 2022-09-05 18:28:53 +01:00