Mitch-Budibase
25f9a2043b
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
4e8577f47d
Merge branch 'develop' into api-screens
2022-10-12 16:53:47 +01:00
Rory Powell
40d204fbb2
Fix linting
2022-10-12 10:25:02 +01:00
Pedro Silva
9094da347e
Add types for Responses
2022-10-11 16:47:02 +01:00
Pedro Silva
4b916e7074
Fix Identation
2022-10-11 16:24:43 +01:00
Pedro Silva
d04a20a9e6
Remove Test and fix types
2022-10-11 16:21:05 +01:00
Pedro Silva
a81500e5f0
Add types for response
2022-10-11 15:08:08 +01:00
Pedro Silva
db709c6a4d
Add test for appDefinition
2022-10-11 15:06:04 +01:00
Mitch-Budibase
013d29475f
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
44c9ef1568
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
18b9f65161
Merge branch 'develop' into api-screens
2022-10-10 15:40:03 +01:00
Mitch-Budibase
a620b147dd
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
d9baa5be66
Remove comment
2022-10-10 14:39:12 +01:00
Pedro Silva
b59cd28b1d
Fix revert test with 400 status
2022-10-10 14:24:34 +01:00
Martin McKeaveney
83f3a02d23
ensure correct revert endpoint being hit, update call to revert
2022-10-09 19:31:35 +01:00
Pedro Silva
25b72cbe2b
Add tests for revert endpoint
2022-10-07 18:05:58 +01:00
Pedro Silva
e343aab655
Add tests for endpoints
2022-10-07 12:19:00 +01:00
Pedro Silva
8dd309f6a5
Add missing applications endpoints
2022-10-04 17:12:38 +01:00
Pedro Silva
f488e03bda
Merge branch 'develop' into api-create-app
2022-10-04 16:13:58 +01:00
Pedro Silva
8403d95abb
Add Sync endpoint
2022-10-04 16:11:19 +01:00
Rory Powell
86bbd73bcd
Fix linting for qa-core
2022-10-04 10:59:53 +01:00
Martin McKeaveney
abc3e7ddc1
remove module file
2022-10-03 10:04:15 +01:00
Martin McKeaveney
40a01977bd
tidy up
2022-10-01 02:56:08 +01:00
Martin McKeaveney
c7db9588ce
QA Core tests for app creation
2022-10-01 02:54:51 +01:00
Martin McKeaveney
06de974ef5
create app with formdata
2022-09-30 15:35:13 +01:00
Martin McKeaveney
3b08f9f8f1
create app tests
2022-09-30 15:03:38 +01:00
Martin McKeaveney
d7e1ad5898
Merge pull request #8024 from Budibase/qa/internal-api-tests
...
Qa/internal api tests
2022-09-29 10:20:18 +01:00
Martin McKeaveney
ca03800b9a
removing users api file as no longer required
2022-09-29 09:56:09 +01:00
Martin McKeaveney
7842c5ccac
tidy up
2022-09-29 09:33:48 +01:00
Martin McKeaveney
943bd54879
use environment variables in jest run
2022-09-28 18:31:23 +01:00
Martin McKeaveney
d1ed21c251
setting up internal API with auth
2022-09-28 18:21:05 +01:00
Martin McKeaveney
b5ff52a756
removing random test file
2022-09-26 18:26:09 +01:00
Martin McKeaveney
d0ad7bbb67
merge with master
2022-09-26 17:57:23 +01:00
Martin McKeaveney
bfe1004487
internal API test config
2022-09-26 16:54:14 +01:00
Martin McKeaveney
1a18e7eba2
Merge pull request #7964 from Budibase/qa/real-couch-integration-tests
2022-09-26 11:10:15 +01:00
Martin McKeaveney
9b44d3ec63
adding startup script for local
2022-09-25 23:43:37 +01:00
Michael Drury
8e441a4680
x-ing the search test which should not work.
2022-09-24 19:39:19 +01:00
Martin McKeaveney
e796a86809
using real couch in integration tests
2022-09-24 13:17:21 +01:00
Mitch-Budibase
54e3714aac
API Test: Search Rows
...
Commenting out this specific test for now as it is quite flakey and preventing successful CI runs.
2022-09-21 16:16:18 +01:00
Martin McKeaveney
9812370674
Merge branch 'qa/qa-core-jest' of github.com:Budibase/budibase into qa/qa-core-jest
2022-09-15 20:36:02 +01:00
Martin McKeaveney
e16560e768
more random test data for rows
2022-09-15 20:34:37 +01:00
Martin McKeaveney
c368f79269
Create .env
2022-09-15 20:12:32 +01:00
Martin McKeaveney
39ceedc87c
tidy up
2022-09-15 20:09:23 +01:00
Martin McKeaveney
65d41fdd20
better tests and cleaner import for server
2022-09-15 19:51:11 +01:00
Martin McKeaveney
f4760d703b
better generation, and letting tests run in isolation
2022-09-15 09:48:44 +01:00
Martin McKeaveney
3c0b9344d8
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
2a6c9cd6c5
QA Core repo, and Jest API tests running end to end
2022-09-05 18:28:53 +01:00