diff options
author | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-01-19 11:18:57 +0100 |
---|---|---|
committer | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-01-19 11:18:57 +0100 |
commit | b4d61ac46babc04f67bb191c477dddc88e10ad45 (patch) | |
tree | 5c956996de67438678ba59d5e02e3627713b2e2f /features | |
parent | 1ede975cde6d32a74b2d4d523e5c0e242c89d50d (diff) | |
parent | 2becc6fae9b82479b644c0ca10b758cf8447bc19 (diff) | |
download | gitlab-ce-doc_refactor_commits_api.tar.gz |
Merge branch 'master' into doc_refactor_commits_apidoc_refactor_commits_api
Diffstat (limited to 'features')
-rw-r--r-- | features/project/builds/artifacts.feature | 2 | ||||
-rw-r--r-- | features/steps/project/builds/artifacts.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/features/project/builds/artifacts.feature b/features/project/builds/artifacts.feature index 7a7dbb71b18..4f68e44fd77 100644 --- a/features/project/builds/artifacts.feature +++ b/features/project/builds/artifacts.feature @@ -49,5 +49,5 @@ Feature: Project Builds Artifacts And recent build has artifacts metadata available When I visit recent build summary page And I click artifacts browse button - And I click download button for a file within build artifacts + And I click a link to file within build artifacts Then download of a file extracted from build artifacts should start 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 |