Add a separate QtWebEngine test for #906
This commit is contained in:
parent
30327b2acf
commit
2c2375ff18
@ -9,7 +9,8 @@ Feature: Javascript stuff
|
|||||||
|
|
||||||
# https://github.com/The-Compiler/qutebrowser/issues/906
|
# https://github.com/The-Compiler/qutebrowser/issues/906
|
||||||
|
|
||||||
Scenario: Closing a JS window twice (issue 906)
|
@qtwebengine_skip
|
||||||
|
Scenario: Closing a JS window twice (issue 906) - qtwebkit
|
||||||
When I open about:blank
|
When I open about:blank
|
||||||
And I open data/javascript/issue906.html in a new tab
|
And I open data/javascript/issue906.html in a new tab
|
||||||
And I run :click-element id open-button
|
And I run :click-element id open-button
|
||||||
@ -17,3 +18,15 @@ Feature: Javascript stuff
|
|||||||
And I run :tab-focus 2
|
And I run :tab-focus 2
|
||||||
And I run :click-element id close-button
|
And I run :click-element id close-button
|
||||||
Then "Requested to close * which does not exist!" should be logged
|
Then "Requested to close * which does not exist!" should be logged
|
||||||
|
|
||||||
|
@qtwebkit_skip
|
||||||
|
Scenario: Closing a JS window twice (issue 906) - qtwebengine
|
||||||
|
When I open about:blank
|
||||||
|
And I open data/javascript/issue906.html in a new tab
|
||||||
|
And I run :click-element id open-button
|
||||||
|
And I wait for "WebDialog requested, but we don't support that!" in the log
|
||||||
|
And I wait for "Changing title for idx 2 to 'about:blank'" in the log
|
||||||
|
And I run :tab-focus 2
|
||||||
|
And I run :click-element id close-button
|
||||||
|
And I wait for "Focus object changed: *" in the log
|
||||||
|
Then no crash should happen
|
||||||
|
Loading…
Reference in New Issue
Block a user