Cypress interprets underscores in URL as formatting instructions on frontend #28100
Labels
good first issue
Good for newcomers
pkg/reporter
This is due to an issue in the packages/reporter directory
type: bug
Current behavior
When I visit a page in a Cypress test that includes underscores, such as "http://localhost:3000/__testing__/", the Cypress frontend interprets the underscores as formatting instructions (i.e. as markdown). This causes the frontend to report the URL as "http://localhost/testing/", with "testing" displayed in bold.
This is problematic because it provides a distraction when debugging e.g. it suggests that Cypress is following a different route than what is provided in the test.
Desired behavior
The Cypress frontend should interpret the URL literally and not interpret any formatting instructions from the original string.
Test code to reproduce
A simple test should demonstrate the error when viewed in the Cypress frontend.
Cypress Version
13.3.1
Node version
20.5.1
Operating System
macOS 13.3.1
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: