mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 21:35:52 +00:00
b445df39bb
This enables people to enter things using the mouse to paste for example, plus possible other things. As an aside it also answers my query regarding `fillIn` for testing, nothing needs to be actually _typed_ anymore! Doh
22 lines
746 B
Gherkin
22 lines
746 B
Gherkin
@setupApplicationTest
|
|
Feature: Text input
|
|
Background:
|
|
Given 1 datacenter model with the value "dc-1"
|
|
Scenario:
|
|
When I visit the [Page] page for yaml
|
|
---
|
|
dc: dc-1
|
|
---
|
|
Then the url should be [Url]
|
|
Then I fill in with json
|
|
---
|
|
[Data]
|
|
---
|
|
Then I see submitIsEnabled
|
|
Where:
|
|
--------------------------------------------------------------------------------
|
|
| Page | Url | Data |
|
|
| kv | /dc-1/kv/create | {"additional": "hi", "value": "there"} |
|
|
| acl | /dc-1/acls/create | {"name": "hi"} |
|
|
--------------------------------------------------------------------------------
|