2015-12-23 02:04:40 +05:30
|
|
|
@project_issues
|
2015-04-26 12:48:37 +05:30
|
|
|
Feature: Project Issues Milestones
|
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 milestone "v2.2"
|
|
|
|
Given I visit project "Shop" milestones page
|
|
|
|
|
|
|
|
Scenario: I should see active milestones
|
|
|
|
Then I should see milestone "v2.2"
|
|
|
|
|
|
|
|
Scenario: I should see milestone
|
|
|
|
Given I click link "v2.2"
|
|
|
|
Then I should see milestone "v2.2"
|
|
|
|
|
2015-09-25 12:07:36 +05:30
|
|
|
@javascript
|
|
|
|
Scenario: I create and delete new milestone
|
2014-09-02 18:07:02 +05:30
|
|
|
Given I click link "New Milestone"
|
|
|
|
And I submit new milestone "v2.3"
|
|
|
|
Then I should see milestone "v2.3"
|
2018-03-17 18:26:18 +05:30
|
|
|
Given I click button to remove milestone
|
|
|
|
And I confirm in modal
|
2015-09-25 12:07:36 +05:30
|
|
|
When I visit project "Shop" activity page
|
|
|
|
Then I should see deleted milestone activity
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
@javascript
|
2015-09-11 14:41:01 +05:30
|
|
|
Scenario: I delete new milestone
|
2018-03-17 18:26:18 +05:30
|
|
|
Given I click button to remove milestone
|
|
|
|
And I confirm in modal
|
2015-09-11 14:41:01 +05:30
|
|
|
And I should see no milestones
|
|
|
|
|
2014-09-02 18:07:02 +05:30
|
|
|
@javascript
|
|
|
|
Scenario: Listing closed issues
|
|
|
|
Given the milestone has open and closed issues
|
|
|
|
And I click link "v2.2"
|
|
|
|
Then I should see 3 issues
|
|
|
|
|
|
|
|
# Markdown
|
|
|
|
|
|
|
|
Scenario: Headers inside the description should have ids generated for them.
|
|
|
|
Given I click link "v2.2"
|
2018-05-09 12:01:36 +05:30
|
|
|
# PLEASE USE the `have_header_with_correct_id_and_link(level, text, id, parent)` matcher on migrating this spec to rspec.
|
2014-09-02 18:07:02 +05:30
|
|
|
Then Header "Description header" should have correct id and link
|