From 19973d372993bf935106e206917dbdc86d21f21b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Tue, 7 Sep 2021 09:24:50 +0200 Subject: [PATCH] Add retry block for unrelated failing spec --- spec/support/components/work_packages/relations.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/spec/support/components/work_packages/relations.rb b/spec/support/components/work_packages/relations.rb index 0677e48bc6..0a6a1f4888 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