summaryrefslogtreecommitdiff
path: root/features/project
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-01-07 10:33:07 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-01-14 12:48:15 +0100
commit09c82c6fdc494de0d64cb58b4b61a86104ff1131 (patch)
treee97caf67c160686f23d376213a85b77178d58a7a /features/project
parentcfffc9eff2c394259000090fb8c4c116863c9199 (diff)
downloadgitlab-ce-09c82c6fdc494de0d64cb58b4b61a86104ff1131.tar.gz
Add spinach feature specs for build artifacts browser
Diffstat (limited to 'features/project')
-rw-r--r--features/project/builds.feature21
1 files changed, 21 insertions, 0 deletions
diff --git a/features/project/builds.feature b/features/project/builds.feature
index 3f005b5133c..14c9b6c9a35 100644
--- a/features/project/builds.feature
+++ b/features/project/builds.feature
@@ -9,3 +9,24 @@ Feature: Project Builds
When I visit recent build summary page
Then I see summary for build
And I see build trace
+
+ Scenario: I download build artifacts
+ Given recent build has artifacts available
+ When I visit recent build summary page
+ And I click artifacts download button
+ Then download of build artifacts archive starts
+
+ Scenario: I browse build artifacts
+ Given recent build has artifacts available
+ And recent build has artifacts metadata available
+ When I visit recent build summary page
+ And I click artifacts browse button
+ Then I should see content of artifacts archive
+
+ Scenario: I browse subdirectory of build artifacts
+ Given recent build has artifacts available
+ And recent build has artifacts metadata available
+ When I visit recent build summary page
+ 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