summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-10-02 16:44:18 +0100
committerPhil Hughes <me@iamphill.com>2017-11-01 16:29:34 +0000
commitfd34903ad09c12d2b603cdff079aee7d36a9e880 (patch)
treeb1037216901f7474d75c9419c394a0db6f84b14d
parentb65bd3f3e8375720f78ad63123f49012d6e83d41 (diff)
downloadgitlab-ce-10-0-breadcrumb-item-links.tar.gz
-rw-r--r--features/steps/project/wiki.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/project/wiki.rb b/features/steps/project/wiki.rb
index 855757e34b3..4738dd8751b 100644
--- a/features/steps/project/wiki.rb
+++ b/features/steps/project/wiki.rb
@@ -147,7 +147,7 @@ class Spinach::Features::ProjectWiki < Spinach::FeatureSteps
step 'I edit the Wiki page with a path' do
expect(find('.wiki-pages')).to have_content('Three')
- click_on 'Three'
+ first(:link, text: 'Three').trigger('click')
expect(find('.nav-text')).to have_content('Three')
click_on 'Edit'
end
@@ -161,7 +161,7 @@ class Spinach::Features::ProjectWiki < Spinach::FeatureSteps
end
step 'I view the page history of a Wiki page that has a path' do
- click_on 'Three'
+ first(:link, text: 'Three').trigger('click')
click_on 'Page history'
end