Skip to content

Unexpected chars shown on Firefox warning message about chromeWebSecurity #20496

Closed
@ATarkovski

Description

@ATarkovski

Current behavior

Text on Firefox warning about chromeWebSecurity option includes unexpected characters (ansii code colors?):

"Your project has set the configuration option: �[33mchromeWebSecurity�[39m to �[94mfalse�[39m (...)"

Screenshot 2022-03-05 at 15 45 58

Desired behavior

Unexpected characters are not shown in the message:

"Your project has set the configuration option: chromeWebSecurity�to false (...)"

Test code to reproduce

Precondition: have Firefox installed in your computer

Set "chromeWebSecurity": false in cypress.json
Run npx cypress open
In the Test Runner, click the browser dropdown
Hover the mouse over the warning sign close to the Firefox option

Cypress Version

9.5.1

Other

No response

Metadata

Metadata

Labels

type: regressionA bug that didn't appear until a specific Cy version releasev9.5.0 🐛Issue present since 9.5.0

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions