Feature: Issue textile quickinfo links Background: Given there are no issues And there is 1 project with the following: | name | parent | | identifier | parent | And I am working in project "parent" And the project "parent" has the following trackers: | name | position | | Bug | 1 | And there is a default issuepriority with: | name | Normal | And there is a role "member" And the role "member" may have the following rights: | add_issues | | view_issues | | edit_issues | And there is 1 user with the following: | login | bob| And the user "bob" is a "member" in the project "parent" And there are the following issue status: | name | is_closed | is_default | | New | false | true | | In Progress | false | false | Given the user "bob" has 1 issue with the following: | subject | issue1 | | due_date | 2012-05-04 | | start_date | 2011-05-04 | | description | Aioli Sali Grande | And I am logged in as "bob" Scenario: Adding an issue link When I go to the issues/new page of the project called "parent" And I fill in "One hash key" for "issue_subject" And I fill in the ID of "issue1" with 1 hash for "issue_description" When I click on the first button matching "Create" Then I should see an issue link for "issue1" within "div.wiki" When I follow the issue link with 1 hash for "issue1" Then I should be on the page of the issue "issue1" Scenario: Adding an issue quickinfo link When I go to the issues/new page of the project called "parent" And I fill in "One hash key" for "issue_subject" And I fill in the ID of "issue1" with 2 hash for "issue_description" When I click on the first button matching "Create" Then I should see a quickinfo link for "issue1" within "div.wiki" When I follow the issue link with 2 hash for "issue1" Then I should be on the page of the issue "issue1" Scenario: Adding an issue quickinfo link with description When I go to the issues/new page of the project called "parent" And I fill in "One hash key" for "issue_subject" And I fill in the ID of "issue1" with 3 hash for "issue_description" When I click on the first button matching "Create" Then I should see a quickinfo link with description for "issue1" within "div.wiki" When I follow the issue link with 3 hash for "issue1" Then I should be on the page of the issue "issue1" Scenario: Navigating from issue reports back to issue overview When I go to the issues/report page of the project called "parent" And I follow "Issue" within "#main-menu" Then I should be on the issues index page of the project called "parent" Scenario: An issue attachment is listed Given the issue "issue1" has an attachment "logo.gif" When I go to the page for the issue "issue1" Then I should see "logo.gif" within ".icon-attachment" Scenario: Deleting an issue attachment is possible Given the issue "issue1" has an attachment "logo.gif" When I go to the page for the issue "issue1" Then I should see "logo.gif" within ".icon-attachment" When I click the first delete attachment link Then I should not see ".icon-attachment"