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:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-11-06 16:47:29 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-11-06 16:47:29 +0300
commitb60ad399acdd753efe4f2d724c47800b6a70056b (patch)
treea4732e5ba72773aed6b5bb358c5be23bd3edecb4 /features/steps
parentc1a893d91a569cf65b381e8c2b56c82824e9f593 (diff)
Fix test
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features/steps')
-rw-r--r--features/steps/project/commits/tags.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/features/steps/project/commits/tags.rb b/features/steps/project/commits/tags.rb
index ff824c76955..cb5fe20834d 100644
--- a/features/steps/project/commits/tags.rb
+++ b/features/steps/project/commits/tags.rb
@@ -57,13 +57,14 @@ class Spinach::Features::ProjectCommitsTags < Spinach::FeatureSteps
end
step "I delete tag 'v1.1.0'" do
- first('.btn-remove').click
- sleep 0.05
+ page.within('.content') do
+ first('.btn-remove').click
+ end
end
step "I should not see tag 'v1.1.0'" do
page.within '.tags' do
- expect(page.all(visible: true)).not_to have_content 'v1.1.0'
+ expect(page).not_to have_link 'v1.1.0'
end
end
end