Cucumber refactoring
This commit is contained in:
parent
21bfd1e7fc
commit
e4447de23f
13 changed files with 163 additions and 119 deletions
|
@ -4,7 +4,7 @@ Feature: Issues
|
|||
And I own project "Shop"
|
||||
And project "Shop" have "Release 0.4" open issue
|
||||
And project "Shop" have "Release 0.3" closed issue
|
||||
And I visit project "Shop" issues page
|
||||
And I visit project "Shop" issues page
|
||||
|
||||
Scenario: I should see open issues
|
||||
Given I should see "Release 0.4" in issues
|
||||
|
@ -36,3 +36,31 @@ Feature: Issues
|
|||
Given I visit issue page "Release 0.4"
|
||||
And I leave a comment like "XML attached"
|
||||
Then I should see comment "XML attached"
|
||||
|
||||
@javascript
|
||||
Scenario: I search issue
|
||||
Given I fill in issue search with "Release"
|
||||
Then I should see "Release 0.4" in issues
|
||||
And I should not see "Release 0.3" in issues
|
||||
|
||||
@javascript
|
||||
Scenario: I search issue that not exist
|
||||
Given I fill in issue search with "Bug"
|
||||
Then I should not see "Release 0.4" in issues
|
||||
And I should not see "Release 0.3" in issues
|
||||
|
||||
|
||||
@javascript
|
||||
Scenario: I search all issues
|
||||
Given I click link "All"
|
||||
And I fill in issue search with "0.3"
|
||||
Then I should see "Release 0.3" in issues
|
||||
And I should not see "Release 0.4" in issues
|
||||
|
||||
@javascript
|
||||
Scenario: I clear search
|
||||
Given I click link "All"
|
||||
And I fill in issue search with "Something"
|
||||
And I fill in issue search with ""
|
||||
Then I should see "Release 0.4" in issues
|
||||
And I should see "Release 0.3" in issues
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue