Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML encoded entities are not handled correctly #83

Open
karl-sjogren opened this issue Aug 27, 2024 · 1 comment
Open

HTML encoded entities are not handled correctly #83

karl-sjogren opened this issue Aug 27, 2024 · 1 comment

Comments

@karl-sjogren
Copy link

Not sure if this is a problem with the action or if it is a problem in codecov itself (or even in the JUnit loggers) but when I upload my tests some characters doesn't display correct.

I have tests from both .NET and Vite which have encoded entities in the name in the XML file, and they show up encoded when I look at them in the Codecov UI as well.

Quedro.Tests.QuedroOfficeProviderTests GetById_WhenCalledWithDifferentIdTypes_ShouldCallExpectedHttpClientMethodAsync(id: "a151c-c5347-6201f-0b288-dae5a-3bf8d-a3a64-dd939", expectedId: "1")
scripts/pages/broker-search-page.spec.mjs broker-search-page > should retrieve a result with only offices when an empty search query is entered and all regions filter is checked

Image

This is how my JUnit file looks:

<?xml version="1.0" encoding="utf-8"?>
<testsuites>
  <testsuite name="Quedro.Tests.QuedroOfficeProviderTests" hostname="runner" package="not available" id="29" tests="4" failures="0" errors="0" skipped="0" time="0.067" timestamp="2024-08-27T08:26:45">
    <properties />
    <testcase name="GetById_WhenCalledWithDifferentIdTypes_ShouldCallExpectedHttpClientMethodAsync(id: &quot;11949&quot;, expectedId: &quot;3&quot;)" classname="Quedro.Tests.QuedroOfficeProviderTests" time="0.022" status="1" />
    <testcase name="GetById_WhenCalledWithDifferentIdTypes_ShouldCallExpectedHttpClientMethodAsync(id: &quot;a151c-c5347-6201f-0b288-dae5a-3bf8d-a3a64-dd939&quot;, expectedId: &quot;1&quot;)" classname="Quedro.Tests.QuedroOfficeProviderTests" time="0.022" status="1" />
    <testcase name="GetById_WhenCalledWithDifferentIdTypes_ShouldCallExpectedHttpClientMethodAsync(id: &quot;MDMwNnwwMDAwMDAwMDAwMnw0NA..&quot;, expectedId: &quot;2&quot;)" classname="Quedro.Tests.QuedroOfficeProviderTests" time="0.017" status="1" />
    <testcase name="GetById_WhenCalledWithAnUnsupportedTypeOfIdentifier_ShouldReturnNullAsync" classname="Quedro.Tests.QuedroOfficeProviderTests" time="0.006" status="1" />
    <system-out />
    <system-err />
  </testsuite>
</testsuites>
@kevinphamsigma
Copy link

Same here, newline character &#xA; doesn't encode to newline correclty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants