"...k-to-add-sections-and-choose-layouts-for-sections.feature" did not exist on "77be4868cbc3c34e584c354111dba42e63ac4e8a"
Newer
Older

Rajab Natshah
committed
Feature: Check JSON API admin interface and services and Varbase API settings

Rajab Natshah
committed
As a site admin user
I want to be able to check the JSON:API available interface options
So that I can use them to enable or disable API service for Varbase APIs.
Background:
Given I am a logged in user with the "webmaster" user

Rajab Natshah
committed
@javascript @check @local @development @staging @production

Rajab Natshah
committed
Scenario: Check the Varbase API settings in admin configurations page

Rajab Natshah
committed
When I go to "/admin/config"
And I wait max of 5s

Rajab Natshah
committed
Then I should see "JSON:API"
And I should see "Varbase API settings"

Rajab Natshah
committed
@javascript @check @local @development @staging @production

Rajab Natshah
committed
Scenario: Check JSON:API configurations

Rajab Natshah
committed
When I go to "/admin/config/services/jsonapi"
And I wait max of 5s

Rajab Natshah
committed
Then I should see "JSON:API"
And I should see "Allowed operations"
@check @local @development @staging @production

Rajab Natshah
committed
Scenario: Check JSON:API Extras configurations

Rajab Natshah
committed
When I go to "/admin/config/services/jsonapi/extras"
And I wait max of 5s

Rajab Natshah
committed
Then I should see "JSON:API Extras"

Rajab Natshah
committed
And I should see "api" value in the "edit-path-prefix" input element

Rajab Natshah
committed

Rajab Natshah
committed
@javascript @check @local @development @staging @production

Rajab Natshah
committed
Scenario: Check JSON:API Resource overrides

Rajab Natshah
committed
When I go to "/admin/config/services/jsonapi/resource_types"
And I wait max of 5s

Rajab Natshah
committed
Then I should see "JSON:API Resource overrides"
And I should see "The following table shows the list of JSON:API resource types available."

Rajab Natshah
committed
@javascript @check @local @development @staging @production

Rajab Natshah
committed
Scenario: Check Varbase API settings and Generate keys

Rajab Natshah
committed
When I go to "/admin/config/system/varbase/api"
And I wait max of 5s

Rajab Natshah
committed
Then I should see "Varbase API settings"
And the "entity_json" checkbox is checked

Rajab Natshah
committed
And the "bundle_docs" checkbox is checked

Rajab Natshah
committed
When I go to "/admin/config/system/varbase/api/keys"
And I wait max of 5s

Rajab Natshah
committed
Then I should see "Path to the directory in which to store the generated keys."

Rajab Natshah
committed

Rajab Natshah
committed
@javascript @check @local @development @staging @production

Rajab Natshah
committed
Scenario: Check Open API settings and documentation pages
When I go to "/admin/config/services/openapi"
And I wait 5s

Rajab Natshah
committed
Then I should see "OpenAPI Resources"
And I should see "Rest"

Rajab Natshah
committed
And I should see "JSON:API"

Rajab Natshah
committed
When I go to "/admin/config/services/openapi/redoc/rest"
And I wait 5s

Rajab Natshah
committed
Then I should see "The REST API provide by the core REST module"
When I go to "/admin/config/services/openapi/redoc/jsonapi"
And I wait 5s

Rajab Natshah
committed
Then I should see "This is a JSON API compliant implementation"

Rajab Natshah
committed

Rajab Natshah
committed
When I go to "/admin/config/services/openapi/swagger/jsonapi"
And I wait 5s

Rajab Natshah
committed
Then I should see "OpenAPI Documentation"