bdd: Wait for any focus object in tabs.feature

With QtWebEngine, we get a "Focus object changed" logged pointing to the
QOpenGLWidget, not the tab.
This commit is contained in:
Florian Bruhin 2016-08-18 22:57:21 +02:00
parent 50031c5aae
commit 63628d2f97

View File

@ -877,7 +877,7 @@ Feature: Tab management
And I open data/caret.html in a new window
And I open data/paste_primary.html in a new tab
And I run :buffer "Scrolling"
And I wait for "Focus object changed: <qutebrowser.browser.* tab_id=* url='http://localhost:*/data/scroll/simple.html'>" in the log
And I wait for "Focus object changed: *" in the log
Then the session should look like:
windows:
- active: true
@ -916,7 +916,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 "Focus object changed: <qutebrowser.browser.* tab_id=* url='http://localhost:*/data/search.html'>" in the log
And I wait for "Focus object changed: *" in the log
Then the session should look like:
windows:
- active: true