From b783de8532fc38d0bd7ae907534e029a8ce26c49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Tue, 28 Mar 2017 11:34:14 +0200 Subject: [PATCH] Fix relation spec --- .../work_packages/details/details_relations_spec.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/spec/features/work_packages/details/details_relations_spec.rb b/spec/features/work_packages/details/details_relations_spec.rb index f50da92be4..5c10b0f80a 100644 --- a/spec/features/work_packages/details/details_relations_spec.rb +++ b/spec/features/work_packages/details/details_relations_spec.rb @@ -295,6 +295,13 @@ describe 'Work package relations tab', js: true, selenium: true do # Save description created_row.find('.inplace-edit--control--save a').click + + ## Toggle description again + sleep 2 + created_row.hover + toggle_btn = created_row.find('.wp-relations--description-btn') + toggle_btn.click + created_row.find('.wp-relation--description-read-value', text: 'my description!').click