summaryrefslogtreecommitdiff
path: root/features/steps/project/builds/artifacts.rb
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-01-18 10:18:16 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-01-18 19:58:16 +0100
commit13f0ea12e3b99a59c3387aa2646a8b84220ba4a4 (patch)
tree0b273f6ee53d77503abfceb111bfec3499288c22 /features/steps/project/builds/artifacts.rb
parent21ac92b8ba53ba90ccb03b2406435c6cb11b567d (diff)
downloadgitlab-ce-13f0ea12e3b99a59c3387aa2646a8b84220ba4a4.tar.gz
Improve ux in builds artifacts browser
Diffstat (limited to 'features/steps/project/builds/artifacts.rb')
-rw-r--r--features/steps/project/builds/artifacts.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/project/builds/artifacts.rb b/features/steps/project/builds/artifacts.rb
index f2c87da4717..25f2f4e837c 100644
--- a/features/steps/project/builds/artifacts.rb
+++ b/features/steps/project/builds/artifacts.rb
@@ -63,8 +63,8 @@ class Spinach::Features::ProjectBuildsArtifacts < Spinach::FeatureSteps
end
end
- step 'I click download button for a file within build artifacts' do
- page.within('.tree-table') { first('.artifact-download').click }
+ step 'I click a link to file within build artifacts' do
+ page.within('.tree-table') { find_link('ci_artifacts.txt').click }
end
step 'download of a file extracted from build artifacts should start' do