diff options
| author | Ciro Santillli <ciro.santilli@gmail.com> | 2014-02-04 08:48:33 +0100 |
|---|---|---|
| committer | Ciro Santillli <ciro.santilli@gmail.com> | 2014-02-11 16:23:33 +0100 |
| commit | 61748c993de8a38300c0c038cec5a07e6c324cd6 (patch) | |
| tree | af9693096914e2de64eaf5bdde06f59b90317eaa /features/project/issues | |
| parent | 1284f21c073e42c44b9faa7b0ad1ec90b66ca8fb (diff) | |
| download | gitlab-ce-61748c993de8a38300c0c038cec5a07e6c324cd6.tar.gz | |
Headers have ids and link to their own id.
Diffstat (limited to 'features/project/issues')
| -rw-r--r-- | features/project/issues/issues.feature | 12 | ||||
| -rw-r--r-- | features/project/issues/milestones.feature | 6 |
2 files changed, 18 insertions, 0 deletions
diff --git a/features/project/issues/issues.feature b/features/project/issues/issues.feature index 67986784bc7..033051991e2 100644 --- a/features/project/issues/issues.feature +++ b/features/project/issues/issues.feature @@ -55,3 +55,15 @@ Feature: Project Issues And I fill in issue search with ".3" Then I should see "Release 0.3" in issues And I should not see "Release 0.4" in issues + + # Markdown + + Scenario: Headers inside the description should have ids generated for them. + Given I visit issue page "Release 0.4" + Then Header "Description header" should have correct id and link + + @javascript + Scenario: Headers inside comments should not have ids generated for them. + Given I visit issue page "Release 0.4" + And I leave a comment with a header containing "Comment with a header" + Then The comment with the header should not have an ID diff --git a/features/project/issues/milestones.feature b/features/project/issues/milestones.feature index 2f38acf14d0..e67b5d2d860 100644 --- a/features/project/issues/milestones.feature +++ b/features/project/issues/milestones.feature @@ -22,3 +22,9 @@ Feature: Project Milestones 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" + Then Header "Description header" should have correct id and link |
