summaryrefslogtreecommitdiff
path: root/features/project
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-01-12 11:41:24 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-01-14 12:48:16 +0100
commitcde455c4e63c8c0e798562a29a5df5a7893eec95 (patch)
tree7f0e17807cfcbb4c89355227cf8c758ae82382d5 /features/project
parent487b0a026f9efe2d8214c19a7b95b391708ba3f4 (diff)
downloadgitlab-ce-cde455c4e63c8c0e798562a29a5df5a7893eec95.tar.gz
Add encoding feature tests for builds artifacts browser
Diffstat (limited to 'features/project')
-rw-r--r--features/project/builds.feature18
1 files changed, 18 insertions, 0 deletions
diff --git a/features/project/builds.feature b/features/project/builds.feature
index 14c9b6c9a35..e7626222f7f 100644
--- a/features/project/builds.feature
+++ b/features/project/builds.feature
@@ -30,3 +30,21 @@ Feature: Project Builds
And I click artifacts browse button
And I click link to subdirectory within build artifacts
Then I should see content of subdirectory within artifacts archive
+
+ Scenario: I browse directory with UTF-8 characters in name
+ Given recent build has artifacts available
+ And recent build has artifacts metadata available
+ And recent build artifacts contain directory with UTF-8 characters
+ When I visit recent build summary page
+ And I click artifacts browse button
+ And I navigate to directory with UTF-8 characters in name
+ Then I should see content of directory with UTF-8 characters in name
+
+ Scenario: I try to browse directory with invalid UTF-8 characters in name
+ Given recent build has artifacts available
+ And recent build has artifacts metadata available
+ And recent build artifacts contain directory with invalid UTF-8 characters
+ When I visit recent build summary page
+ And I click artifacts browse button
+ And I navigate to parent directory of directory with invalid name
+ Then I should not see directory with invalid name on the list