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

Add retry block for unrelated failing spec

Oliver Günther19973d372993
diff --git a/spec/support/components/work_packages/relations.rb b/spec/support/components/work_packages/relations.rb
index 0677e48bc66..0a6a1f4888b 100644
--- a/spec/support/components/work_packages/relations.rb
+++ b/spec/support/components/work_packages/relations.rb
@@ -222,8 +222,10 @@ module Components
row = ".wp-row-#{work_package.id}-table"
SeleniumHubWaiter.wait
- find(row).hover
- find("#{row} .wp-table-action--unlink").click
+ retry_block do
+ find(row).hover
+ find("#{row} .wp-table-action--unlink").click
+ end
end
end
end