-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
Subject
Guides
Description
The debug log source cypress:server:specs
, referred to in multiple examples, does not produce any debug logs.
Core Concepts > Writing and Organizing Tests > Troubleshooting advises:
If Cypress does not find the spec files for some reason, you can troubleshoot its logic by opening or running Cypress with
debug logs enabled:
DEBUG=cypress:server:specs npx cypress open
## or
DEBUG=cypress:server:specs npx cypress run
Neither of these commands produces debug logs using the current version of Cypress 13.14.2
.
Locations
Locations referring to non-working cypress:server:specs
are:
- References > Troubleshooting > Print DEBUG logs > Log sources
- Core Concepts > Writing and Organizing Tests > Troubleshooting
- References > Configuration > Common problems > Test files not found when using
spec
parameter
Location referring to partially working cypress:server:specs
is:
- References > Configuration (Legacy) > Common problems > Test files not found when using
spec
parameter. This works correctly on Cypress9.x
on Windows (probably also on macOS), but not on Linux. There was a general issue with selective logging on Linux which was not fixed until [email protected].