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:
authorFilipa Lacerda <filipa@gitlab.com>2017-08-10 20:36:39 +0300
committerFilipa Lacerda <filipa@gitlab.com>2017-08-10 20:36:39 +0300
commitea448039c8954e5a1d175f827b0205754dfb6dd2 (patch)
tree9803a0c8eb63d65e69e19c29c599d3edf7c9637a /features
parent57f52b9e53a5ddf56d2331dd740870d9bbdc00eb (diff)
Fix broken tests
Diffstat (limited to 'features')
-rw-r--r--features/steps/shared/note.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/features/steps/shared/note.rb b/features/steps/shared/note.rb
index f53919f4135..1c3432c3ca1 100644
--- a/features/steps/shared/note.rb
+++ b/features/steps/shared/note.rb
@@ -137,7 +137,7 @@ module SharedNote
step 'The comment with the header should not have an ID' do
page.within(".note-body > .note-text") do
- expect(page).to have_content("Comment with a header")
+ expect(page).to have_content("Comment with a header")
expect(page).not_to have_css("#comment-with-a-header")
end
end
@@ -153,10 +153,13 @@ module SharedNote
note.find('.js-note-edit').click
end
+ page.find('.current-note-edit-form textarea')
+
page.within(".current-note-edit-form") do
- fill_in 'note[note]', with: '+1 Awesome!'
+ fill_in '#note-body', with: '+1 Awesome!'
click_button 'Save comment'
end
+ wait_for_requests
end
step 'I should see +1 in the description' do