diff --git a/tests/end2end/features/javascript.feature b/tests/end2end/features/javascript.feature index bb34db70b..a29c33373 100644 --- a/tests/end2end/features/javascript.feature +++ b/tests/end2end/features/javascript.feature @@ -9,7 +9,8 @@ Feature: Javascript stuff # 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 And I open data/javascript/issue906.html in a new tab And I run :click-element id open-button @@ -17,3 +18,15 @@ Feature: Javascript stuff And I run :tab-focus 2 And I run :click-element id close-button 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