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

Use winston logger for the e2e tests logging #273

Open
4 of 12 tasks
VGau opened this issue Oct 31, 2024 · 0 comments
Open
4 of 12 tasks

Use winston logger for the e2e tests logging #273

VGau opened this issue Oct 31, 2024 · 0 comments
Assignees
Labels
TechDebt Technical Debt

Comments

@VGau
Copy link
Collaborator

VGau commented Oct 31, 2024

Description

Currently, our end-to-end (E2E) tests use simple console logs for output, which lacks flexibility and advanced features. We propose integrating the Winston logger into the E2E tests to enhance logging capabilities with features like log levels, formatting.

Motivation

Implementing Winston logger will improve debugging and monitoring of E2E tests by providing structured and configurable logs.

Tasks

  • Integrate Winston logger into the E2E testing framework (Jest)
  • Replace all console logs with Winston logger methods
  • Configure appropriate log levels (e.g., info, error) and formatting
  • Test logging output to ensure correctness

Acceptance criteria

  • All console logs are replaced with Winston logger calls
  • Logs are properly formatted and include necessary details
  • Logging does not negatively impact test performance
  • E2E tests run successfully with the new logging system

Risks

  • Potential impact on test execution time due to logging overhead

Remember to

  • Add the documentation label in case there is an impact on the documentation
  • Add priority and team labels
  • Add Task for updating the Runbook or adding/updating existing metrics and alerts.
@VGau VGau added the TechDebt Technical Debt label Oct 31, 2024
@VGau VGau self-assigned this Oct 31, 2024
@julien-marchand julien-marchand assigned count-sum and unassigned VGau Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TechDebt Technical Debt
Projects
None yet
Development

No branches or pull requests

2 participants