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

fix: don't log depth twice in hierarchy call #2243

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

amanjeetsingh150
Copy link
Collaborator

@amanjeetsingh150 amanjeetsingh150 commented Jan 13, 2025

Proposed changes

  • depth() call does a recursive call with the element and its children. This started happening twice recently which has affected each view hierarchy call. This reverts the change for calling depth function
  • Also removed the unnecessary description from the log. We just need to know if its success or failure.

Testing

  • Locally

Issues fixed

Copy link

Make sure to run ./maestro-ios-xctest-runner/build-maestro-ios-runner.sh with every swift change

@amanjeetsingh150 amanjeetsingh150 changed the title fix: don't print depth recalculating it fix: don't log depth twice in hierarchy call Jan 13, 2025
@amanjeetsingh150 amanjeetsingh150 merged commit 183c126 into main Jan 13, 2025
9 checks passed
@amanjeetsingh150 amanjeetsingh150 deleted the fix-logger-viewHiearchy branch January 13, 2025 06:55
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