2018-07-03 14:40:15 +00:00
|
|
|
@setupApplicationTest
|
2018-07-04 12:21:30 +00:00
|
|
|
Feature: components / text-input: Text input
|
2018-07-03 14:40:15 +00:00
|
|
|
Background:
|
|
|
|
Given 1 datacenter model with the value "dc-1"
|
2020-05-12 15:37:22 +00:00
|
|
|
Scenario: KV page
|
2018-09-20 09:36:30 +00:00
|
|
|
When I visit the kv page for yaml
|
2018-07-03 14:40:15 +00:00
|
|
|
---
|
|
|
|
dc: dc-1
|
|
|
|
---
|
2018-09-20 09:36:30 +00:00
|
|
|
Then the url should be /dc-1/kv/create
|
|
|
|
# Turn the Code Editor off so we can fill the value easier
|
|
|
|
And I click "[name=json]"
|
2018-07-03 14:40:15 +00:00
|
|
|
Then I fill in with json
|
|
|
|
---
|
2018-09-20 09:36:30 +00:00
|
|
|
{"additional": "hi", "value": "there"}
|
|
|
|
---
|
|
|
|
Then I see submitIsEnabled
|
2020-05-12 15:37:22 +00:00
|
|
|
Scenario: ACL page
|
2018-09-20 09:36:30 +00:00
|
|
|
When I visit the acl page for yaml
|
|
|
|
---
|
|
|
|
dc: dc-1
|
|
|
|
---
|
|
|
|
Then the url should be /dc-1/acls/create
|
|
|
|
Then I fill in with json
|
|
|
|
---
|
|
|
|
{"name": "hi"}
|
2018-07-03 14:40:15 +00:00
|
|
|
---
|
|
|
|
Then I see submitIsEnabled
|