diff --git a/pytest_abra/cli.py b/pytest_abra/cli.py index 2b1dfa7..0d82951 100644 --- a/pytest_abra/cli.py +++ b/pytest_abra/cli.py @@ -11,14 +11,13 @@ from pytest_abra.utils import get_datetime_string def run(): parser = argparse.ArgumentParser() - parser.add_argument("--env_paths", type=str, help="List of loaded env files separated with ;") - parser.add_argument("--recipes_dir", type=Path, help="List of loaded env files separated with ;") - parser.add_argument("--output_dir", type=Path, help="List of loaded env files separated with ;") + parser.add_argument("--env_paths", type=str, help="List of loaded env files separated with ;", required=True) + parser.add_argument("--recipes_dir", type=Path, help="List of loaded env files separated with ;", required=True) + parser.add_argument("--output_dir", type=Path, help="List of loaded env files separated with ;", required=True) parser.add_argument("--timeout", type=int, help="Set Playwright timeout in ms", default=20_000) parser.add_argument("--debug", action="store_true", help="Enable Playwright debug mode") parser.add_argument("--resume", action="store_true", help="Re-run the most recent test, skipping passed tests") args = parser.parse_args() - ENV_FILES = [Path(s) for s in args.env_paths.split(";")] # -------------------------- enable playwright debug ------------------------- #