Commit Graph

304 Commits

Author SHA1 Message Date
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
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