From b19c56976136e018e462eec7f667554941703205 Mon Sep 17 00:00:00 2001 From: Gavin D'souza Date: Mon, 25 Sep 2023 11:11:13 +0530 Subject: [PATCH] fix(run-ui-tests): Set default browser as chrome Co-authored-by: Suraj Shetty --- frappe/commands/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frappe/commands/utils.py b/frappe/commands/utils.py index da369f812f..7ddc3a882d 100644 --- a/frappe/commands/utils.py +++ b/frappe/commands/utils.py @@ -850,7 +850,7 @@ def run_parallel_tests( @click.option("--headless", is_flag=True, help="Run UI Test in headless mode") @click.option("--parallel", is_flag=True, help="Run UI Test in parallel mode") @click.option("--with-coverage", is_flag=True, help="Generate coverage report") -@click.option("--browser", default="electron", help="Browser to run tests in") +@click.option("--browser", default="chrome", help="Browser to run tests in") @click.option("--ci-build-id") @pass_context def run_ui_tests( @@ -859,7 +859,7 @@ def run_ui_tests( headless=False, parallel=True, with_coverage=False, - browser="electron", + browser="chrome", ci_build_id=None, cypressargs=None, ):