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:
Diffstat (limited to 'features/steps/project/wiki.rb')
-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