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.feature5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/end2end/features/misc.feature b/tests/end2end/features/misc.feature
index 1872ca5a6..90ce5334a 100644
--- a/tests/end2end/features/misc.feature
+++ b/tests/end2end/features/misc.feature
@@ -502,14 +502,13 @@ Feature: Various utility commands.
Scenario: Clicking on focused element when there is none
When I open data/click_element.html
- # Need to loose focus on input element
- And I run :click-element position 20,42
- And I wait for the javascript message "click_element position"
And I run :click-element focused
Then the error "No element found with focus!" should be shown
Scenario: Clicking on focused element
When I open data/click_element.html
+ And I run :fake-key <Tab>
+ And I wait for the javascript message "qute-input focused"
And I run :click-element focused
Then "Entering mode KeyMode.insert (reason: clicking input)" should be logged