github.com/DerekStrickland/consul@v1.4.5/ui-v2/tests/acceptance/submit-blank.feature (about) 1 @setupApplicationTest 2 Feature: submit blank 3 In order to prevent form's being saved without values 4 As a user 5 I shouldn't be able to submit a blank form 6 Scenario: Visiting a blank form for [Model] 7 Given 1 datacenter model with the value "datacenter" 8 When I visit the [Model] page for yaml 9 --- 10 dc: datacenter 11 --- 12 Then the url should be /datacenter/[Slug]/create 13 And I submit 14 Then the url should be /datacenter/[Slug]/create 15 Where: 16 -------------------------- 17 | Model | Slug | 18 | kv | kv | 19 | acl | acls | 20 | intention | intentions | 21 -------------------------- 22 @ignore 23 Scenario: The button is disabled 24 Then ok 25