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
Try to make Capy confirmation checking more robust
Alexander Brandon Coles8c12e1dd917d
diff --git a/modules/meeting/spec/features/recurring_meetings/recurring_meeting_crud_spec.rb b/modules/meeting/spec/features/recurring_meetings/recurring_meeting_crud_spec.rbindex e58449faafd..b823a84c37e 100644--- a/modules/meeting/spec/features/recurring_meetings/recurring_meeting_crud_spec.rb+++ b/modules/meeting/spec/features/recurring_meetings/recurring_meeting_crud_spec.rb@@ -90,7 +90,7 @@ RSpec.describe "Recurring meetings CRUD",show_page.delete_meeting_seriesshow_page.within_modal "Delete meeting series" do- page.check "I understand that this deletion cannot be reversed"+ check "I understand that this deletion cannot be reversed", allow_label_click: trueclick_on "Delete permanently"end@@ -120,7 +120,7 @@ RSpec.describe "Recurring meetings CRUD",show_page.cancel_occurrence date: "12/31/2024 01:30 PM"show_page.within_modal "Delete meeting occurrence" do- check "I understand that this deletion cannot be reversed"+ check "I understand that this deletion cannot be reversed", allow_label_click: trueclick_on "Delete permanently"end@@ -138,7 +138,7 @@ RSpec.describe "Recurring meetings CRUD",show_page.cancel_scheduled_occurrence date: "01/07/2025 01:30 PM"show_page.within_modal "Cancel meeting occurrence" do- check "I understand that this deletion cannot be reversed"+ check "I understand that this deletion cannot be reversed", allow_label_click: trueclick_on "Cancel occurrence"end@@ -180,7 +180,7 @@ RSpec.describe "Recurring meetings CRUD",show_page.cancel_occurrence date: "12/31/2024 01:30 PM"show_page.within_modal "Delete meeting occurrence" do- check "I understand that this deletion cannot be reversed"+ check "I understand that this deletion cannot be reversed", allow_label_click: trueclick_on "Delete permanently"enddiff --git a/modules/meeting/spec/features/recurring_meetings/recurring_meeting_end_series_spec.rb b/modules/meeting/spec/features/recurring_meetings/recurring_meeting_end_series_spec.rbindex e4df247c93a..5923da9a1b2 100644--- a/modules/meeting/spec/features/recurring_meetings/recurring_meeting_end_series_spec.rb+++ b/modules/meeting/spec/features/recurring_meetings/recurring_meeting_end_series_spec.rb@@ -82,7 +82,7 @@ RSpec.describe "Recurring meetings end series",expect(page).to have_text("Ending the series will delete any future open or scheduled meeting occurrences")retry_block do- check "I understand that this deletion cannot be reversed"+ check "I understand that this deletion cannot be reversed", allow_label_click: trueexpect(page).to have_checked_field("I understand that this deletion cannot be reversed")enddiff --git a/modules/meeting/spec/features/recurring_meetings/recurring_meeting_global_crud_spec.rb b/modules/meeting/spec/features/recurring_meetings/recurring_meeting_global_crud_spec.rbindex 0934bb86527..ab18073109c 100644--- a/modules/meeting/spec/features/recurring_meetings/recurring_meeting_global_crud_spec.rb+++ b/modules/meeting/spec/features/recurring_meetings/recurring_meeting_global_crud_spec.rb@@ -92,7 +92,7 @@ RSpec.describe "Recurring meetings global CRUD",show_page.delete_meeting_seriesshow_page.within_modal "Delete meeting series" do- page.check "I understand that this deletion cannot be reversed"+ check "I understand that this deletion cannot be reversed", allow_label_click: trueclick_on "Delete permanently"end@@ -108,7 +108,7 @@ RSpec.describe "Recurring meetings global CRUD",show_page.cancel_occurrence date: "12/31/2024 01:30 PM"show_page.within_modal "Delete meeting occurrence" do- check "I understand that this deletion cannot be reversed"+ check "I understand that this deletion cannot be reversed", allow_label_click: trueclick_on "Delete permanently"end@@ -126,7 +126,7 @@ RSpec.describe "Recurring meetings global CRUD",show_page.cancel_scheduled_occurrence date: "01/07/2025 01:30 PM"show_page.within_modal "Cancel meeting occurrence" do- check "I understand that this deletion cannot be reversed"+ check "I understand that this deletion cannot be reversed", allow_label_click: trueclick_on "Cancel occurrence"enddiff --git a/modules/meeting/spec/features/structured_meetings/structured_meeting_crud_spec.rb b/modules/meeting/spec/features/structured_meetings/structured_meeting_crud_spec.rbindex a66e6b51189..a1a7a18216e 100644--- a/modules/meeting/spec/features/structured_meetings/structured_meeting_crud_spec.rb+++ b/modules/meeting/spec/features/structured_meetings/structured_meeting_crud_spec.rb@@ -214,7 +214,7 @@ RSpec.describe "Structured meetings CRUD",show_page.expect_modal "Delete meeting"show_page.within_modal "Delete meeting" do- check "I understand that this deletion cannot be reversed"+ check "I understand that this deletion cannot be reversed", allow_label_click: trueclick_on "Delete permanently"enddiff --git a/modules/meeting/spec/features/structured_meetings/structured_meeting_global_crud_spec.rb b/modules/meeting/spec/features/structured_meetings/structured_meeting_global_crud_spec.rbindex 59644d974c0..23f78d5e0d3 100644--- a/modules/meeting/spec/features/structured_meetings/structured_meeting_global_crud_spec.rb+++ b/modules/meeting/spec/features/structured_meetings/structured_meeting_global_crud_spec.rb@@ -97,7 +97,7 @@ RSpec.describe "Structured meetings global CRUD",show_page.expect_modal "Delete meeting"show_page.within_modal "Delete meeting" do- check "I understand that this deletion cannot be reversed"+ check "I understand that this deletion cannot be reversed", allow_label_click: trueclick_on "Delete permanently"enddiff --git a/spec/features/custom_fields/hierarchy_custom_field_spec.rb b/spec/features/custom_fields/hierarchy_custom_field_spec.rbindex f877e246228..918cae3f5f4 100644--- a/spec/features/custom_fields/hierarchy_custom_field_spec.rb+++ b/spec/features/custom_fields/hierarchy_custom_field_spec.rb@@ -128,7 +128,7 @@ RSpec.describe "custom fields of type hierarchy", :js dohierarchy_page.open_action_menu_for("Phoenix Squad")click_on "Delete"expect(page).to have_test_selector("op-custom-fields--delete-item-dialog")- check "I understand that this deletion cannot be reversed"+ check "I understand that this deletion cannot be reversed", allow_label_click: trueclick_on "Delete permanently"expect(page).not_to have_test_selector("op-custom-fields--delete-item-dialog")expect(page).to have_test_selector("op-custom-fields--hierarchy-item", count: 1)