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
Wrap add_action in retry_block
Oliver Günther4e78eb5f39c4
diff --git a/modules/meeting/spec/support/pages/structured_meeting/show.rb b/modules/meeting/spec/support/pages/structured_meeting/show.rbindex ed23fd69072..016047bde79 100644--- a/modules/meeting/spec/support/pages/structured_meeting/show.rb+++ b/modules/meeting/spec/support/pages/structured_meeting/show.rb@@ -257,11 +257,13 @@ module Pages::StructuredMeetingenddef add_section(&)- page.within("#meeting-agenda-items-new-button-component") do- click_on I18n.t(:button_add)- click_on "Section"- # wait for the disabled button, indicating the turbo streams are applied- expect(page).to have_css("#meeting-agenda-items-new-button-component button[disabled='disabled']")+ retry_block do+ page.within("#meeting-agenda-items-new-button-component") do+ click_on I18n.t(:button_add)+ click_on "Section"+ # wait for the disabled button, indicating the turbo streams are applied+ expect(page).to have_css("#meeting-agenda-items-new-button-component button[disabled='disabled']")+ endendin_latest_section_form(&)