From ffa8d9d8d5cf058d7c097876fe17d32f12588a30 Mon Sep 17 00:00:00 2001 From: Stefan Botzenhart Date: Fri, 2 Oct 2015 17:21:21 +0200 Subject: [PATCH] Wait for content before checking current url (work package textile cuke) --- .../work_packages/work_package_textile_link.feature | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/features/work_packages/work_package_textile_link.feature b/features/work_packages/work_package_textile_link.feature index e661725d26..25fc3526bd 100644 --- a/features/work_packages/work_package_textile_link.feature +++ b/features/work_packages/work_package_textile_link.feature @@ -69,8 +69,8 @@ Feature: Work package textile quickinfo links Scenario: Adding a work package quickinfo link Given I am already logged in as "manager" When I go to the wiki page "testitest" for the project called "ecookbook" - And I fill in a 2 hashes quickinfo link to "January" for "content_text" - And I press "Save" + And I fill in a 2 hashes quickinfo link to "January" for "content_text" + And I press "Save" Then I should see a 2 hashes work package quickinfo link to "January" within "div.wiki" When I follow the 2 hashes work package quickinfo link to "January" Then I should see "January" within "#work-package-subject" @@ -80,11 +80,12 @@ Feature: Work package textile quickinfo links Scenario: Adding a work package quickinfo link with description Given I am already logged in as "manager" When I go to the wiki page "testitest" for the project called "ecookbook" - And I fill in a 3 hashes quickinfo link to "January" for "content_text" - And I press "Save" + And I fill in a 3 hashes quickinfo link to "January" for "content_text" + And I press "Save" Then I should see a 3 hashes work package quickinfo link to "January" within "div.wiki" When I follow the 3 hashes work package quickinfo link to "January" - Then I should be on the page of the work package "January" + Then I should see "January" within "#work-package-subject" + And I should be on the page of the work package "January" Scenario: Adding a work package quickinfo link without the right to see the work package