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

Revert "attempt to stabilize flickering spec"

Ivan Kuchin08666d1fee83
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 382eb20afc1..b39da60a991 100644
--- a/spec/features/admin/project_life_cycle_step_definitions_spec.rb
+++ b/spec/features/admin/project_life_cycle_step_definitions_spec.rb
@@ -115,15 +115,11 @@ RSpec.describe "Projects life cycle settings", :js, with_flag: { stages_and_gate
definitions_page.select_color("Azure")
click_on "Create"
- definitions_page.expect_and_dismiss_flash(message: "Successful creation.")
-
definitions_page.add
fill_in "Name", with: "Initiating"
definitions_page.select_color("Gold")
click_on "Create"
- definitions_page.expect_and_dismiss_flash(message: "Successful creation.")
-
definitions_page.expect_listed(["Starting", "Processing", "Imagining", "Initiating"])
# moving
@@ -143,13 +139,11 @@ RSpec.describe "Projects life cycle settings", :js, with_flag: { stages_and_gate
wait_for_network_idle
definitions_page.expect_listed(["Initiating", "Starting", "Imagining", "Processing"])
- retry_block do
- definitions_page.drag_and_drop_list(from: 0, to: 3,
- elements: "[data-test-selector=project-life-cycle-step-definition]",
- handler: ".DragHandle")
- wait_for_network_idle
- definitions_page.expect_listed(["Starting", "Imagining", "Processing", "Initiating"])
- end
+ definitions_page.drag_and_drop_list(from: 0, to: 3,
+ 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.reload!
definitions_page.expect_listed(["Starting", "Imagining", "Processing", "Initiating"])