OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
attempt to fix flickering activty spec by less ambivalent input
ulfertse97883cdd890
diff --git a/spec/features/work_packages/details/markdown/activity_comments_spec.rb b/spec/features/work_packages/details/markdown/activity_comments_spec.rbindex 2b837983bed..31dc1a5b342 100644--- a/spec/features/work_packages/details/markdown/activity_comments_spec.rb+++ b/spec/features/work_packages/details/markdown/activity_comments_spec.rb@@ -3,7 +3,7 @@ require 'spec_helper'require 'features/work_packages/shared_contexts'require 'features/work_packages/details/inplace_editor/shared_examples'-describe 'activity comments', js: true do+describe 'activity comments', js: true, with_mail: false dolet(:project) { FactoryBot.create :project, is_public: true }let!(:work_package) doFactoryBot.create(:work_package,@@ -108,13 +108,13 @@ describe 'activity comments', js: true dodescribe 'with an existing comment' doit 'allows to edit an existing comment' do- # Insert new text, need to do this separately.- ['Comment with', ' ', '*', '*', 'bold text', '*', '*'].each do |key|+ # Insert new text, need to do this separately.''+ ['Comment with', ' ', '*', '*', 'bold text', '*', '*', ' ', 'in it'].each do |key|comment_field.input_element.send_keys keyendcomment_field.submit_by_click- wp_page.expect_comment text: 'Comment with bold text'+ wp_page.expect_comment text: 'Comment with bold text in it'wp_page.expect_comment text: 'bold text', subselector: 'strong'# Hover the new activity@@ -132,12 +132,12 @@ describe 'activity comments', js: true do# Insert new text, need to do this separately.edit.input_element.click- [:enter, 'Comment with', ' ', '_', 'italic text', '_', ' '].each do |key|+ [:enter, 'Comment with', ' ', '_', 'italic text', '_', ' ', 'in it'].each do |key|edit.input_element.send_keys keyendedit.submit_by_click- wp_page.expect_comment text: 'Comment with italic text'+ wp_page.expect_comment text: 'Comment with italic text in it'wp_page.expect_comment text: 'italic text', subselector: 'em'endend