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
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
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
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
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
Pedro Silva
46381c381d
Update commands to run locally and in CI
2023-03-26 18:00:20 +01: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
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
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
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
Gerard Burns
48e1695318
JSON import changes ( #9288 )
...
* JSON import changes
* Fix lockfiles
* PR Feedback, fix tests
* fix tests
* pr feedback
2023-01-17 15:07:52 +00:00
Pedro Silva
4483ab9cb0
Merge branch 'develop' into api-tests-extend-coverage
2023-01-16 09:51:55 +00:00
Pedro Silva
576f47e4a9
Split application tests
2023-01-11 15:55:41 +00:00
Pedro Silva
b2d96eaa6f
Debug tests
2023-01-11 12:45:29 +00:00
Pedro Silva
c090e71ae3
Add email and tenant validation
2023-01-09 15:35:53 +00:00
Pedro Silva
9428865890
Add todo comment
2023-01-09 15:33:05 +00:00
Pedro Silva
e8ff068dae
Implement logic for automatic setup of api tests
2023-01-09 15:31:07 +00:00
mike12345567
3601bd1f4d
Adding pre-commit check for qa-core and examples.
2023-01-06 16:52:18 +00:00
mike12345567
60371d828e
Linting.
2023-01-06 16:46:50 +00:00
Pedro Silva
41c51cb834
Improve naming and comments
2023-01-02 10:09:55 +00:00
Pedro Silva
3fc6dd62f7
Add test for table pagination
2023-01-02 10:06:05 +00:00
Pedro Silva
125a06517d
"Edit multiple rows"
2022-12-28 15:46:01 +00:00
Pedro Silva
3aec3df36d
Improvements on apps and tables
2022-12-23 16:03:02 +00:00
Pedro Silva
54ca0d1218
Remove unused const
2022-12-19 18:01:59 +00:00
Pedro Silva
aefa3a65c2
Add setup for account and tenant creation
2022-12-19 18:00:51 +00:00
Pedro Silva
69873152b6
Add scaffold
2022-12-19 15:46:38 +00:00
Pedro Silva
d168ffc3f0
Fix wrong parameter
2022-12-19 14:46:34 +00:00
Pedro Silva
7b92b1d250
Merge branch 'develop' into api-tests-user-management
2022-12-19 13:56:22 +00:00
Pedro Silva
96882ef135
Remove unused method
2022-12-19 13:53:52 +00:00
Martin McKeaveney
84ab7862d1
fixes for google sheets, admin checklist, and deleting an app from API ( #8846 )
...
* fixes for google sheets, admin checklist, and deleting an app from API
* code review
* splitting unpublish endpoint, moving deploy endpoint to applications controller. Still to do public API work and move deployment controller into application controller
* updating REST method for unpublish in API test
* unpublish and publish endpoint on public API, delete endpoint unpublishes and deletes app
* removing skip_setup from prodAppDb call
* removing commented code
* unit tests and open API spec updates
* unpublish, publish unit tests - delete still in progress
* remove line updating app name in API test
* unit tests
* v2.1.46
* Update pro version to 2.1.46
* v2.2.0
* Update pro version to 2.2.0
* Fix for budibase plugin skeleton, which utilises the old import style.
* Fix side nav styles
* v2.2.1
* Update pro version to 2.2.1
* using dist folder to allow importing constants for openAPI specs
* v2.2.2
* Update pro version to 2.2.2
* Fix for user enrichment call (updating to @budibase/nano fork) (#9038 )
* Fix for #9029 - this should fix the issue users have been experiencing with user enrichment calls in apps, essentially it utilises a fork of the nano library we use to interact with CouchDB, which has been updated to use a POST request rather than a GET request as it supports a larger set of data being sent as query parameters.
* Incrementing Nano version to attempt to fix yarn registry issues.
* v2.2.3
* Update pro version to 2.2.3
* Fix SQL table `_id` filtering (#9030 )
* Re-add support for filtering on _id using external SQL tables and fix filter key prefixes not working with _id field
* Remove like operator from internal tables and only allow basic operators on SQL table _id column
* Update data section filtering to respect new rules
* Update automation section filtering to respect new rules
* Update dynamic filter component to respect new rules
* v2.2.4
* Update pro version to 2.2.4
* lock changes (#9047 )
* v2.2.5
* Update pro version to 2.2.5
* Make looping arrow point in right direction (#9053 )
* v2.2.6
* Update pro version to 2.2.6
* Types/attaching license to account (#9065 )
* adding license type to account
* removing planDuration
* v2.2.7
* Update pro version to 2.2.7
* Environment variable type coercion fix (#9074 )
* Environment variable type coercion fix
* Update .gitignore
* v2.2.8
* Update pro version to 2.2.8
* tests passing
* all tests passing, updates to public API response
* update unpublish call to return 204, openAPI spec and unit
* fixing API tests
Co-authored-by: Budibase Release Bot <>
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
Co-authored-by: Andrew Kingston <andrew@kingston.dev>
Co-authored-by: melohagan <101575380+melohagan@users.noreply.github.com>
Co-authored-by: Rory Powell <rory.codes@gmail.com>
2022-12-19 13:18:00 +00:00
Pedro Silva
8cc8db7842
Add for app specific custom roles
2022-12-16 18:17:30 +00:00
Martin McKeaveney
c0eb8c039a
using production appID in BASIC screens test
2022-12-16 15:30:12 +00:00
Pedro Silva
0fa1e7b97b
Add tests for app specific roles
2022-12-16 11:24:16 +00:00
Pedro Silva
d55172a9fb
Improve Role tests
2022-12-14 23:15:02 +00:00
Pedro Silva
5773f39659
Organize user and permissions tests
2022-12-12 16:32:37 +00:00
Pedro Silva
300b0b7b67
Add access tests for tables
2022-12-11 11:07:14 +00:00
Pedro Silva
1765e10995
Remove toString
2022-12-09 18:10:17 +00:00
Pedro Silva
d390fe7d8d
Rename users methods
2022-12-09 18:00:13 +00:00
Pedro Silva
fbf50f0ddf
Remove explicit toString
2022-12-09 17:52:33 +00:00
Pedro Silva
b995575189
Add partial user type
2022-12-09 17:49:45 +00:00
Pedro Silva
6d87a38ab3
Changes to types and user generation
2022-12-09 17:34:59 +00:00
Pedro Silva
4467d2b005
Remove duplicated assertions
2022-12-06 18:20:02 +00:00
Pedro Silva
c03ee6a613
Fix names
2022-12-06 16:16:07 +00:00
Pedro Silva
d2a8923d0d
Add tests for Roles
2022-12-06 16:14:00 +00:00
Pedro Silva
895c29d45f
Add Tests for changes to user information/roles
2022-12-05 17:54:40 +00:00
Pedro Silva
0034bbbe2d
Record generated users passwords in test context
2022-12-02 19:04:23 +00:00
Pedro Silva
c0c8262561
Add generic login method
2022-12-02 18:59:08 +00:00
Pedro Silva
1c0767f549
Add users with all roles
2022-12-02 18:42:56 +00:00
Pedro Silva
b9186cac9d
Add tests for user management
2022-11-30 11:02:11 +00:00
Pedro Silva
7f8e093a52
Add verification
2022-11-28 22:13:07 +00:00
Pedro Silva
cb2b861032
Add User endpoints
2022-11-22 16:52:56 +00:00
mike12345567
0d13a77409
Some minor updates after running qa-core tests, found some issues that likely exists before context update.
2022-11-17 16:30:38 +00:00
mike12345567
b5472f882b
Some updates for currentapp.spec.js test case.
2022-11-15 17:35:17 +00:00
Pedro Silva
e583349565
Remove logic from endpoint methods
2022-11-10 09:45:02 +00:00
Pedro Silva
4fde16d55b
Fix duplicated name failure
2022-11-09 17:05:05 +00:00
Pedro Silva
604260f622
Add test for AppPackage
2022-11-09 16:05:15 +00:00
Pedro Silva
c53e5ed886
Improve stability of tests
2022-11-08 18:06:53 +00:00
Pedro Silva
a3cdb8eb83
Move assertion to endpoint definition
2022-11-07 15:48:24 +00:00
mike12345567
19669575e4
Fixing issue with self host build - import of backend-core changes mean that loading the public API files can require setup of backend-core, making it so that the JWT Strategy doesn't need to be setup to load backend-core.
2022-11-01 12:59:10 +00:00
Pedro Silva
b9bd007a0b
Add missing test to app flow
2022-10-28 16:48:29 +01:00
Rory Powell
9face50a07
Fix build failure around PouchDB type
2022-10-25 09:02:55 +01:00
mike12345567
724a23da2c
Merge branch 'develop' of github.com:Budibase/budibase into feature/app-backups
2022-10-24 16:51:53 +01:00
mike12345567
e1dca87507
Fixing test case.
2022-10-21 18:52:39 +01:00
Pedro Silva
664c2af408
Fix some tests after merge
2022-10-20 17:48:05 +01:00
Pedro Silva
ec958f3804
Merge branch 'develop' into api-tests-tables
2022-10-20 17:37:46 +01:00
Pedro Silva
d3337a0219
Improvement from PR comments
2022-10-20 15:31:10 +01:00
Pedro Silva
2a4eedcf38
Fix EOF
2022-10-19 10:42:57 +01:00
Pedro Silva
f328280cb1
Requested changes
2022-10-19 10:35:00 +01:00
Pedro Silva
bbd42b4db3
Remove unecessary const
2022-10-18 17:34:19 +01:00
Pedro Silva
814670cbed
Add operations on rows and columns
2022-10-18 17:29:13 +01:00
Pedro Silva
eb1e85fb46
Add Table endpoints
2022-10-17 18:20:40 +01:00
Pedro Silva
7053472347
Fix extra declarations
2022-10-13 15:18:36 +01:00
Pedro Silva
185d55a3f4
Refactor create app
2022-10-13 14:58:23 +01:00
Mitch-Budibase
9eb0714033
Small changes based on PR feedback
...
As per some of the comments on the PR:
- Renaming createScreen & deleteScreen to create & delete as they are on the screens namespace
- Updating a test within create.spec.js (applications) for when a screen is generated
- Improvements to the current screens tests (removing unnecessary `expect` lines & updating the for loop for the create screens test)
2022-10-12 17:48:33 +01:00
Mitch-Budibase
3c25763bd9
Merge branch 'develop' into api-screens
2022-10-12 16:53:47 +01:00
Rory Powell
6e083c85a4
Fix linting
2022-10-12 10:25:02 +01:00
Pedro Silva
4090dd2dfe
Add types for Responses
2022-10-11 16:47:02 +01:00
Pedro Silva
07359370e6
Fix Identation
2022-10-11 16:24:43 +01:00
Pedro Silva
dd914d31db
Remove Test and fix types
2022-10-11 16:21:05 +01:00
Pedro Silva
8ce7ca1bb2
Add types for response
2022-10-11 15:08:08 +01:00
Pedro Silva
2f5ab092fe
Add test for appDefinition
2022-10-11 15:06:04 +01:00
Mitch-Budibase
b301adbd88
API Screens - Updating create screen test
...
The create screen tests will now create a screen with each available role type
- The types are: BASIC, POWER, ADMIN, PUBLIC
2022-10-10 17:44:19 +01:00
Mitch-Budibase
6aa0d41eb2
API Screens - Fetch screens test
...
Additional test to fetch screens.
- To confirm the screen was created i am checking `routes`
- It will then confirm the route with the screen exists - in this case the route is `/test` (as determined when the screen is created)
2022-10-10 17:27:55 +01:00
Mitch-Budibase
d52c9a5cfb
Merge branch 'develop' into api-screens
2022-10-10 15:40:03 +01:00
Mitch-Budibase
43eab991f1
API: Screens - Add and Delete Screen
...
Screens API tests
- This includes adding a basic screen and deleting a screen
2022-10-10 15:39:02 +01:00
Pedro Silva
12eb99600d
Remove comment
2022-10-10 14:39:12 +01:00
Pedro Silva
e55d116c5e
Fix revert test with 400 status
2022-10-10 14:24:34 +01:00
Martin McKeaveney
052bc0aeed
ensure correct revert endpoint being hit, update call to revert
2022-10-09 19:31:35 +01:00