Skip to content

Conversation

@dpastor
Copy link
Contributor

@dpastor dpastor commented Sep 18, 2025

🎟️ Jira ticket

ANDROID-16839

🥅 What's the goal?

We should capture recorded log before crashing the test, if test fails, recorded log wont be generated.

🚧 How do we do it?

  • Capture recorded log correctly

📘 Documentation changes?

  • No docs to update nor create

🧪 How can I test this?

  • 🖼️ Check reports on failures
Captura de pantalla 2025-09-18 a las 9 36 35

@dpastor dpastor requested review from a team, Copilot, hjorrod and jeprubio and removed request for a team September 18, 2025 07:38
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes the loggerazzi test framework to capture recorded logs before test failures occur. Previously, if a test failed, the recorded logs would not be generated, making debugging difficult.

  • Moves log writing logic to execute before potential test failures
  • Extracts log writing functionality into a dedicated private method
  • Ensures recorded logs are always captured regardless of test outcome

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link

@yamal-alm yamal-alm left a comment

Choose a reason for hiding this comment

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

thanks!

@dpastor dpastor merged commit 6dc65a6 into main Sep 18, 2025
1 check passed
@dpastor dpastor deleted the fix_reports branch September 18, 2025 07: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.

4 participants