diff --git a/main.py b/main.py index c8f2bf8..1ea922a 100644 --- a/main.py +++ b/main.py @@ -5,6 +5,12 @@ from pathlib import Path from src.utils import get_session_id from src.wrapper import Wrapper +# The env file list is the input to testing framework. each env file triggers +# the execution of one test Runner and provides configuration to the tests +# inside the runner. There can be dependencies, for example wordpress requires +# that authentik ran first to create the admin session and the user session. +# At the moment, wrong ordering results in unsuccessful test (wrong ordering +# would be wordpress env file is before authentik env file). ENV_FILES = [ Path("envfiles/login.test.dev.local-it.cloud.env"), # authentik # Path("envfiles/blog.test.dev.local-it.cloud.env"), # wordpress