Description
Current behavior
In this PR, Cypress was modified to allow running on a read-only filesystem: #7126
The behavior was changed to warn with the 'FOLDER_NOT_WRITABLE' message, instead of erroring out, if the root was unwriteable for videos/screenshots.
In this PR, the warning emit was removed: #18221
The error still exists in the code, but is not being properly emitted.
This regression went unnoticed for a long time because this system test was failing but was not visible due to a bug with snapshots not failing system tests, but now it exposes the failure: https://app.circleci.com/pipelines/github/cypress-io/cypress/24915/workflows/1af6c0d9-6858-4d67-89b2-31e25e49ad9e/jobs/930321
Desired behavior
Cypress should warn when running on a read-only filesystem.
Test code to reproduce
Unskip the test skipped in #16354 and run:
yarn workspace @internal/system-tests test non_root_read_only_fs_spec
Cypress Version
latest develop
Other
No response