|
|
@@ -478,7 +478,7 @@ def run_ui_tests(context, app, headless=False): |
|
|
|
run_or_open = 'run' if headless else 'open' |
|
|
|
command = '{site_env} {password_env} yarn run cypress {run_or_open}' |
|
|
|
formatted_command = command.format(site_env=site_env, password_env=password_env, run_or_open=run_or_open) |
|
|
|
frappe.commands.popen(formatted_command, cwd=app_base_path) |
|
|
|
frappe.commands.popen(formatted_command, cwd=app_base_path, raise_err=True) |
|
|
|
|
|
|
|
@click.command('run-setup-wizard-ui-test') |
|
|
|
@click.option('--app', help="App to run tests on, leave blank for all apps") |
|
|
|