cucumber feature closer to passing.
This commit is contained in:
parent
d200aaab52
commit
8cf1b83662
1 changed files with 3 additions and 5 deletions
|
|
@ -12,12 +12,10 @@ Feature: User creates an aspect
|
||||||
Scenario: success
|
Scenario: success
|
||||||
Given I fill in "Name" with "Dorm Mates" in the modal window
|
Given I fill in "Name" with "Dorm Mates" in the modal window
|
||||||
When I press "Create" in the modal window
|
When I press "Create" in the modal window
|
||||||
Then I should see "Manage aspects"
|
Then I should see "Dorm Mates" in the header
|
||||||
And I should see "Dorm Mates" in the header
|
And I should see "Your aspect 'Dorm Mates' is empty."
|
||||||
And I should see "Dorm Mates" in the aspect list
|
|
||||||
|
|
||||||
Scenario: I omit the name
|
Scenario: I omit the name
|
||||||
Given I fill in "Name" with "" in the modal window
|
Given I fill in "Name" with "" in the modal window
|
||||||
When I press "Create" in the modal window
|
When I press "Create" in the modal window
|
||||||
Then I should see "Manage aspects"
|
Then I should see "Aspect creation failed."
|
||||||
And I should see "Aspect creation failed."
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue