Another attempt at forcing the test word counter

This commit is contained in:
Veronica K. B. Olsen
2020-06-17 20:23:20 +02:00
parent f2c1ce1cca
commit deec57c9c6
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -215,8 +215,9 @@ def testMainWindows(qtbot, nwTempGUI, nwRef, nwTemp):
qtbot.keyClick(nwGUI.docEditor, Qt.Key_Return, delay=keyDelay)
qtbot.wait(stepDelay)
nwGUI.docEditor.wCounter.start()
qtbot.wait(1000)
nwGUI.docEditor.wCounter.run()
nwGUI.docEditor._updateCounts()
qtbot.wait(stepDelay)
# Save the document
assert nwGUI.docEditor.docChanged