consul/ui/packages/consul-ui/tests/acceptance/components/text-input.feature

18 lines
476 B
Gherkin
Raw Normal View History

@setupApplicationTest
Feature: components / text-input: Text input
Background:
Given 1 datacenter model with the value "dc-1"
Scenario: KV page
When I visit the kv page for yaml
---
dc: dc-1
---
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]"
Then I fill in with json
---
{"additional": "hi", "value": "there"}
---
Then I see submitIsEnabled