Fix test_follow_selected_without_a_selection on QtWebKit
This commit is contained in:
parent
4ae78d9bb2
commit
b5af448196
@ -335,6 +335,7 @@ class TestFollowSelected:
|
|||||||
|
|
||||||
def test_follow_selected_without_a_selection(self, qtbot, caret, selection, web_tab,
|
def test_follow_selected_without_a_selection(self, qtbot, caret, selection, web_tab,
|
||||||
mode_manager):
|
mode_manager):
|
||||||
|
caret.move_to_next_word() # Move cursor away from the link
|
||||||
mode_manager.leave(usertypes.KeyMode.caret)
|
mode_manager.leave(usertypes.KeyMode.caret)
|
||||||
with qtbot.wait_signal(caret.follow_selected_done):
|
with qtbot.wait_signal(caret.follow_selected_done):
|
||||||
with qtbot.assert_not_emitted(web_tab.load_started):
|
with qtbot.assert_not_emitted(web_tab.load_started):
|
||||||
|
Loading…
Reference in New Issue
Block a user