tests: Make checks for focus window more forgiving.
It seems on OS X we get this instead of focusing the webview: "Focus object changed: <qutebrowser.browser.inspector.WebInspector object at ...>"
This commit is contained in:
parent
922fdc0526
commit
d13ae4c666
@ -114,7 +114,7 @@ Feature: Various utility commands.
|
||||
And I run :inspector
|
||||
And I wait for "Focus object changed: <PyQt5.QtWebKitWidgets.QWebView object at *>" in the log
|
||||
And I run :inspector
|
||||
And I wait for "Focus object changed: <qutebrowser.browser.webview.WebView *>" in the log
|
||||
And I wait for "Focus object changed: *" in the log
|
||||
Then no crash should happen
|
||||
|
||||
# :fake-key
|
||||
@ -138,7 +138,7 @@ Feature: Various utility commands.
|
||||
And I wait for "Focus object changed: <PyQt5.QtWebKitWidgets.QWebView object at *>" in the log
|
||||
And I run :fake-key x
|
||||
And I run :inspector
|
||||
And I wait for "Focus object changed: <qutebrowser.browser.webview.WebView *>" in the log
|
||||
And I wait for "Focus object changed: *" in the log
|
||||
Then the error "No focused webview!" should be shown.
|
||||
|
||||
Scenario: :fake-key sending special key to the website
|
||||
|
Loading…
Reference in New Issue
Block a user