summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2017-03-05 15:11:54 +0100
committerFlorian Bruhin <git@the-compiler.org>2017-03-07 20:26:49 +0100
commit57c424accd3fb929a6fb8b7eb4107f7b43d76a49 (patch)
tree051ccdf82971c2b10e15926f05d69a259879620e
parent2ab6fdab47ecb39ac41e184be19d12231f190834 (diff)
downloadqutebrowser-57c424accd3fb929a6fb8b7eb4107f7b43d76a49.tar.gz
qutebrowser-57c424accd3fb929a6fb8b7eb4107f7b43d76a49.zip
Stabilize session tests
(cherry picked from commit fa89fff66868c59dcb7ed2bc1637033c27167f90)
-rw-r--r--tests/end2end/features/sessions.feature3
1 files changed, 3 insertions, 0 deletions
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: