Skip to content

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

attempt to fix flickering spec

ulfertsc2c2279b6974
diff --git a/spec/features/admin/project_life_cycle_step_definitions_spec.rb b/spec/features/admin/project_life_cycle_step_definitions_spec.rb
index cc7a7677081..dee72c1720c 100644
--- a/spec/features/admin/project_life_cycle_step_definitions_spec.rb
+++ b/spec/features/admin/project_life_cycle_step_definitions_spec.rb
@@ -144,21 +144,21 @@ RSpec.describe "Projects life cycle settings", :js, with_flag: { stages_and_gate
definitions_page.expect_listed(["Initiating", "Starting", "Imagining", "Processing"])
retry_block do
- definitions_page.drag_and_drop_list(from: 0, to: 3,
+ definitions_page.drag_and_drop_list(from: 0, to: 2,
elements: "[data-test-selector=project-life-cycle-step-definition]",
handler: ".DragHandle")
wait_for_network_idle
- definitions_page.expect_listed(["Starting", "Imagining", "Processing", "Initiating"])
+ definitions_page.expect_listed(["Starting", "Imagining", "Initiating", "Processing"])
end
definitions_page.reload!
- definitions_page.expect_listed(["Starting", "Imagining", "Processing", "Initiating"])
+ definitions_page.expect_listed(["Starting", "Imagining", "Initiating", "Processing"])
# deleting
accept_confirm I18n.t(:text_are_you_sure_with_project_life_cycle_step) do
definitions_page.click_definition_action("Imagining", action: "Delete")
end
- definitions_page.expect_listed(["Starting", "Processing", "Initiating"])
+ definitions_page.expect_listed(["Starting", "Initiating", "Processing"])
end
end
end