Files
cypress/cli/lib
Dave York 222da94e2d misc: suppress more GPU related warnings (#30861)
Closes Mesa/GLX related warnings shown when running Cypress #29521

The primary Cypress process can emit benign warnings related to Mesa/GLX when running in certain Linux environments or containers. These warnings are related to graphics drivers and X11 display settings, but are not necessary for Cypress to execute correctly. This PR suppresses these warnings from stdout, similar to other benign Electron warnings:

- `error: XDG_RUNTIME_DIR is invalid or not set in the environment.`
- `MESA: error: ZINK: failed to choose pdev`
- `glx: failed to create drisw screen`

1. Execute Cypress tests in run mode on a Linux machine or container with minimal graphics drivers installed
2. Execute Cypress tests in run mode in a Docker container using a basic Linux image (e.g. ubuntu:latest)
3. Verify the suppressed warnings no longer appear in the terminal output

Users will no longer see benign graphics-related warnings in their terminal output when running Cypress in Linux environments with minimal graphics support. This reduces noise in the terminal output while not affecting any actual test functionality.

- [x] Have tests been added/updated?
- [NA] Has a PR for user-facing changes been opened in cypress-documentation?
- [NA] Have API changes been updated in the type definitions?

fix linting
change word for CI

Update cli/CHANGELOG.md

Going with the suggesting.

Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>

fix linting

update readme with another fixed issue

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-01-23 17:04:33 -05:00
..
2021-11-01 13:37:33 -04:00