diff options
| author | Fatih Acet <acetfatih@gmail.com> | 2016-06-09 23:08:30 +0300 |
|---|---|---|
| committer | Fatih Acet <acetfatih@gmail.com> | 2016-06-09 23:08:30 +0300 |
| commit | 24b64edf09f62645ddfaf96e825cc3ed3a76cf1c (patch) | |
| tree | db8ef3d146854bd42f2bd4d97d28387b95776bc7 /features | |
| parent | f6e9078fb608144f8686dcd8a36876416815757c (diff) | |
| parent | a458211b6569b510593393220a6c1f5b4e25cfb8 (diff) | |
| download | gitlab-ce-milestone-tooltip.tar.gz | |
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into milestone-tooltipmilestone-tooltip
Diffstat (limited to 'features')
| -rw-r--r-- | features/steps/project/issues/labels.rb | 2 | ||||
| -rw-r--r-- | features/steps/project/labels.rb | 2 |
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 |
