From f9b1a728091bea3e082bb3198b29c6db81bb7ade Mon Sep 17 00:00:00 2001 From: Brian Colby <92048365+ddl-bcolby@users.noreply.github.com> Date: Tue, 12 Mar 2024 10:42:18 -0700 Subject: [PATCH] Qe 15199 default highlight off (#445) Defaults the `CUCU_SKIP_HIGHLIGHT_BORDER` option to False. --- features/cli/report_basics.feature | 2 +- pyproject.toml | 2 +- src/cucu/config.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/features/cli/report_basics.feature b/features/cli/report_basics.feature index 80ffc00e..1f822823 100644 --- a/features/cli/report_basics.feature +++ b/features/cli/report_basics.feature @@ -304,7 +304,7 @@ Feature: Report basics When I open a browser at the url "http://{HOST_ADDRESS}:{PORT}/text.html" Then I should see the text "just some text in a label" """ - And I run the command "cucu run {CUCU_RESULTS_DIR}/highlights --results {CUCU_RESULTS_DIR}/empty_features_results --env CUCU_SKIP_HIGHLIGHT_BORDER='True' --generate-report --report {CUCU_RESULTS_DIR}/highlights_report" and save stdout to "STDOUT", stderr to "STDERR" and expect exit code "0" + And I run the command "cucu run {CUCU_RESULTS_DIR}/highlights --results {CUCU_RESULTS_DIR}/empty_features_results --env CUCU_SKIP_HIGHLIGHT_BORDER='False' --generate-report --report {CUCU_RESULTS_DIR}/highlights_report" and save stdout to "STDOUT", stderr to "STDERR" and expect exit code "0" @report-only-failures Scenario: User can generate a report with only failures diff --git a/pyproject.toml b/pyproject.toml index a4206c4d..76eb3fa5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "cucu" -version = "0.192.0" +version = "0.193.0" license = "MIT" description = "Easy BDD web testing" authors = ["Domino Data Lab "] diff --git a/src/cucu/config.py b/src/cucu/config.py index d355a959..73c4a148 100644 --- a/src/cucu/config.py +++ b/src/cucu/config.py @@ -413,7 +413,7 @@ def _get_local_address(): CONFIG.define( "CUCU_SKIP_HIGHLIGHT_BORDER", "when set to 'True' skips adding a border to highlight found element in screenshots", - default=False, + default=True, )