1
0
Fork 0
mirror of synced 2024-06-29 19:41:03 +12:00
Commit graph

338 commits

Author SHA1 Message Date
Sam Rose a81a1b13ce
Remove mysql mocks. 2024-03-20 16:55:34 +00:00
Sam Rose 1f63f0bddf
Run auto fix. 2024-03-19 09:46:10 +00:00
dependabot[bot] c20668ab1c
Bump follow-redirects from 1.15.2 to 1.15.6 in /qa-core
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.2 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-15 08:51:43 +00:00
Sam Rose 4b24fb7c68
Merge master. 2024-03-06 14:59:39 +00:00
Sam Rose 8f61b69ee5
Merge branch 'master' of github.com:budibase/budibase into budi-7710-user-groups-do-not-fully-support-custom-roles 2024-02-26 17:28:51 +00:00
Sam Rose b2c4f04aa6
Typing and config.api'ing application.spec.ts, WIP 2024-02-21 17:52:58 +00:00
Sam Rose 686697e890
Enforce using example.com as a domain for emails. 2024-02-21 11:30:22 +00:00
Mitch-Budibase 3726e10f3a lint 2024-02-06 17:28:00 +00:00
Mitch-Budibase d7ae4c04b9 Removing commented line 2024-02-06 17:15:11 +00:00
Mitch-Budibase 09ff8a0662 License Test Changes
License.manage.spec.ts/StripeAPI.ts

- Test updated and now successfully updates from Free plan to premium
- createCheckoutSession updated to support this plan upgrade
2024-01-31 15:00:32 +00:00
Martin McKeaveney e991846808 add stripe dep to qa core 2024-01-11 16:51:18 +00:00
Mitch-Budibase 81f2983555 Merge branch 'master' into qa-core-changes 2024-01-10 13:41:53 +00:00
Mitch-Budibase c949493016 QA Core - Manage License Test Change
The pricing has changed.

Previously we used `PREMIUM` and `BUSINESS`.
We now use `PREMIUM_PLUS` and `ENTERPRISE_BASIC`
The test changes reflect this
2024-01-09 14:55:43 +00:00
Adria Navarro f0a789ca5b Run yarn audit 2023-12-20 11:52:05 +01:00
Adria Navarro e7bcabf1d2 Merge branch 'master' into BUDI-7580/account_portal_submodule 2023-11-27 20:48:32 +01:00
Adria Navarro db2c20e3ae eslint import/newline-after-import 2023-11-20 21:52:29 +01:00
Adria Navarro 92f411bf77 Prettier 2023-11-20 21:48:49 +01:00
Adria Navarro 4d27ff1dc0 eslint import/no-duplicates 2023-11-20 21:48:49 +01:00
Adria Navarro 27ba888ba0 Fix qa-core lint 2023-11-17 16:06:01 +01:00
Sam Rose d6eb2b9452
Attempting to get integration tests passing again. 2023-11-10 15:43:06 +00: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 85325814d0 Moving stripe import to top of test file 2023-11-01 15:18:20 +00:00
Mitch-Budibase 84079450f9 lint 2023-10-31 18:20:27 +00: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
Mitch-Budibase f3234f6bd6 Update license activate test
I have removed the end of the test which was to 'Verify user downgraded to free license'
- This is not needed

I have also updated getLicenseKey - specifically how it handles the expected 200 response
2023-10-06 16:22:56 +01:00
Mitch-Budibase 5e16d04519 lint 2023-10-05 17:43:25 +01:00
Mitch-Budibase 678033cc8b License Key - Activate & Manage Tests
There are two test files, license.activate.spec.ts and license.manage.spec.ts

These test files each contain a test:
- Creates, activates, and deletes an online license for a self hosted account - license.activate.spec.ts
- Retrieves plans, creates checkout session, and updates license - license.manage.spec.ts

Updated and created API files
- StripeAPI
- LicenseAPI
- internal-api LicenseAPI
- index & AccountInternalAPI also updated to reflect API file changes
2023-10-05 17:39:40 +01:00
Adria Navarro 02ab0a134e Update ts to 5.x 2023-09-22 18:17:19 +02:00
Martin McKeaveney 9fc1811b0c remove comment 2023-09-12 11:26:38 +01:00
Martin McKeaveney 1d0a42b59f pin version of postgres in QA core tests so it works with pg dump 2023-09-12 11:26:26 +01:00
Adria Navarro 3b69acc166 Merge branch 'develop' into update-node-types 2023-09-07 19:50:39 +02:00
Adria Navarro f691987e65 Update node types 2023-09-07 11:21:41 +02:00
Mitch-Budibase 18a159e912 Add assertion for self response
We want to ensure that the self response contains the email of the created account
2023-09-01 15:43:07 +01:00
Mitch-Budibase 178b807573 Merge branch 'develop' into account-portal-auth-api-testing-2 2023-08-30 15:14:48 +01:00
mike12345567 7110351bdc Revert "revert develop into master"
This reverts commit fd099658a0.
2023-08-18 14:33:21 +01:00
Martin McKeaveney fd099658a0 revert develop into master 2023-08-17 10:28:15 +01:00
Martin McKeaveney 6586755538 remove special chars from access and secret key in dynamo lib 2023-08-14 18:16:40 +01:00
Mitch-Budibase 3c3dd9c95a Updating test - performs signup and deletion flow
Including two more steps within this test.

- Verify the self response is unauthorized
- Verify the self response matches the account

This will cover the '/api/auth/self' endpoint
2023-08-01 16:46:11 +01:00
Mitch-Budibase 2e827bcc8e Moving 'self' function from AuthAPI to AccountAPI
This function will be used within Account testing
2023-07-31 18:01:40 +01:00
Mitch-Budibase fe9dded2ab Updating Describe text
It previously said 'Accounts' but 'Password Management' is more accurate for the test
2023-07-31 17:45:45 +01:00
jvcalderon 17980d4bcc Merge account-portal-auth-api-testing 2023-07-31 16:09:45 +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 f656e97d2d Lint 2023-07-25 11:28:14 +01:00
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