diff options
author | Marin Jankovski <marin@gitlab.com> | 2014-05-05 13:47:47 +0200 |
---|---|---|
committer | Marin Jankovski <marin@gitlab.com> | 2014-05-05 13:47:47 +0200 |
commit | 5a949e609512cdabd7885712a37e04095d1f4600 (patch) | |
tree | 4849c1cc7cc335b34c30acbdb737ac0de53ad8cc /features/project/wiki.feature | |
parent | 4146e885dde2338b25c1a176ede2f5a2d0946f96 (diff) | |
download | gitlab-ce-5a949e609512cdabd7885712a37e04095d1f4600.tar.gz |
Add tests for wiki files showing.
Diffstat (limited to 'features/project/wiki.feature')
-rw-r--r-- | features/project/wiki.feature | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/features/project/wiki.feature b/features/project/wiki.feature index 90eb2b79c66..41c51f2c42e 100644 --- a/features/project/wiki.feature +++ b/features/project/wiki.feature @@ -45,3 +45,20 @@ Feature: Project Wiki And I browse to that Wiki page And I click on the "Pages" button Then I should see the existing page in the pages list + + Scenario: Image in wiki repo shown on the page + Given I have an existing Wiki page with images linked on page + And I browse to wiki page with images + Then Image should be shown on the page + + Scenario: File does not exist in wiki repo + Given I have an existing Wiki page with images linked on page + And I browse to wiki page with images + And I click on image link + Then I should see the new wiki page form + + Scenario: File exists in wiki repo + Given I have an existing Wiki page with images linked on page + And I browse to wiki page with images + And I click on existing image link + Then I should see the image from wiki repo |