summaryrefslogtreecommitdiff
path: root/features/steps
diff options
context:
space:
mode:
authorFatih Acet <acetfatih@gmail.com>2016-06-09 23:08:30 +0300
committerFatih Acet <acetfatih@gmail.com>2016-06-09 23:08:30 +0300
commit24b64edf09f62645ddfaf96e825cc3ed3a76cf1c (patch)
treedb8ef3d146854bd42f2bd4d97d28387b95776bc7 /features/steps
parentf6e9078fb608144f8686dcd8a36876416815757c (diff)
parenta458211b6569b510593393220a6c1f5b4e25cfb8 (diff)
downloadgitlab-ce-milestone-tooltip.tar.gz
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into milestone-tooltipmilestone-tooltip
Diffstat (limited to 'features/steps')
-rw-r--r--features/steps/project/issues/labels.rb2
-rw-r--r--features/steps/project/labels.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/project/issues/labels.rb b/features/steps/project/issues/labels.rb
index e02b57bbf84..2937d5d7ca8 100644
--- a/features/steps/project/issues/labels.rb
+++ b/features/steps/project/issues/labels.rb
@@ -9,7 +9,7 @@ class Spinach::Features::ProjectIssuesLabels < Spinach::FeatureSteps
step 'I remove label \'bug\'' do
page.within "#label_#{bug_label.id}" do
- click_link 'Delete'
+ first(:link, 'Delete').click
end
end
diff --git a/features/steps/project/labels.rb b/features/steps/project/labels.rb
index 5bb02189021..118ffef4774 100644
--- a/features/steps/project/labels.rb
+++ b/features/steps/project/labels.rb
@@ -29,6 +29,6 @@ class Spinach::Features::Labels < Spinach::FeatureSteps
private
def subscribe_button
- first('.label-subscribe-button span')
+ first('.js-subscribe-button', visible: true)
end
end