diff options
author | Stan Hu <stanhu@gmail.com> | 2015-09-12 20:54:06 -0700 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-02-01 18:25:32 +0100 |
commit | f86ddfd36538667cd0c484a62825569a36ef2a2c (patch) | |
tree | c8d68ea4b84324f974db7671ccba13b754ad4b6f /features/project/source/browse_files.feature | |
parent | da8e0f86595299740a344309cb5963854b61c4a6 (diff) | |
download | gitlab-ce-f86ddfd36538667cd0c484a62825569a36ef2a2c.tar.gz |
Render sanitized SVG images
Closes https://github.com/gitlabhq/gitlabhq/issues/9265
Diffstat (limited to 'features/project/source/browse_files.feature')
-rw-r--r-- | features/project/source/browse_files.feature | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/features/project/source/browse_files.feature b/features/project/source/browse_files.feature index a8c276b949e..1e09dbc4c8f 100644 --- a/features/project/source/browse_files.feature +++ b/features/project/source/browse_files.feature @@ -320,3 +320,13 @@ Feature: Project Source Browse Files Then I should see download link and object size And I should not see lfs pointer details And I should see buttons for allowed commands + + @javascript + Scenario: I preview an SVG file + Given I click on "Upload file" link in repo + And I upload a new SVG file + And I fill the upload file commit message + And I fill the new branch name + And I click on "Upload file" + Given I visit the SVG file + Then I can see the new rendered SVG image |