summaryrefslogtreecommitdiff
path: root/features/steps
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-05-02 17:47:28 -0500
committerDouwe Maan <douwe@selenight.nl>2017-05-03 16:32:36 -0500
commitdf36f1f47b7c1dcbe6d34fabd83764ae14919e15 (patch)
tree8b24e3c77c228dce15f8082a178792103f83c502 /features/steps
parent185fd98fd4cb8f920558aea3795c4e1774cd39f5 (diff)
downloadgitlab-ce-df36f1f47b7c1dcbe6d34fabd83764ae14919e15.tar.gz
Add breadcrumb, build header and pipelines submenu to artifacts browser
Diffstat (limited to 'features/steps')
-rw-r--r--features/steps/project/builds/artifacts.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/features/steps/project/builds/artifacts.rb b/features/steps/project/builds/artifacts.rb
index be0f6eee55a..3ec5c8e2f4f 100644
--- a/features/steps/project/builds/artifacts.rb
+++ b/features/steps/project/builds/artifacts.rb
@@ -22,6 +22,12 @@ class Spinach::Features::ProjectBuildsArtifacts < Spinach::FeatureSteps
end
end
+ step 'I should see the build header' do
+ page.within('.build-header') do
+ expect(page).to have_content "Job ##{@build.id} in pipeline ##{@pipeline.id} for commit #{@pipeline.short_sha}"
+ end
+ end
+
step 'I click link to subdirectory within build artifacts' do
page.within('.tree-table') { click_link 'other_artifacts_0.1.2' }
end
@@ -34,6 +40,12 @@ class Spinach::Features::ProjectBuildsArtifacts < Spinach::FeatureSteps
end
end
+ step 'I should see the directory name in the breadcrumb' do
+ page.within('.repo-breadcrumb') do
+ expect(page).to have_content 'other_artifacts_0.1.2'
+ end
+ end
+
step 'recent build artifacts contain directory with UTF-8 characters' do
# metadata fixture contains relevant directory
end