From 98f496db722e55b1d365d29301728ebe93d96ec1 Mon Sep 17 00:00:00 2001 From: Daniel Date: Thu, 14 Dec 2023 22:54:55 +0100 Subject: [PATCH] add cleanup cli arg --- pytest_abra/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pytest_abra/cli.py b/pytest_abra/cli.py index 680ecd1..577263d 100644 --- a/pytest_abra/cli.py +++ b/pytest_abra/cli.py @@ -23,6 +23,7 @@ def run(): 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") parser.add_argument("--session_id", help="Session dir name (inside output_dir). Overwrites --resume") + parser.add_argument("--cleanup", help="Force test cleanup. Should not be necessary") args = parser.parse_args() env_paths = [Path(s) for s in args.env_paths.split(";")]