Skip to content

HTML encoded entities are not handled correctly #83

@karl-sjogren

Description

@karl-sjogren

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions