File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ def test_fast_typing(app, qtbot):
27
27
window .search_bar .setText (text )
28
28
qtbot .wait (100 )
29
29
window .search_bar .setText ("" )
30
- assert window .windowTitle () == "Drill"
30
+ assert window .search is None
31
31
32
32
window .close ()
33
33
assert not window .isVisible ()
@@ -84,7 +84,7 @@ def test_open_search_and_delete_input(app, qtbot):
84
84
window .search_bar .setText ("" )
85
85
86
86
qtbot .wait (1000 )
87
- assert window .windowTitle () == "Drill"
87
+ assert window .search is None
88
88
89
89
qtbot .wait (3000 )
90
90
@@ -104,7 +104,7 @@ def test_open_search_and_change_input(app, qtbot):
104
104
window .search_bar .setText ("document" )
105
105
106
106
qtbot .wait (1000 )
107
- assert window .windowTitle () != "Drill"
107
+ assert window .search is not None
108
108
109
109
qtbot .wait (3000 )
110
110
You can’t perform that action at this time.
0 commit comments