Updated tests

This commit is contained in:
Veronica K. B. Olsen
2020-10-04 19:12:09 +02:00
parent 4f0d368f4f
commit ee0b6ad2f5
15 changed files with 438 additions and 123 deletions
+2 -2
View File
@@ -549,9 +549,9 @@ def testDocViewer(qtbot, yesToAll, nwLipsum, nwTemp):
# Document footer show/hide comments
assert nwGUI.viewDocument("846352075de7d")
assert len(nwGUI.docViewer.toPlainText()) == 672
assert len(nwGUI.docViewer.toPlainText()) == 675
nwGUI.docViewer.docFooter._doToggleComments(False)
assert len(nwGUI.docViewer.toPlainText()) == 632
assert len(nwGUI.docViewer.toPlainText()) == 635
# qtbot.stopForInteraction()
nwGUI.closeMain()