From cdc3084990c59c9b29ce00b71706f680673fa909 Mon Sep 17 00:00:00 2001
From: Benjamin Neff <benjamin@coding4coffee.ch>
Date: Wed, 16 Aug 2017 02:19:05 +0200
Subject: [PATCH] Wait for stream to load for invitation test

---
 features/desktop/invitations.feature | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/features/desktop/invitations.feature b/features/desktop/invitations.feature
index eca4ef758a..f01e194e32 100644
--- a/features/desktop/invitations.feature
+++ b/features/desktop/invitations.feature
@@ -52,7 +52,8 @@ Feature: Invitations
 
   Scenario: sends an invitation from the stream
     When I sign in as "alice@alice.alice"
-    And I press the first "a.invitations-link" within "#no_contacts"
+    Then I should see "There are no posts to display here yet." within ".no-posts-info"
+    When I press the first "a.invitations-link" within "#no_contacts"
     Then I should see "Invite someone to join diaspora*!" within "#invitationsModalLabel"
     And I fill in the following:
       | email_inviter_emails         | alex@example.com    |
-- 
GitLab