From fa89fff66868c59dcb7ed2bc1637033c27167f90 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 5 Mar 2017 15:11:54 +0100 Subject: [PATCH] Stabilize session tests --- tests/end2end/features/sessions.feature | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/end2end/features/sessions.feature b/tests/end2end/features/sessions.feature index bba8023c9..34a545841 100644 --- a/tests/end2end/features/sessions.feature +++ b/tests/end2end/features/sessions.feature @@ -263,8 +263,10 @@ Feature: Saving and loading sessions Then the error "No session loaded currently!" should be shown Scenario: Saving current session after one is loaded + When I open data/numbers/1.txt When I run :session-save current_session And I run :session-load current_session + And I wait until data/numbers/1.txt is loaded And I run :session-save --current Then the message "Saved session current_session." should be shown @@ -288,6 +290,7 @@ Feature: Saving and loading sessions And I run :window-only And I run :tab-only And I run :session-load window_session_name + And I wait until data/numbers/5.txt is loaded Then the session should look like: windows: - tabs: