summaryrefslogtreecommitdiff
path: root/features/project
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2016-01-26 13:32:00 +0000
committerDouwe Maan <douwe@gitlab.com>2016-01-26 13:32:00 +0000
commit8ab939c2c02e76cd6d183a85b493691562e4a36d (patch)
tree18288c4201a90a479b07f6247ab4e459c6863a2f /features/project
parent9ae820ad2eab0159259e214a0cac79e85ad7351f (diff)
parentb75f6c68e591b1a6a279c454b7c5d1f6f8ecbbf8 (diff)
downloadgitlab-ce-8ab939c2c02e76cd6d183a85b493691562e4a36d.tar.gz
Merge branch 'ci/test-build-artifacts-scripts' into 'master'
Add tests for clicking a row in build artifacts browser This adds a feature tests for clicking a row, which is handled by javascript event. /cc @ayufan See merge request !2551
Diffstat (limited to 'features/project')
-rw-r--r--features/project/builds/artifacts.feature9
1 files changed, 9 insertions, 0 deletions
diff --git a/features/project/builds/artifacts.feature b/features/project/builds/artifacts.feature
index 1185854453a..52dc15f2eb6 100644
--- a/features/project/builds/artifacts.feature
+++ b/features/project/builds/artifacts.feature
@@ -51,3 +51,12 @@ Feature: Project Builds Artifacts
And I click artifacts browse button
And I click a link to file within build artifacts
Then download of a file extracted from build artifacts should start
+
+ @javascript
+ Scenario: I click on a row in an artifacts table
+ Given recent build has artifacts available
+ And recent build has artifacts metadata available
+ When I visit recent build details page
+ And I click artifacts browse button
+ And I click a first row within build artifacts table
+ Then page with a coresponding path is loading