Stabilize :buffer tests

Fixes #1493
This commit is contained in:
Florian Bruhin 2016-05-30 01:16:44 +02:00
parent 424efec8a9
commit 6741a16957

View File

@ -760,7 +760,7 @@ Feature: Tab management
And I open data/search.html in a new tab
And I open data/scroll.html in a new tab
And I run :buffer "Searching text"
And I wait for "Current tab changed, *" in the log
And I wait for "Current tab changed, focusing <qutebrowser.browser.webview.WebView tab_id=* url='http://localhost:*/data/search.html'>" in the log
Then the following tabs should be open:
- data/title.html
- data/search.html (active)
@ -816,7 +816,7 @@ Feature: Tab management
And I open data/paste_primary.html in a new tab
And I wait until data/caret.html is loaded
And I run :buffer "0/2"
And I wait for "Current tab changed, *" in the log
And I wait for "Focus object changed: <qutebrowser.browser.webview.WebView tab_id=* url='http://localhost:*/data/search.html'>" in the log
Then the session should look like:
windows:
- active: true