2015-12-23 02:04:40 +05:30
|
|
|
@project_issues
|
2015-04-26 12:48:37 +05:30
|
|
|
Feature: Project Issues Filter Labels
|
2014-09-02 18:07:02 +05:30
|
|
|
Background:
|
|
|
|
Given I sign in as a user
|
|
|
|
And I own project "Shop"
|
|
|
|
And project "Shop" has labels: "bug", "feature", "enhancement"
|
|
|
|
And project "Shop" has issue "Bugfix1" with labels: "bug", "feature"
|
|
|
|
And project "Shop" has issue "Bugfix2" with labels: "bug", "enhancement"
|
|
|
|
And project "Shop" has issue "Feature1" with labels: "feature"
|
|
|
|
Given I visit project "Shop" issues page
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
@javascript
|
2014-09-02 18:07:02 +05:30
|
|
|
Scenario: I filter by one label
|
|
|
|
Given I click link "bug"
|
|
|
|
Then I should see "Bugfix1" in issues list
|
|
|
|
And I should see "Bugfix2" in issues list
|
|
|
|
And I should not see "Feature1" in issues list
|
|
|
|
|
|
|
|
# TODO: make labels filter works according to this scanario
|
|
|
|
# right now it looks for label 1 OR label 2. Old behaviour (this test) was
|
|
|
|
# all issues that have both label 1 AND label 2
|
|
|
|
#Scenario: I filter by two labels
|
|
|
|
#Given I click link "bug"
|
|
|
|
#And I click link "feature"
|
|
|
|
#Then I should see "Bugfix1" in issues list
|
|
|
|
#And I should not see "Bugfix2" in issues list
|
|
|
|
#And I should not see "Feature1" in issues list
|