Wait for follow_selected_done
This commit is contained in:
parent
f817e5d271
commit
e105edebf5
@ -354,5 +354,6 @@ class TestFollowSelected:
|
|||||||
selection.toggle()
|
selection.toggle()
|
||||||
caret.move_to_end_of_word()
|
caret.move_to_end_of_word()
|
||||||
with qtbot.wait_signal(web_tab.load_finished):
|
with qtbot.wait_signal(web_tab.load_finished):
|
||||||
|
with qtbot.wait_signal(caret.follow_selected_done):
|
||||||
caret.follow_selected()
|
caret.follow_selected()
|
||||||
assert web_tab.url().path() == '/data/hello.txt'
|
assert web_tab.url().path() == '/data/hello.txt'
|
||||||
|
Loading…
Reference in New Issue
Block a user