diff --git a/tests/reference/novelwriter.conf b/tests/reference/novelwriter.conf index 645ec486..5b27daa9 100644 --- a/tests/reference/novelwriter.conf +++ b/tests/reference/novelwriter.conf @@ -1,10 +1,10 @@ [Main] -timestamp = 2019-05-18 15:02:22 +timestamp = 2019-05-18 15:06:44 [Sizes] geometry = 1100, 650 -treecols = 120, 30, 129 -mainpane = 299, 797 +treecols = 120, 30, 50 +mainpane = 300, 800 [Project] autosaveproject = 60 @@ -25,7 +25,7 @@ repdots = True spellcheck = en_GB [Path] -recent0 = /home/vkbo/Code/novelWriter/tests/temp/gui +recent0 = recent1 = recent2 = recent3 = diff --git a/tests/test_gui.py b/tests/test_gui.py index a1154398..c9655a0a 100644 --- a/tests/test_gui.py +++ b/tests/test_gui.py @@ -17,7 +17,7 @@ stepDelay = 50 @pytest.mark.gui def testMainWindows(qtbot, nwTempGUI, nwRef): - nwGUI = nw.main(["--testmode","--config=%s" % nwRef]) + nwGUI = nw.main(["--testmode","--config=%s" % nwTempGUI]) qtbot.addWidget(nwGUI) nwGUI.show() qtbot.waitForWindowShown(nwGUI) @@ -113,7 +113,7 @@ def testMainWindows(qtbot, nwTempGUI, nwRef): @pytest.mark.gui def testProjectEditor(qtbot, nwTempGUI, nwRef): - nwGUI = nw.main(["--testmode","--config=%s" % nwRef]) + nwGUI = nw.main(["--testmode","--config=%s" % nwTempGUI]) qtbot.addWidget(nwGUI) nwGUI.show() qtbot.waitForWindowShown(nwGUI) @@ -163,7 +163,7 @@ def testProjectEditor(qtbot, nwTempGUI, nwRef): @pytest.mark.gui def testItemEditor(qtbot, nwTempGUI, nwRef): - nwGUI = nw.main(["--testmode","--config=%s" % nwRef]) + nwGUI = nw.main(["--testmode","--config=%s" % nwTempGUI]) qtbot.addWidget(nwGUI) nwGUI.show() qtbot.waitForWindowShown(nwGUI)