Skip to content

Commit

Permalink
Qe 15199 default highlight off (#445)
Browse files Browse the repository at this point in the history
Defaults the `CUCU_SKIP_HIGHLIGHT_BORDER` option to False.
  • Loading branch information
ddl-bcolby authored Mar 12, 2024
1 parent 05d9720 commit f9b1a72
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion features/cli/report_basics.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <open-source@dominodatalab.com>"]
Expand Down
2 changes: 1 addition & 1 deletion src/cucu/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)


Expand Down

0 comments on commit f9b1a72

Please sign in to comment.