Forward port json drill apispaces (#5818)

* Added json schema for response check in apiSpaces suite

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Review Address

* Added schema for space management feature

* Added new schema asper change in master

* fix feature file

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
This commit is contained in:
Sagar Gurung
2023-03-15 10:06:58 +05:45
committed by GitHub
parent 173850a35c
commit 67296caf14
13 changed files with 1673 additions and 245 deletions
@@ -56,7 +56,7 @@ Feature: capabilities
When the administrator retrieves the capabilities using the capabilities API
Then the OCS status code should be "100"
And the HTTP status code should be "200"
And the JSON data of the response should match
And the ocs JSON data of the response should match
"""
{
"type": "object",
@@ -95,7 +95,7 @@ Feature: capabilities
When the administrator retrieves the capabilities using the capabilities API
Then the OCS status code should be "100"
And the HTTP status code should be "200"
And the JSON data of the response should match
And the ocs JSON data of the response should match
"""
{
"type": "object",
@@ -134,7 +134,7 @@ Feature: capabilities
When the administrator retrieves the capabilities using the capabilities API
Then the OCS status code should be "100"
And the HTTP status code should be "200"
And the JSON data of the response should match
And the ocs JSON data of the response should match
"""
{
"type": "object",
@@ -173,7 +173,7 @@ Feature: capabilities
When the administrator retrieves the capabilities using the capabilities API
Then the OCS status code should be "100"
And the HTTP status code should be "200"
And the JSON data of the response should match
And the ocs JSON data of the response should match
"""
{
"type": "object",
@@ -212,7 +212,7 @@ Feature: capabilities
@smokeTest
Scenario: getting default capabilities with admin user
When the administrator retrieves the capabilities using the capabilities API
And the JSON data of the response should match
And the ocs JSON data of the response should match
"""
{
"type": "object",
@@ -12,7 +12,7 @@ Feature: default capabilities for normal user
When user "Alice" retrieves the capabilities using the capabilities API
Then the OCS status code should be "100"
And the HTTP status code should be "200"
And the JSON data of the response should match
And the ocs JSON data of the response should match
"""
{
"type": "object",