You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tests with a too long description leads to an error message because cypress has problems saving screenshots (because filename of screenshot is based on the description).
1) describe 1 it has a looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong description:
Error: ENOENT: no such file or directory, open 'C:\dev\cypress\reports\screenshots\playground\playground.ts\describe 1 -- it has a looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong description (failed).png'
Desired behavior:
The filename of the screenshot should be shortened when the description is too long.
An option in the configs to turn off screenshots would also help.
Steps to reproduce:
describe('describe', () => {
it('it has a looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong description!', () => {
expect(false).to.be.true;
});
});
Versions
Cypress 3.1.0
Windows 10
Jenkins
The text was updated successfully, but these errors were encountered:
Current behavior:
Tests with a too long description leads to an error message because cypress has problems saving screenshots (because filename of screenshot is based on the description).
Desired behavior:
The filename of the screenshot should be shortened when the description is too long.
An option in the configs to turn off screenshots would also help.
Steps to reproduce:
Versions
Cypress 3.1.0
Windows 10
Jenkins
The text was updated successfully, but these errors were encountered: