Skip to content

Commit 8efb00d

Browse files
committed
tests: added API tests
1 parent 5302c5f commit 8efb00d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

web/rest/brand/features/provider/terminal/getTerminalStatus.feature

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,13 @@ Feature: Retrieve terminals status
5353
}
5454
]
5555
"""
56+
57+
@createSchema
58+
Scenario: Retrieve the terminals status json list without pagination
59+
Given I add Brand Authorization header
60+
When I add "Accept" header equal to "application/json"
61+
And I send a "GET" request to "terminals/status?_pagination=false"
62+
Then the response status code should be 200
63+
And the header "Content-Type" should be equal to "application/json; charset=utf-8"
64+
And the response should contain "127.0.0.1"
65+
And the response should contain "alice"

0 commit comments

Comments
 (0)