From aa8d46da0cb3303303c9baf13fb4cb4ac9a6e493 Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Thu, 17 Aug 2017 05:17:30 +0200 Subject: [PATCH] Wait for post to be deleted before continuing closes #7548 --- features/step_definitions/custom_web_steps.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/features/step_definitions/custom_web_steps.rb b/features/step_definitions/custom_web_steps.rb index f15a8dd68..812a66f34 100644 --- a/features/step_definitions/custom_web_steps.rb +++ b/features/step_definitions/custom_web_steps.rb @@ -109,6 +109,7 @@ When /^I click to delete the first post$/ do accept_alert do step "I prepare the deletion of the first post" end + expect(find(".stream")).to have_no_css(".stream-element.loaded.deleting") end When /^I click to hide the first post$/ do