summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-05-31 16:35:47 +0000
committerFilipa Lacerda <filipa@gitlab.com>2017-05-31 16:35:47 +0000
commit882a591dcafd325f90fa3905a9ffee9b1e607676 (patch)
tree7ef7d772709204998f26b6a31fbb0acdf36fbeb0 /features
parentf9f0424443e4e8b5d39fadc437a8a573bba9e371 (diff)
parent29fd13056b34477abb142bf0380186eff6dd066a (diff)
downloadgitlab-ce-882a591dcafd325f90fa3905a9ffee9b1e607676.tar.gz
Merge branch 'issue-edit-inline' into 'master'
Issue inline editing Closes #24873 See merge request !11322
Diffstat (limited to 'features')
-rw-r--r--features/steps/shared/markdown.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/features/steps/shared/markdown.rb b/features/steps/shared/markdown.rb
index 6610b97ecb2..c2bec2a6320 100644
--- a/features/steps/shared/markdown.rb
+++ b/features/steps/shared/markdown.rb
@@ -30,7 +30,7 @@ module SharedMarkdown
end
step 'I should see the Markdown write tab' do
- expect(find('.gfm-form')).to have_css('.js-md-write-button', visible: true)
+ expect(first('.gfm-form')).to have_link('Write', visible: true)
end
step 'I should see the Markdown preview' do
@@ -49,9 +49,9 @@ module SharedMarkdown
end
step 'I preview a description text like "Bug fixed :smile:"' do
- page.within('.gfm-form') do
+ page.within(first('.gfm-form')) do
fill_in 'Description', with: 'Bug fixed :smile:'
- find('.js-md-preview-button').click
+ click_link 'Preview'
end
end