2018-07-09 14:51:01 +00:00
|
|
|
@setupApplicationTest
|
2020-01-24 12:26:28 +00:00
|
|
|
Feature: dc / kvs / trailing-slash
|
2020-06-10 16:40:22 +00:00
|
|
|
Scenario: I have 10 folders and I visit without a trailing slash
|
2018-07-09 14:51:01 +00:00
|
|
|
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
|
|
|
|
---
|
2018-07-11 09:44:37 +00:00
|
|
|
Then the url should be /datacenter/kv/foo/bar/
|
2020-01-24 12:26:28 +00:00
|
|
|
And a GET request was made to "/v1/kv/foo/bar/?keys&dc=datacenter&separator=%2F&ns=@namespace"
|
2020-06-10 16:40:22 +00:00
|
|
|
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
|
2018-07-09 14:51:01 +00:00
|
|
|
When I visit the kvs page for yaml
|
|
|
|
---
|
|
|
|
dc: datacenter
|
|
|
|
kv: foo/bar/
|
|
|
|
---
|
|
|
|
Then the url should be /datacenter/kv/foo/bar/
|
2020-01-24 12:26:28 +00:00
|
|
|
And a GET request was made to "/v1/kv/foo/bar/?keys&dc=datacenter&separator=%2F&ns=@namespace"
|