Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-01-27 13:35:13 +0300
committerJames Lopez <james@jameslopez.es>2016-01-27 13:35:13 +0300
commitafde800b25b251547a9eb5f1b47b4b14a0747ed8 (patch)
tree857b94940c2c71afcf2d4f0acd9ff724ba25a9a4 /features/steps
parent5eb936dc318297473a40ab9cac06de106dc71c41 (diff)
parent5e0ee54c6c89a4080e441c4407bb1087f5630040 (diff)
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into fix/unexistent-group-500
Diffstat (limited to 'features/steps')
-rw-r--r--features/steps/project/builds/artifacts.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/features/steps/project/builds/artifacts.rb b/features/steps/project/builds/artifacts.rb
index 25f2f4e837c..1bdb57af9d1 100644
--- a/features/steps/project/builds/artifacts.rb
+++ b/features/steps/project/builds/artifacts.rb
@@ -73,4 +73,14 @@ class Spinach::Features::ProjectBuildsArtifacts < Spinach::FeatureSteps
expect(response_json[:archive]).to end_with('build_artifacts.zip')
expect(response_json[:entry]).to eq Base64.encode64('ci_artifacts.txt')
end
+
+ step 'I click a first row within build artifacts table' do
+ row = first('tr[data-link]')
+ @row_path = row['data-link']
+ row.click
+ end
+
+ step 'page with a coresponding path is loading' do
+ expect(current_path).to eq @row_path
+ end
end