Permalink
Browse files

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.
  • Loading branch information...
The-Compiler committed Aug 18, 2016
1 parent 50031c5 commit 63628d2f97150219df9b6121dcdd30801a4b6ad1
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/end2end/features/tabs.feature
@@ -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

0 comments on commit 63628d2

Please sign in to comment.