From 10e97a567b9729c62a75c38c95daa1fae054ee53 Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Tue, 13 Oct 2020 21:59:02 +0200 Subject: [PATCH] Make sure the scrolling effect is covered by test --- tests/test_gui.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/test_gui.py b/tests/test_gui.py index 0b32327e..4afaaa2b 100644 --- a/tests/test_gui.py +++ b/tests/test_gui.py @@ -168,6 +168,13 @@ def testDocEditor(qtbot, yesToAll, nwFuncTemp, nwTempGUI, nwRef, nwTemp): nwGUI.mainMenu.aSpellCheck.setChecked(True) assert nwGUI.mainMenu._toggleSpellCheck() + # Change some settings + nwGUI.mainConf.hideHScroll = True + nwGUI.mainConf.hideVScroll = True + nwGUI.mainConf.scrollPastEnd = True + nwGUI.mainConf.scollToPoint = 80 + nwGUI.mainConf.scollWithCursor = True + # Add a Character File nwGUI.setFocus(1) nwGUI.treeView.clearSelection()