summaryrefslogtreecommitdiff
path: root/tests/end2end/features/misc.feature
diff options
context:
space:
mode:
Diffstat (limited to 'tests/end2end/features/misc.feature')
-rw-r--r--tests/end2end/features/misc.feature8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/end2end/features/misc.feature b/tests/end2end/features/misc.feature
index 3940d0243..60ff3748c 100644
--- a/tests/end2end/features/misc.feature
+++ b/tests/end2end/features/misc.feature
@@ -622,3 +622,11 @@ Feature: Various utility commands.
When I open data/invalid_resource.html in a new tab
Then "Ignoring invalid * URL: Invalid hostname (contains invalid characters); *" should be logged
And no crash should happen
+
+ Scenario: Keyboard focus after cross-origin navigation
+ When I open qute://gpl
+ And I open data/insert_mode_settings/html/autofocus.html
+ And I run :mode-enter insert
+ And I wait for the javascript message "focused"
+ And I run :fake-key -g "testing"
+ Then the javascript message "contents: testing" should be logged