Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable printing logs in nested waitUntilVisible and waitUntilExits calls #2434

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

pdenert
Copy link
Collaborator

@pdenert pdenert commented Nov 26, 2024

No description provided.

Copy link

docs-page bot commented Nov 26, 2024

To view this pull requests documentation preview, visit the following URL:

docs.page/leancodepl/patrol~2434

Documentation is deployed and generated using docs.page.

Future<PatrolFinder> waitUntilVisible({
Duration? timeout,
bool enablePatrolLog = true,
}) =>
wrapWithPatrolLog(
action: 'waitUntilVisible',
color: AnsiCodes.cyan,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not related to this PR: I would totally remove color information from this method. It should be like type: step or something that under the hood does color: AnsiCodes.cyan. I would not see this as the concern of this method.

Copy link
Contributor

@mateuszwojtczak mateuszwojtczak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pdenert pdenert merged commit 3ce9af8 into master Nov 27, 2024
10 of 13 checks passed
@pdenert pdenert deleted the fix/disable-printing-logs-in-some-nested-calls branch November 27, 2024 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants