Newer
Older

Rajab Natshah
committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Feature: Check JSON:API admin interface and services and Varbase API settings.
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
@check @local @development @staging @production
Scenario: Check the Varbase API settings in admin configurations page.
When I go to "/admin/config"
And I wait
Then I should see "JSON:API"
And I should see "Varbase API settings"
@check @local @development @staging @production
Scenario: Check JSON:API configurations.
When I go to "/admin/config/services/jsonapi"
And I wait
Then I should see "JSON:API"
And I should see "Allowed operations"
@check @local @development @staging @production
Scenario: Check JSON:API Extras configurations.
When I go to "/admin/config/services/jsonapi/extras"
And I wait
Then I should see "JSON:API Extras"
And I should see "api" value in the "path_prefix" input element
@check @local @development @staging @production
Scenario: Check JSON:API Resource overrides.
When I go to "/admin/config/services/jsonapi/resource_types"
And I wait
Then I should see "JSON:API Resource overrides"
And I should see "The following table shows the list of JSON:API resource types available."
@check @local @development @staging @production
Scenario: Check Varbase API settings and Generate keys.
When I go to "/admin/config/system/varbase/api"
And I wait
Then I should see "Varbase API settings"
And the "entity_json" checkbox is checked
And the "bundle_docs" is checked
When I go to "/admin/config/system/varbase/api/keys"
And I wait
Then I should see "Path to the directory in which to store the generated keys."