Wait for follow_selected_done

This commit is contained in:
Florian Bruhin 2018-09-15 20:46:11 +02:00
parent f817e5d271
commit e105edebf5

View File

@ -354,5 +354,6 @@ class TestFollowSelected:
selection.toggle()
caret.move_to_end_of_word()
with qtbot.wait_signal(web_tab.load_finished):
caret.follow_selected()
with qtbot.wait_signal(caret.follow_selected_done):
caret.follow_selected()
assert web_tab.url().path() == '/data/hello.txt'