Fix test
This commit is contained in:
@@ -153,8 +153,9 @@ def testToolWelcome_Open(qtbot: QtBot, monkeypatch, nwGUI, fncPath):
|
|||||||
assert listModel.removeEntry(listModel.createIndex(1, 0)) is False
|
assert listModel.removeEntry(listModel.createIndex(1, 0)) is False
|
||||||
|
|
||||||
# Delete last entry with keypress
|
# Delete last entry with keypress
|
||||||
qtbot.mouseClick(vPort, Qt.MouseButton.LeftButton, pos=posOne, delay=10)
|
welcome.show()
|
||||||
qtbot.keyClick(tabOpen, Qt.Key.Key_Delete, delay=10)
|
tabOpen._selectFirstItem()
|
||||||
|
qtbot.keyClick(tabOpen, Qt.Key.Key_Delete)
|
||||||
assert len(CONFIG.recentProjects.listEntries()) == 0
|
assert len(CONFIG.recentProjects.listEntries()) == 0
|
||||||
|
|
||||||
# qtbot.stop()
|
# qtbot.stop()
|
||||||
|
|||||||
Reference in New Issue
Block a user