# HG changeset patch # User Edouard Tisserant # Date 1668105390 -3600 # Node ID ca25c686cd979534af48f3aed5f634e4aa6de16e # Parent 142c268124ab7e4bec5a1af6ef9a9f294685c4a7 Tests: UI tests can now load projects from tests/projects diff -r 142c268124ab -r ca25c686cd97 tests/ide_tests/sikuliberemiz.py --- a/tests/ide_tests/sikuliberemiz.py Thu Nov 10 19:34:44 2022 +0100 +++ b/tests/ide_tests/sikuliberemiz.py Thu Nov 10 19:36:30 2022 +0100 @@ -189,7 +189,7 @@ return res class BeremizApp(IDEIdleObserver, stdoutIdleObserver): - def __init__(self, projectpath=None, exemple=None): + def __init__(self, projectpath=None, exemple=None, testproject=None): """ Starts Beremiz IDE, waits for main window to appear, maximize it. @@ -224,6 +224,9 @@ command.append(opj(beremiz_path,"exemples",exemple)) elif projectpath is not None: command.append(projectpath) + elif testproject is not None: + command.append(opj(beremiz_path,"tests","projects",testproject)) + # App class is broken in Sikuli 2.0.5: can't start process with arguments. #