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 MySQL container issue in Playwright E2E tests #2544

Closed
wants to merge 2 commits into from

Commits on Jun 14, 2024

  1. Configuration menu
    Copy the full SHA
    2602ccb View commit details
    Browse the repository at this point in the history
  2. Fix MySQL container name to avoid 'No such container' error

    Add logging for MySQL container status and improve container health checks.
    
    - Introduces logging commands in GitHub Actions workflows (`playwright_admin.yml`, `playwright_selfhost.yml`, `playwright_visitor.yml`) to log the MySQL container status, enhancing debugging capabilities.
    - Implements a health check for the MySQL container in `compose.yml`, ensuring the container is ready before proceeding with tests.
    - Adjusts logging settings for the MySQL container to limit log file size and number, preventing excessive disk usage.
    - Adds a custom event listener in `playwright.config.ts` to log when the MySQL container is ready, improving feedback during test execution.
    
    
    ---
    
    For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/laststance/nsx/pull/2544?shareId=e2765ad6-024f-4a23-91a9-5d981918c2df).
    ryota-murakami committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    954b57f View commit details
    Browse the repository at this point in the history