Another attempt at forcing the test word counter
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ install:
|
||||
- pip install --upgrade pip
|
||||
- pip install -r requirements.txt
|
||||
# - pip install pytest-faulthandler
|
||||
- pip install PyVirtualDisplay==0.2.5
|
||||
- pip install PyVirtualDisplay
|
||||
- pip install pytest-xvfb
|
||||
- pip install pytest-cov
|
||||
- pip install pytest-qt
|
||||
|
||||
+3
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user