Second attempt at fixing test where the word counter suddenly isn't working

This commit is contained in:
Veronica K. B. Olsen
2020-06-17 20:05:30 +02:00
parent 22341c5e21
commit f2c1ce1cca
+3 -2
View File
@@ -215,10 +215,11 @@ def testMainWindows(qtbot, nwTempGUI, nwRef, nwTemp):
qtbot.keyClick(nwGUI.docEditor, Qt.Key_Return, delay=keyDelay)
qtbot.wait(stepDelay)
nwGUI.docEditor.wCounter.run()
qtbot.wait(stepDelay)
nwGUI.docEditor.wCounter.start()
qtbot.wait(1000)
# Save the document
assert nwGUI.docEditor.docChanged
assert nwGUI.saveDocument()
assert not nwGUI.docEditor.docChanged
qtbot.wait(stepDelay)