diff --git a/pytest_abra/cli.py b/pytest_abra/cli.py index e2556be..ab4d791 100644 --- a/pytest_abra/cli.py +++ b/pytest_abra/cli.py @@ -20,7 +20,7 @@ def run(): 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="Dir of abra recipes and respective runners", required=True) parser.add_argument("--output_dir", type=Path, help="Dir of test outputs", required=True) - parser.add_argument("--timeout", type=int, help="Set Playwright timeout in ms", default=20_000) + parser.add_argument("--timeout", type=int, help="Set Playwright timeout in ms", default=30_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") parser.add_argument("--session_id", help="Session dir name (inside output_dir). Overwrites --resume") diff --git a/pytest_abra/custom_fixtures.py b/pytest_abra/custom_fixtures.py index 0f0a5f0..4c07127 100644 --- a/pytest_abra/custom_fixtures.py +++ b/pytest_abra/custom_fixtures.py @@ -22,7 +22,7 @@ def pytest_addoption(parser: Parser): parser.addoption("--runner_index", action="store", type=int) parser.addoption("--output_dir", action="store", type=Path) parser.addoption("--session_id", action="store", type=str) - parser.addoption("--timeout", action="store", type=int, default=20_000) + parser.addoption("--timeout", action="store", type=int, default=30_000) @pytest.fixture(autouse=True)