mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 21:35:52 +00:00
daf283d315
ui: UI Release Merge (1.8-beta-3: ui-staging merge)
23 lines
853 B
Gherkin
23 lines
853 B
Gherkin
@setupApplicationTest
|
|
Feature: dc / kvs / trailing-slash
|
|
Scenario: I have 10 folders and I visit without a trailing slash
|
|
Given 1 datacenter model with the value "datacenter"
|
|
And 10 kv models from yaml
|
|
When I visit the kvs page for yaml
|
|
---
|
|
dc: datacenter
|
|
kv: foo/bar
|
|
---
|
|
Then the url should be /datacenter/kv/foo/bar/
|
|
And a GET request was made to "/v1/kv/foo/bar/?keys&dc=datacenter&separator=%2F&ns=@namespace"
|
|
Scenario: I have 10 folders and I visit with a trailing slash
|
|
Given 1 datacenter model with the value "datacenter"
|
|
And 10 kv models from yaml
|
|
When I visit the kvs page for yaml
|
|
---
|
|
dc: datacenter
|
|
kv: foo/bar/
|
|
---
|
|
Then the url should be /datacenter/kv/foo/bar/
|
|
And a GET request was made to "/v1/kv/foo/bar/?keys&dc=datacenter&separator=%2F&ns=@namespace"
|